Nothing
#' Monte Carlo Simulation Bias
#'
#' @details
#' \deqn{
#' \mathrm{Bias}_{\matnrm{MC}}
#' =
#' \left(
#' R^{-1}
#' \sum_{r = 1}^{R}
#' \boldsymbol{\hat{\theta}}_{r}
#' \right)
#' -
#' \boldsymbol{\hat{\theta}}
#' }
#'
#' @inheritParams BetaMC
#'
#' @family Beta Monte Carlo Functions
#' @keywords eval internal
#' @noRd
.MCBias <- function(object) {
return(
colMeans(
do.call(
what = "rbind",
args = lapply(
X = object$thetahatstar,
FUN = function(i) {
return(
c(
i$coef,
i$sigmasq,
i$vechsigmacapx
)
)
}
)
)
) - c(
object$lm_process$beta,
object$lm_process$sigmasq,
object$lm_process$vechsigmacapx
)
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.