Simulations Lesson Part 2

Simulations, Part 2
Weather
Rain
No Rain
Probability
0.2
0.8
Rain
Late
Not Late
Probability
0.8
0.2
No Rain
Late
Not Late
Probability
0.1
0.9
Rain
0-1
Students in
the AM
No Rain
2-9
Late
0-7
Not Late
8-9
Late
0
Not Late
1-9
There are 4
outcomes:
*Rain & Late
*Rain & Not Late
*No Rain & Late
*No Rain & Not Late
* Calculating these
probabilities will give
you:
* Rain & Late =
0.2 * 0.8 = 0.16
* Rain & Not Late =
0.2 * 0.2 = 0.04
* No Rain & Late =
0.8 * 0.1 = 0.08
* No Rain & Not Late =
0.8 * 0.9 = 0.72
Rain
0-1
Students in
the AM
No Rain
2-9
Late
0-7
0.16
00-15
Not Late
8-9
0.04
16-19
Late
0
0.08
20-27
Not Late
1-9
0.72
28-99
How did I come up with the probability
and digits to assign at the last box level?
*I
took the probability of the events
and multiplied them together. This
gave me the combined probability.
*Then
I took the combined probability
and changed this to the digits 00-99
since this probability is represented by
decimals in hundredths.
*Every
event’s digits was
cumulative, ranging from
00 up to 99.
* On the Calculator
* With the Table of Random
* Randint(0,9,50)→ 𝐿1
* Sort(L1)
* This will give you 50
* Find a row…divide the row
sorted numbers in L1.
It will make it easy to
identify the number of
each digit you have.
Digits
up into 1 or 2 digit strings
(0-9 or 00-99, depending
on your problem).
* Count how many fit into
each category (how many
0-4’s, 5-9’s for example).
* Continue this until you
have the amount of data
you need (i.e., 50 pieces
of data).