calc_absolute {simhelpers} | R Documentation |
Calculate absolute performance criteria and MCSE
Description
Calculates absolute bias, variance, mean squared error (mse) and root mean squared error (rmse). The function also calculates the associated Monte Carlo standard errors.
Usage
calc_absolute(
data,
estimates,
true_param,
criteria = c("bias", "variance", "mse", "rmse")
)
Arguments
data |
data frame or tibble containing the simulation results. |
estimates |
Vector or name of column from |
true_param |
Vector or name of column from |
criteria |
character or character vector indicating the performance criteria to be calculated. |
Value
A tibble containing the number of simulation iterations, performance criteria estimate(s) and the associated MCSE.
Examples
calc_absolute(data = t_res, estimates = est, true_param = true_param)
[Package simhelpers version 0.2.1 Index]