Nothing
pred.int.norm.k.of.m.on.r.prob <-
function (n, df = n - 1, n.mean = 1, K, delta.over.sigma, k,
m, r, integrate.args.list = NULL)
{
if (!is.null(integrate.args.list)) {
args.list <- c(list(f = pred.int.norm.k.of.m.on.r.integrand,
lower = 0, upper = 1, n.weird = n, df.weird = df,
n.mean = n.mean, K.weird = K, delta.over.sigma = delta.over.sigma,
k.weird = k, m.weird = m, r.weird = r), integrate.args.list)
ret.val <- do.call("integrate", args.list)$value
}
else {
int.list <- integrate(f = pred.int.norm.k.of.m.on.r.integrand,
lower = 0, upper = 1, n.weird = n, df.weird = df,
n.mean = n.mean, K.weird = K, delta.over.sigma = delta.over.sigma,
k.weird = k, m.weird = m, r.weird = r, stop.on.error = FALSE)
if (int.list$message == "OK") {
ret.val <- int.list$value
}
else {
rel.tol <- 1e-07
while (rel.tol >= 0.01) {
int.list <- integrate(f = pred.int.norm.k.of.m.on.r.integrand,
lower = 0, upper = 1, n.weird = n, df.weird = df,
n.mean = n.mean, K.weird = K, delta.over.sigma = delta.over.sigma,
k.weird = k, m.weird = m, r.weird = r, rel.tol = rel.tol,
stop.on.error = FALSE)
if (int.list$message == "OK") {
ret.val <- int.list$value
break
}
rel.tol <- rel.tol/10
}
if (rel.tol < 0.01) {
ret.val <- integrate(f = pred.int.norm.k.of.m.on.r.integrand,
lower = 0, upper = 1, n.weird = n, df.weird = df,
n.mean = n.mean, K.weird = K, delta.over.sigma = delta.over.sigma,
k.weird = k, m.weird = m, r.weird = r, rel.tol = 0.01)$value
}
}
}
ret.val
}
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.