Given coefficient estimates from a set of simulations, mse
calculates
the mean squared error of the estimates average across all simulations.
1 | mse(model_coefficients, beta0, threshold)
|
model_coefficients |
a vector or matrix of coefficient estimates. If a matrix, then the coefficients should vary by row and the simulations should vary by column. |
beta0 |
a numeric vector containing the true coefficient values. |
threshold |
a scalar threshold below which coefficients should be set to zero. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.