bias | R Documentation |
Calculates the bias of the model estimates from the true value and the Monte Carlo standard error for this estimate.
bias(true_value, estimates, get = c("bias", "bias_mcse"), na.rm = FALSE, ...)
true_value |
The true value which is being estimated. |
estimates |
A numeric vector containing the estimates from the model(s). |
get |
A character vector containing the values returned by the function. |
na.rm |
A logical value indicating whether NA values for |
... |
Additional arguments to be ignored. |
A named vector containing the estimate and the Monte Carlo standard error for the bias.
bias(true_value=0, estimates=rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.