Designing Simulations Flashcards

(10 cards)

1
Q

Define simulation

A

The imitation of chance behavior based on a model that reflects the experiment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the first step in designing a simulation?

A

State the problem/ experimental design

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the second step in designing a simulation?

A

State assumptions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the third step in designing a simulation?

A

Assign digits to represent the possible outcomes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the fourth step in designing a simulation?

A

Simulate many repetitions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the 5th and final step in designing a simulation?

A

State your conclusions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Simulation Practice problem: On average, suppose a baseball player hits a home run once in every 10 times at bat, and suppose he gets exactly two “at bats” in every game. Using simulation, estimate the likelihood that the player will hit 2 home runs in a single game.

A

Solution:
Describe the possible outcomes. For this problem, there are two outcomes - the player hits a home run or he doesn’t.

Link each outcome to one or more random numbers.

Since the player hits a home run in 10% of his at bats, 10% of the random numbers should represent a home run. For this problem, let’s say that the digit “2” represents a home run and any other digit represents a different outcome.

Choose a source of random numbers. For this problem, we used Stat Trek’s Random Number Generator to produce a list of 500 two-digit numbers (see below).

Choose a random number. The list below shows the random numbers that we generated.

Based on the random number, note the “simulated” outcome. In this example, each 2-digit number represents two “at-bats” in a single game. Since the digit “2” represents a home run, the number “22” represents two home runs in a single game. Any other 2-digit number represents a failure to hit consecutive home runs in the game.

Repeat steps 4 and 5 multiple times; preferably, until the outcomes show a stable pattern. In this example, the list of random numbers consists of 500 2-digit pairs; i.e., 500 repetitions of steps 4 and 5.

Analyze the simulated outcomes and report results. In the list, we found 6 occurrences of “22”, which are highlighted in red in the table. In this simulation, each occurrence of “22” represents a game in which the player hit consecutive home runs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the three types of observational studies?

A

Cross-Sectional
Case-Control
Cohort

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Cohort Studies

A

Analytical study in which a group having one or more similar characteristics (such as habit of smoking or a particular disease) is closely monitored over time simultaneously with another group (whose member do not smoke or are free from the disease). Although more tedious, this method is used where case study approach is not feasible, creates too many statistical problems, or generally produces unreliable results. Also called follow up study.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Case-Control Study

A

an epidemiological research method in which people who have developed a disease such as cancer are studied alongside people who have not, and the differences and possible causes analysed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly