Nothing
.MCCI <- function(object,
alpha = c(0.05, 0.01, 0.001)) {
return(
lapply(
X = object$output,
FUN = function(x) {
idx <- seq_len(length(x$est) - 1)
thetahat <- x$est[idx]
thetahatstar <- x$thetahatstar[, idx, drop = FALSE]
probs <- .PCProbs(alpha = alpha)
ci <- vector(
mode = "list",
length = length(idx)
)
for (i in idx) {
ci[[i]] <- .PCCI(
thetahatstar = thetahatstar[, i],
thetahat = thetahat[i],
probs = probs
)
}
ci <- do.call(
what = "rbind",
args = ci
)
ci <- cbind(
interval = x$delta_t,
ci
)
rownames(ci) <- colnames(thetahatstar)
return(ci)
}
)
)
}
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.