[R] Product of 1 - probabilities

2009-05-21 Thread Mark Bilton
I am having a slight problem with probabilities. To calculate the final probability of an event p(F), we can take the product of the chance that each independent event that makes p(F) will NOT occur. So... p(F) = 1- ( (1-p(A)) * (1-p(B)) * (1-p(C))...(1-p(x)) ) If the chance of an event within

Re: [R] Product of 1 - probabilities

2009-05-21 Thread Gabor Grothendieck
There are several arbitrary precision packages available: gmp (an interface to the GNU multi-precision library on CRAN) and bc (an R interface to the bc arbitrary precision calculator): http://r-bc.googlecode.com There are also packages providing R interfaces to two computer algebra systems and

Re: [R] Product of 1 - probabilities

2009-05-21 Thread Ted Harding
On 21-May-09 14:15:08, Mark Bilton wrote: I am having a slight problem with probabilities. To calculate the final probability of an event p(F), we can take the product of the chance that each independent event that makes p(F) will NOT occur. So... p(F) = 1- ( (1-p(A)) * (1-p(B)) *

Re: [R] Product of 1 - probabilities

2009-05-21 Thread Duncan Murdoch
On 5/21/2009 10:15 AM, Mark Bilton wrote: I am having a slight problem with probabilities. To calculate the final probability of an event p(F), we can take the product of the chance that each independent event that makes p(F) will NOT occur. So... p(F) = 1- ( (1-p(A)) * (1-p(B)) *

Re: [R] Product of 1 - probabilities

2009-05-21 Thread William Dunlap
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Mark Bilton Sent: Thursday, May 21, 2009 7:15 AM To: r-help@r-project.org Subject: [R] Product of 1 - probabilities I am having a slight problem with probabilities

Re: [R] Product of 1 - probabilities

2009-05-21 Thread Ted Harding
On 21-May-09 14:45:20, Gabor Grothendieck wrote: There are several arbitrary precision packages available: gmp (an interface to the GNU multi-precision library on CRAN) and bc (an R interface to the bc arbitrary precision calculator): http://r-bc.googlecode.com There are also packages