Skip to content
Prev 177467 / 398502 Next

Binomial simulation

Not being entirely sure what you mean, I think 

rbinom(1000, 10, .25) 

may be what you want. 

Hi,
Thanks for your reply.
It is close to that but I need to know the probabilty of how many judges
pick a certain brand.
Just say x= 6 judges pick brand A which has P=0.25.

Using R it would be:
[1] 0.016222

Probability of six judges choosing  brand A. Hence not very likely.

I have been asked to do this for all values of x = 1 to 10.
But the question says to simulate 1000 trials for each x value.
I'm not sure how to construct the simulation.
regards
Brendan