Nothing
#' Calculates a 99 Percent Confidence Interval
#'
#' @param m A single number equal to the mean value of a statistic.
#' @param se single number equal to the standard error of the statistic.
#' @return Returns the 99% confidence interval as a vector of numeric values (the lower and upper bounds).
#' @description Prints the lower and upper boundaries of a 99 Percent confidence interval. Also see the CI95 function.
#' @examples
#' CI99(10, 1)
#'
#' CI99(m=8, se=2)
#' @export
#'
CI99 = function(m, se)
{
lower = m - stats::qnorm(.995)*se
upper = m + stats::qnorm(.995)*se
out1 = c(lower,upper)
names(out1) = c("Lower 99% CI"," Upper 99% CI")
return(out1)
}
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.