powered by
Function to approximate the sampling uncertainty of quantiles using the asymptotic method
perc_ci_asymptotic(mu, sigma, n, prob, conf.level)
(matrix) of confidence interval(s) of quantiles of the normal distribution
(numeric) mean of the distribution
(numeric) standard deviation of the distribution
(numeric) integer value indicating the sample size
(numeric) quantile value(s) for which to calculate the confidence interval(s)
(numeric) confidence level for the interval(s)
Florian Dufey florian.dufey@roche.com
Serfling RJ. Approximation theorems of mathematical statistics. NY: John Wiley & Sons; 1980:121 p.
if (FALSE) { perc_ci_asymptotic(mu = 0, sigma = 1, n = 120, prob = c(0.025, 0.975), conf.level = 0.9) }
Run the code above in your browser using DataLab