Re: [R] CDF of a gamma distribution

2007-08-14 Thread Francisco J. Zagmutt
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@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.


__
R-help@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.


Re: [R] CDF of a gamma distribution

2007-08-14 Thread Rolf Turner

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}}

__
R-help@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.