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

Assess HMC mixing statistics #177

Open
dp-rice opened this issue Jun 22, 2023 · 4 comments
Open

Assess HMC mixing statistics #177

dp-rice opened this issue Jun 22, 2023 · 4 comments
Assignees

Comments

@dp-rice
Copy link
Collaborator

dp-rice commented Jun 22, 2023

Stan produces some information about the mixing and rejection rate of the markov chain. We should plot this as part of our model checking.

@dp-rice dp-rice self-assigned this Jun 22, 2023
@athowes
Copy link

athowes commented Jun 24, 2023

Here is a notebook doing something similar (checking HMC results are suitable) for a project I'm working on. The bayesplot R package is pretty good for this. Perhaps there is a Python equivalent.

@dp-rice
Copy link
Collaborator Author

dp-rice commented Jun 26, 2023

Thanks @athowes this is really helpful!

@athowes
Copy link

athowes commented Jul 21, 2023

Recent idea I've borrowed for this is to take the parameter with the lowest ESS or highest R hat or and present the traceplot for that. If even for the worst parameters they look OK then you should be fine for the others (I think this is reasonable in an academic context when a reviewer would want to know they look reasonable but doesnt want to look at 100s of traceplots, maybe less utility outside a paper context).

Here's an example:

image

@dp-rice
Copy link
Collaborator Author

dp-rice commented Jul 21, 2023

That's a good idea! We're putting this off for now, but will revisit when we're preparing for preprint submission

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