View source: R/calc_absolute.R
calc_absolute | R Documentation |
Calculates absolute bias, variance, mean squared error (mse) and root mean squared error (rmse). The function also calculates the associated Monte Carlo standard errors.
calc_absolute(
data,
estimates,
true_param,
criteria = c("bias", "variance", "stddev", "mse", "rmse"),
winz = Inf
)
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, with possible options |
winz |
numeric value for winsorization constant. If set to a finite
value, estimates will be winsorized at the constant multiple of the
inter-quartile range below the 25th percentile or above the 75th percentile
of the distribution. For instance, setting |
A tibble containing the number of simulation iterations, performance criteria estimate(s) and the associated MCSE.
calc_absolute(data = t_res, estimates = est, true_param = true_param)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.