HyperMath

GammaPDF

GammaPDF

Previous topic Next topic No expanding text in this topic  

GammaPDF

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Generates gamma distribution probability density function values at specified locations.

Syntax

PDF = GammaPDF(Points, a, b)

Arguments

Name

Description

 

Points

A scalar, vector, or matrix of positive data points at which the density function is to be evaluated. The output is 0 for negative values.

 

a

Shape parameter. A positive scalar. See Comments.

 

b

Scale parameter. A positive scalar. See Comments.

Outputs

Name

Description

 

PDF

A scalar, vector, or matrix of the density function values at the given points. The same size as Points.

Example 1

Find the gamma probability density function at points 1, 3, and 8 with parameters a = 2 and b = 5.

 

Syntax

 

 

pdf = GammaPDF([1,3,8],2,5)

 

Results

 

 

pdf = 0.032749    0.065857    0.064607

Comments

The form of distribution function is such that the mean is a*b.

See Also:

GammaCDF

GammaInvCDF

Probability Distributions