add_cov_stats_mu: Adds columns specifying true mu, 95% coverage, bias and...

View source: R/stan_summaries.R

add_cov_stats_muR Documentation

Adds columns specifying true mu, 95% coverage, bias and precision to the cmdstanr fit summary dataframe containing only mu rows

Description

Adds columns specifying true mu, 95% coverage, bias and precision to the cmdstanr fit summary dataframe containing only mu rows

Usage

add_cov_stats_mu(mu_fit, mu_list, model_num = 1)

Arguments

mu_fit

filtered cmdstanr summary fit dataframe (only mu rows)

mu_list

named list containing true mu values

model_num

(int) specifying the number of stan models used in the dataframe


SpTB/wztools documentation built on July 2, 2023, 11:50 a.m.