Simulating experiments

Download Report

Transcript Simulating experiments

Section 5.1

Three ways to answer this question:
1. Actually carry out an experiment
2. Develop a probability model
3. Start with a model, and then use a procedure to
simulate repetitions
▪
We’ll use technology

The imitation of chance behavior based on a
model that accurately reflects the experiment
under consideration
State: Ask a question of interest about some chance
process.
2. Plan: Describe how to use a chance device to imitate
one repetition of the process. Tell what you will
record at the end of each repetition.
3. Do: Perform many repetitions of the simulation.
4. Conclude: Use the results of your simulation to
answer the question of interest.
1.
First: Seed the calculator. TI-83/84 Instructions:
•
•
Type in a number (I suggest •
birthday)
•
•
Press STO> (above ON)
Press MATH
Go  to PRB
Select 1:rand
•
•
Press ENTER twice
Your calculator is now
seeded
•
•
•
Press MATH
Go  to PRB
And down to 5:randInt(
•
•
•
Press ENTER
Type the number range
(Ex. if you have 130
entries, type 1, 130)
If you want the calculator
to give you more than
one entry at a time, type it
last (5)
•
•
•
Press ENTER
If you have a repeat,
press ENTER again
Select those entries as
your sample

The command randInt(0, 9, 5) generates 5
random digits between any two specified
values.

The command randInt(1, 6, 7) could be used
to simulate rolling a die 7 times.
HP Prime Instructions to seed:
•
Press
•
Highlight Statistics 2Var
•
Press
•
•
•
Press
•
Select Math > 5 Probability
> 4 Random > 4 Seed
•
Press
•
Type in number (I
suggest birthday)
Press
Your calculator is now
seeded
•
•
Press
Select Math > 5 Probability
> 4 Random > 2 Integer
•
Press
•
Type in range (1, 130)
•
Press
however many times to
get your sample.
If you have a repeated
number, hit
again.