Skip to content

How to include neff in jagstargets summary #30

Closed Answered by wlandau
tatakof asked this question in Help
Discussion options

You must be logged in to vote

In the example at https://docs.ropensci.org/jagstargets/articles/introduction.html, tar_read(example_summary_x) has effective sample size in columns ess_bulk and ess_tail. Both are calculated by posterior::summarize_draws(). If you want basic effective sample size instead of posterior::ess_bulk() or posterior::ess_tail(), you can customize the summaries argument of tar_jags(), e.g. summaries = list(ess_basic = ~posterior::ess_basic(.x)).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tatakof
Comment options

Answer selected by tatakof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants