[R] Plotting the PDF and the Cumulative Probability

aledanda danda.galli at gmail.com
Wed Jul 8 10:24:35 CEST 2009


Hallo,

I have to fit my distribution with Beta-prime. I found the parameters now I
need to plot the Cumulative probability and the Probability density of my
fitted data. 
With gamma for exemple is easy:

PDF:

plot(x,dgamma(x, shape,rate))

Cumulative probability:

plot(x,pgamma(x, shape,rate))

How can I do with beta-prime?
Can I use the pbeta and dbeta defined for Beta distribution even though my
function is a Beta-prime?

Thanks a lot!

Ale
-- 
View this message in context: http://www.nabble.com/Plotting-the-PDF-and-the-Cumulative-Probability-tp24387435p24387435.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list