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:
dbinom(6,10,.25)
[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
View this message in context: http://www.nabble.com/Binomial-simulation-tp23106347p23109522.html Sent from the R help mailing list archive at Nabble.com.