Calculates the Effective Sample Sizes of one estimated variable's trace.
Source:R/calc_summary_stats.R
calc_summary_stats_trace.Rd
Calculates the Effective Sample Sizes of one estimated variable's trace.
See also
Use remove_burn_in
to remove the burn-in
of a trace
Examples
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
)
#> mean stderr_mean stdev variance median mode geom_mean
#> 1 -70.58394 0.5044887 1.681629 2.827876 -69.87976 n/a n/a
#> hpd_interval_low hpd_interval_high act ess
#> 1 -74.15268 -68.68523 1000 10