CDF for Loglogistic distribution
11 views (last 30 days)
Show older comments
Zhengpu Chen
on 8 Nov 2018
Edited: David Goodmanson
on 9 Nov 2018
What is the Cumulative Distribution Function for Loglogistic distribution? I only found the Probability Density Function in the following link: https://www.mathworks.com/help/stats/loglogistic-distribution.html.
2 Comments
Accepted Answer
David Goodmanson
on 9 Nov 2018
Edited: David Goodmanson
on 9 Nov 2018
Hello ZC,
They are equivalent. In Matlab
cdf = e^z / (1+e^z) % the missing one
pdf = (1/(sigma*x))*e^z / (1+e^z)^2
where
z = (log(x)-mu)/sigma
When you make the substitution (as mentioned in wikipedia, where they use s in place of sigma)
beta = 1/sigma e^mu = alpha
then
e^z = (x/alpha)^beta
and for wiki,
cdf = (x/alpha)^beta) /(1+(x/alpha)^beta)
pdf = (beta/alpha)*(x/alpha)^(beta-1)/(1+(x/alpha)^beta)^2
0 Comments
More Answers (0)
See Also
Categories
Find more on Generalized Extreme Value Distribution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!