CDF for Loglogistic distribution

11 visualizaciones (últimos 30 días)
Zhengpu Chen
Zhengpu Chen el 8 de Nov. de 2018
Editada: David Goodmanson el 9 de Nov. de 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 comentarios
Walter Roberson
Walter Roberson el 8 de Nov. de 2018
https://en.m.wikipedia.org/wiki/Log-logistic_distribution
Zhengpu Chen
Zhengpu Chen el 8 de Nov. de 2018
Editada: Walter Roberson el 8 de Nov. de 2018
Thank you for the reply. The expression of the function in Wiki and the one in Matlab documentation https://www.mathworks.com/help/stats/loglogistic-distribution.html seem to be not the same. I don't know if they are equivalent.

Iniciar sesión para comentar.

Respuesta aceptada

David Goodmanson
David Goodmanson el 9 de Nov. de 2018
Editada: David Goodmanson el 9 de Nov. de 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

Más respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by