View source: R/calc_summary_stats.R
calc_summary_stats_trace | R Documentation |
Calculates the Effective Sample Sizes of one estimated variable's trace.
calc_summary_stats_trace(trace, sample_interval)
trace |
a numeric vector of values. Assumes the burn-in is removed. |
sample_interval |
the interval in timesteps between samples |
the effective sample sizes
Richèl J.C. Bilderbeek
Use remove_burn_in
to remove the burn-in
of a trace
estimates_all <- parse_beast_tracelog_file(
get_tracerer_path("beast2_example_output.log")
)
estimates <- remove_burn_ins(estimates_all, burn_in_fraction = 0.1)
calc_summary_stats_trace(
estimates$posterior,
sample_interval = 1000
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.