RandBinomial(attempts,probability,number)

Top  Previous  Next

Generates number random binomial trials.  RandBinomial returns the number of successful attempts in attempts attempts where the probability of success on each attempt is probability.

 

For example, when rolling a die, the probability of rolling a six is one sixth.  If you roll a die 10 times, how many sixes will you roll?

 

You can simulate this problem thirty times using RandBinomial(10,1/6,30) and you might generate the following data.

 

2, 2, 1, 1, 1, 0, 1, 3, 0, 1, 2, 1, 4, 5, 2, 1, 1, 1, 0, 3, 1, 1, 1, 1, 2, 2, 2, 1, 4, 1

 

Note:  If you type decimals using a comma (eg 3,2) you should enter this formula as RandBinomial(10; 1/6; 30)  - using the ; as a separator