Hi there, I have some bird flight height data that follows a gamma distribution. The data (x) goes from 0 to 700 meters (n=1055). The calculated parameters calculated from the fitdistr(x) are (shape = 5.1379, rate = 0.017541), and therefore the scale (1/rate) = 57.00929. I would like to calculate the cumulative density (or proportion of the curve) of the function at x= 50 meters. Is that possible, and are there any functions that will help? Thanks! Jake Verschuyl Ecologist P.O. Box 2561, Mount Vernon, WA 98273 Tel: 360.899.5156 Fax: 360.899.5146 P Please consider the environment before printing this email. [[alternative HTML version deleted]]
On 15/08/2007, at 9:53 AM, Jake Verschuyl wrote:> I have some bird flight height data that follows a gamma > distribution. The > data (x) goes from 0 to 700 meters (n=1055). The calculated > parameters > calculated from the fitdistr(x) are (shape = 5.1379, rate = > 0.017541), and > therefore the scale (1/rate) = 57.00929. I would like to calculate > the > cumulative density (or proportion of the curve) of the function at > x= 50 > meters. > > Is that possible, and are there any functions that will help??pgamma ###################################################################### Attention:\ This e-mail message is privileged and confidenti...{{dropped}}
pgamma(q=50,shape=5.1379,rate=0.017541) Francisco Jake Verschuyl wrote:> > > Hi there, > > > > I have some bird flight height data that follows a gamma distribution. The > data (x) goes from 0 to 700 meters (n=1055). The calculated parameters > calculated from the fitdistr(x) are (shape = 5.1379, rate = 0.017541), and > therefore the scale (1/rate) = 57.00929. I would like to calculate the > cumulative density (or proportion of the curve) of the function at x= 50 > meters. > > > > Is that possible, and are there any functions that will help? > > Thanks! > > > > > > Jake Verschuyl > Ecologist > > P.O. Box 2561, Mount Vernon, WA 98273 > > Tel: 360.899.5156 > > Fax: 360.899.5146 > > P Please consider the environment before printing this email. > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Maybe Matching Threads
- Can I calculcate the percentage of a gamma function area below a cutoff value?
- a function to compute the cumulative distribution function (cdf) of the gamma
- repeated measures regression and power analysis?
- data transformation using gamma
- mathematica -> r (gamma function + integration)