Pymc3: documentaion on Weibull distribution contains a mistake

Created on 28 Mar 2019  路  4Comments  路  Source: pymc-devs/pymc3

I am sorry, but I think the variance of Weibull distribution shown in https://docs.pymc.io/api/distributions/continuous.html#pymc3.distributions.continuous.Weibull is simply wrong. It does not equal to \beta^2\Gamma(1+2/\alpha-\mu^2), but \beta^2(\Gamma(1+2/\alpha)-\mu^2/\beta^2). At least, the Wikipedia page on Weibull distirubution confirms my guess

Most helpful comment

well, I think you are right. Let me to make a pr to fix it.

All 4 comments

well, I think you are right. Let me to make a pr to fix it.

@chang111 Because it is on the same page, you could also remove an unnessary closing bracket in the denominator of the p.d.f. of Wald distribution (just after \pi)

Good advice!

Thanks!

Was this page helpful?
0 / 5 - 0 ratings