Function that computes how often the true value of the parameter is included within the 95/5 high posterior density interval
Description
Function that computes how often the true value of the parameter is included within the 95/5 high posterior density interval
Usage
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 |