-
Notifications
You must be signed in to change notification settings - Fork 75
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
Effective number of parameters #13
Comments
Yes. If you're running the GUI, the raw rjags output exists in the "mixsiar" environment. You can print it to the screen with:
To output the pD by itself with:
|
The mixsiar$jags.1 command still gives summary statistics, can I access raw data for all iterations somehow to combine sources and determine the statistics myself? |
Now if you type
If you have random/fixed effects in your model, you'll see that p.fac1 and p.fac2 are 3-D arrays, where the dimensions are chain.length*n.chains x factor level x source. Full chain for proportion source 1, level 1 of factor 1 (Region 1 Deer in wolves ex):
Full chain for proportion source 3, level 8 of factor 2 (Pack 8 Salmon in wolves ex):
To confirm you understand the indexing correctly, quickly plot a histogram of the chain and compare it to the output plot, e.g.
should match the blue curve in "posterior_density_diet_p_Pack 8.pdf". |
Thank you very much Brian that worked perfectly. |
Is it possible to get pD (effective number of parameters) in the output files?
The text was updated successfully, but these errors were encountered: