id_sim_coverage: Function that computes how often the true value of the...

Description Usage Arguments

View source: R/Simulate.R

Description

Function that computes how often the true value of the parameter is included within the 95/5 high posterior density interval

Usage

1
id_sim_coverage(obj, rep = 1, quantiles = c(0.95, 0.05))

Arguments

obj

A fitted idealstan object with true data generated by id_sim_gen

rep

How many times the models were fitted on new data, currently can only be 1

quantiles

What the quantile coverage of the high posterior density interval should be


idealstan documentation built on July 10, 2019, 5:05 p.m.