We can find P(X>12) in a way
"P(X>12) = 1 - P(X \\leq 12)" .
By definition, "P(X\\leq x)" "=F(x)" - cumulative distribution function(CDF). For gamma distribution CDF is
"P(X\\leq x) = F(x; \\alpha, \\lambda) = \\frac{\\gamma(\\alpha, \\lambda x)}{\\Gamma(\\alpha)}"
where where "{\\displaystyle \\gamma (\\alpha ,\\lambda x)}" is the lower incomplete gamma function and "\\Gamma(\\alpha)" is ordinary gamma function.
"P(X\\leq12) = \\frac{\\gamma(3, 6)}{\\Gamma(3)} = 0.938."
So, "P(X>12) = 1 -0.938 = 0.062"
Comments
Leave a comment