Re: [R] Plot cumulative probability of beta-prime distribution

2009-07-02 Thread David Winsemius
I am not at all familiar with that distribution but the obvious solution would appear to be: ?integrate BetaprimeDensity - function(x) x^(shape1-1) * (1+x)^(-shape1- shape2) / beta(shape1,shape2) shape1 - 1 shape2 -1 integrate(BetaprimeDensity, 0 , 1) 0.5 with absolute error 5.6e-15

[R] Plot cumulative probability of beta-prime distribution

2009-07-01 Thread aledanda
Hallo, I need your help. I fitted my distribution of data with beta-prime, I need now to plot the Cumulative distribution. For other distribution like Gamma is easy: x - seq (0, 100, 0.5) plot(x,pgamma(x, shape, scale), type= l, col=red) but what about beta-prime? In R it exists only pbeta