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
data
containing point estimates.- true_param
Vector or name of column from
data
containing corresponding true parameters.- criteria
character or character vector indicating the performance criteria to be calculated.