Nothing
elnormAltSinglyCensored.half.cen.level <-
function (x, censored, N, T1, n.cen, censoring.side, ci, ci.method = "normal.approx",
ci.type, conf.level, ci.sample.size = N - n.cen, pivot.statistic = c("z",
"t"))
{
x[censored] <- T1/2
muhat <- mean(x)
sdhat <- sd(x)
parameters <- c(mean = muhat, cv = sdhat/muhat)
if (ci) {
ci.method <- match.arg(ci.method)
pivot.statistic <- match.arg(pivot.statistic)
ci.obj <- ci.normal.approx(theta.hat = muhat, sd.theta.hat = sdhat/sqrt(ci.sample.size),
n = ci.sample.size, df = ci.sample.size - 1, ci.type = ci.type,
alpha = 1 - conf.level, lb = 0, test.statistic = pivot.statistic)
ci.obj$parameter <- "mean"
return(list(parameters = parameters, ci.obj = ci.obj))
}
else return(list(parameters = parameters))
}
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.