randBin(
meaning "random Binomial", generates a random integer between 0 and n from a Binomial distribution.
How to use the randBin command:
- Press [MATH]
- Scroll to the farthest right until you get to PRB and press enter.
- Select and press [randBin(]
- Enter the numbers using the formula below
n = number of trials
p = probability of success
* the seed that is on rand affects the output of randBin(
Example:
Design an experiment to determine the probability of getting 50% correct answers on a 12 multiple choice questions quiz if you try to guess all the answers.
randBin( 12, 1/4, 5)
[ 2 1 4 1 2 ]
[ 1 5 1 2 1 ]
[ 4 2 2 5 0 ]
[ 2 4 3 4 5 ]
[ 3 3 1 4 2 ]
Answer : P ( 50% or over ) : 3\ 25= 12%
and that's what i understand about the randBin( command. Please feel free to correct any mistakes or add in some information(s) that is/are missing.
next up is ... Eugene.
1 comments:
Nice post and I really like your example!
Nice surprise for you guys tomorrow ;-).
Cheers, Dr. Eviatar.
Post a Comment