Professional Documents
Culture Documents
If you selected 100 random numbers what would histogram look like ?
In statistics
In list 1 in Cal enter randList (100) exe and draw histogram
On Spread Sheet
In A1 enter =rand( Fill – Fill range (A1:A100) draw histogram recalculate
On Spread Sheet
In A1 enter rand( Fill – Fill range (A1:J30)
In K1 enter calc List-calculation Sum (A1:J1)
Highlight K1 Fillrange (K1:K30)
Highlight K and draw histogram
Edit Recalculate
To find random number, x 0 ≤ x≤ 8 rand() 8
Simulations
Draw a histogram obtained
if a single die is rolled 120 times
How many 6’s would you expect if you rolled a single die 120 times.
On a spread sheet
The 120 rolls of the die are already in Column A
In B1 enter Calc Cell-Calculation Cellif Enter A1=6,1,0 Fillrange B1:B120
In C1 enter Calc List-Calculations Sum Enter B1:B120
Graph histogram
Sampling Distributions
Example 1 Select a smartie from a box containing 10 smarties, 3 of which are blue. Replace the smartie
and repeat the experiment 10 times. Record the number of blue smarties for the 10
experiments.
This is a Bernoulli trial. Record the theoretical probabilities on the table.
X 0 1 2 3 4 5 6 7 8 9 10
0 1 2 3 4 5 6 7 8 9 10
^p
10 10 10 10 10 10 10 10 10 10 10
P( ^
P= ^p ¿
Spreadsheet
In cell A1 enter a pseudo random number to simulate the selection of a blue/non blue
Int(rand()+0.3) 0 not blue , 1 blue
For each the ten selections calculate ^p (sample proportion) (in column L)
For the 30 samples of ^p calculate the mean and the standard deviation
Our result of ^p 0.12 could be the worst case scenario or the best case scenario
i.e
0.12× 0.88
To find the 90% confidence interval
( ^p ) 1.64 sd ( ^p )
note: ^p = 0.12 SD =
√ 352
= 0.017
Alternative methods
1. Statistics Calc Inv Dist Inv Normal CD center prob = 0.9, sd= 0.017, ^p=
0.12