Hello,

I'm working on the beta distribution for Calc. In the case BETADIST(x,1,b,0,1,FALSE()), which is the beta distribution density function, the term b*(1-x)^(b-1) has to be calculated. The domain for x is 0<=x<=1. There is no problem for x<0.99. But you get large relative errors for x near 1. Is there any trick for calculating such a term in this case?

Using the power series -(x+1/2x^2+1/3x^3+...) for log(1-x) is no solution because of its very very bad convergence for x near 1.

kind regard
Regina

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to