search for: probabilt

Displaying 2 results from an estimated 2 matches for "probabilt".

Did you mean: probabilty
2009 May 21
4
Product of 1 - probabilities
...* (1-p(C))...(1-p(x)) ) If the chance of an event within the product occurring remains the same, we can therefore raise this probability to a power of the number of times that event occurs. e.g. rolling a dice p(A) = 1/6 of getting a 1... p(F) = 1 - (1- (1/6))^z p(F) = 1 - (1-p(A))^z tells us the probabiltity of rolling a 1 'at least once' in z number of rolls. So then to R... if p(A) = 0.01; z = 4; p(F) = 0.039 obviously p(F) > p(A) however the problem arises when we use very small numbers e.g. p(B) = 1 * 10^-30 R understands this value However when you have 1-p(B) you get something v...
2009 Jul 14
1
Simulation functions for underdispered Poisson and binomial distributions
Dear R users I would like to simulate underdispersed Poisson and binomial distributions somehow. I know you can do this for overdispersed counterparts - using rnbinom() for Poisson and rbetabinom() for binomial. Could anyone share functions to do this? Or please share some tips for modifying existing functions to achieve this. Thank you very much for your help and time Shinichi