-
Notifications
You must be signed in to change notification settings - Fork 218
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
Method Error when trying to estimate degree of freedom with TDist #673
Comments
A bit of context: |
Closed in favour of #674 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
the following code throws an error (on Julia 1.0.3)
using Turing y = rand(TDist(4),100) @model est_TD(y) = begin nu ~ LogNormal(0,2) [y[i] ~ TDist(nu) for i = 1:length(y)] end out_HMC = sample(est_TD(y),HMC(500,1e-4,5))
It seems that it has something to do with differentiation. Is there something wrong with trying to estimate the degree of freedom from the data? Has anyone encountered this before and/or found some workaround?
I will be thankful for any help
The text was updated successfully, but these errors were encountered: