An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130712/49d7925a/attachment.pl>
How to determine the pdf of a gamma distribution using the estimated parameters?
2 messages · Kaptue Tchuente, Armel, Ben Bolker
Kaptue Tchuente, Armel <armel.kaptue <at> sdstate.edu> writes:
[snip]
With th bar histogram (number of occurrences) hist<-c(24,7,4,1,2,1,1) of seven equally spaces classes ]1-4], ]5-8], ]9-12], ]13-16], ]17-20], ]21-24], ]25-28], I obtained shape=0.8276 and rate=0.1448. I would like to know how to build the continuous pdf of a this gamma distribution knowing these two estimated parameters such that I will be able to predict the pdf of any positive value.
Are you talking about dgamma(x,shape=0.8276,rate=0.1448), where x is the value you are trying to predict for? dgamma gives probability density, pgamma gives cumulative density/distribution function.