Nothing
enormSinglyCensored.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
parameters <- c(mean = mean(x), sd = sd(x))
if (ci) {
ci.method <- match.arg(ci.method)
pivot.statistic <- match.arg(pivot.statistic)
ci.obj <- ci.normal.approx(theta.hat = parameters[1],
sd.theta.hat = parameters[2]/sqrt(ci.sample.size),
n = ci.sample.size, df = ci.sample.size - 1, ci.type = ci.type,
alpha = 1 - conf.level, 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.