Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Prior on first values of Phi in DLM #2

@rBatt

Description

@rBatt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions