You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Probabilities Class > Probabilities Methods > GammaPDF Method > Probabilities.GammaPDF Method (double, double, double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Probabilities.GammaPDF Method (double, double, double)

Gamma probability density function (PDF).

Syntax
C#
Visual Basic
public static double GammaPDF(double x, double a, double b);
Parameters 
Description 
double x 
Distribution domain, real positive value. 
double a 
Defines distribution scale parameter. a must be a positive scalar. 
double b 
Defines distribution shape parameter. b must be a positive scalar. 

the Gamma probability density function (PDF) for value x using the parameters a and b.

Calculates the Gamma distribution probability density function, defined by the equation: 

 

where Gamma denotes the Math387.Gamma function. The Gamma distribution is especially important in that it allows us to define two families of random variables, the exponential and chi-squared, that are used extensively in applied statistics. Gamma probability density function can be useful in reliability models of lifetimes.The gamma distribution is more flexible than the exponential in that the probability of surviving an additional period may depend on age.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!