rel_bias | R Documentation |
Compute the parameter bias of a vector estimated parameters versus the ground-truth value of that parameter (modified from Jasper)
rel_bias(true_param_value, simulated_param_values)
true_param_value |
numeric. Value of the ground-truth parameter. |
simulated_param_values |
k-length numeric vector. k >= 1 and holds the parameter values of the estimated parameters. |
This function computes the percentage bias by using the signed mean difference.
numeric vector. Contains two elements: (1) average bias of simulated values versus the ground-truth value and (2) MCMC SE of the bias value
Morris, Tim P., Ian R. White, and Michael J. Crowther. "Using simulation studies to evaluate statistical methods." Statistics in medicine 38.11 (2019): 2074-2102.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.