-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed parameter range option currently not working for lognormal distribution #26
Comments
At the moment it looks like the issue is with setting the boundary for 'mu' to exactly zero. If you set it to something like 0.001 it seems to work out. Work with that for now and I will try to isolate the cause of this problem. |
Ah! Figured it out. The problem stems from trying to be too clever with if statements and Nones at lines 903-906:
The intent of the if statements is to check that the upper bound or the lower bound is not None. However,
I will wait until we sort out the lognormal CDF issue before updating the new version on PyPI. |
Thanks Jeff - sounds good! |
Hi Jeff,
The other day I asked you for the example2 data from this link
http://nbviewer.ipython.org/gist/jeffalstott/3b69b400bbd8461c02c4
because I couldn’t get the forced positive mu
to work with my data set and I wanted first to see if I could duplicate the results from
your notebook. I can’t. I suspect it’s a bug.
I attach two files test1.py and test2.py that include the same instructions as the “actual data”
examples (without and with forced positive mu, respectively) in your note book. The outputs
are the same (both produce the same negative mu), unlike the output in the notebook.
Thanks for your thoughts,
Michael
The text was updated successfully, but these errors were encountered: