[R] Calculate probabilty

Fabrice Tourre fabrice.ciup at gmail.com
Thu Feb 24 21:51:11 CET 2011


Hi List,

I have a question to calculate probability using R.

There are 491 boxes and 142 balles. If the ball randomly put into the
box. How to calculate the probability of six or more there are in one
box?

I have try :

dbinom(6,142,1/491)

1-pbinom(6,142,1/491)

But I think I have some unclear about the dbinom and pbinom.

Thank you very much in advance.



More information about the R-help mailing list