Hello,

Attempting to fit a Student t distribution to a sample using the StudentFactory object, I seem to obtain incorrect results:

---

import openturns as ot

sample = ot.Student(4.0, 100.0, 30.0).getSample(1000)

print(ot.StudentFactory().build(sample))

Student(nu = 2.00123, mu = 99.3967, sigma = 1)

---

Using a maximum likelihood approach as per the example in the documentation works, however.

http://openturns.github.io/openturns/latest/examples/data_analysis/maximumlikelihood_estimator.html


I'm using version 1.10 (from Debian) on Python 3.6.

Thanks,

Eric

_______________________________________________
OpenTURNS users mailing list
[email protected]
http://openturns.org/mailman/listinfo/users

Reply via email to