Description Usage Arguments Value Author(s) Examples
Functions used by the 'rucl' package to calculate various UCLs (upper confidence limits of the mean). These functions assume that all parameters have been previously calculated. See 'xxxxxxx' for functions intended to be used by the user.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | b.adjgamma(m, k, n, a, ...)
b.appgamma(m, k, n, a, ...)
b.cheb(m, se, a)
b.hallboot(x, m, n, skew, se, con, N, ...)
b.hucl(m, sd, n, con, ...)
b.modt(m, u3, se, n, con)
b.modz(m, se, skew, n, con)
b.mvue(m, v, n, a)
b.pboot(B, con)
b.tucl(m, se, n, con, ...)
b.zboot(B, con)
b.zucl(m, se, con, ...)
cu.bcaboot(B, x, d, m, n, con, N, ...)
cu.tboot(x, d, m, se, con, N, ...)
uu.bcaboot(B, x, m, n, con, N, ...)
uu.tboot(x, m, se, con, N, ...)
|
m |
the mean of the sample |
k |
an estimate of the gamma distribution shape parameter for the sample |
n |
sample size |
a |
alpha level |
se |
standard error |
skew |
skewness |
con |
confidence level |
N |
number of bootstrap iterations |
sd |
standard deviation |
u3 |
|
v |
variance |
B |
vector of bootstrap statistics |
d |
dataset used in calculation |
... |
additional arguments to be passed to other functions |
returns a numeric vector of length 1 containing the UCL based on provided parameters.
Eric Bailey (Indiana Department of Environmental Management)
1 2 3 4 5 6 7 8 9 10 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (m, k, n, a, ...)
{
b <- max(0, mns.interpolate(mns.adja, new.x = c(n = n, a = a)))
2 * n * k * m/qchisq(b, 2 * n * k)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.