Skip to content
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

Prior on first values of Phi in DLM #2

Open
rBatt opened this issue Apr 2, 2018 · 1 comment
Open

Prior on first values of Phi in DLM #2

rBatt opened this issue Apr 2, 2018 · 1 comment

Comments

@rBatt
Copy link
Owner

rBatt commented Apr 2, 2018

Phi[i, p] ~ dnorm(0, 100) #dunif(-1.0, 1.0)

Both here and in the model with a time-varying mean, the first p values (p is AR order) of the Phi parameter have a really strong prior. I think I originally did this b/c I stopped wanting to use the uniform prior (perhaps b/c of infinite slice? more later), and when I started using the normal, I didn't want it to allow for values outside the -1,1 interval. This must have been before I discovered the truncation notation, as I use this T() notation in other parts of the model.

Whatever the reason, the main motivation behind my close and revisionist inspection of these models is that I am sometimes getting this weird 'infinite' slice error from JAGS --- it's indicating the Phi state is suddenly gaining probability of 1 or something like that. Basically, it is getting stuck.

Get back to this later.

@spolischook
Copy link

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants