cdfinv.sim | R Documentation |
cdfinv.sim() returns one- or two-sided confidence interval estimates.
cdfinv.sim(
DISTR,
PARAM,
STAT,
lpb = -10000,
upb = 10000,
bound = "two-sided",
alpha = 0.05,
tolb = 1e-06,
tol = 1e-06,
seed = 1,
numsim = 1e+05,
nsamp = 1,
stat.func = mean,
...
)
DISTR |
name of distribution (in R) from which each datum is sampled |
PARAM |
name of distribution parameter for which we are computing an interval estimate |
STAT |
observed value of the chosen statistic |
lpb |
lower bound of search interval |
upb |
upper bound of search interval |
bound |
one of "two-sided", "lower", or "upper" |
alpha |
the confidence coefficient is 1 - alpha |
tolb |
search interval bound offset value |
tol |
convergence tolerance for uniroot function |
seed |
random number generator seed |
numsim |
number of simulated datasets |
nsamp |
sample size for each simulated dataset |
stat.func |
pointer to function computing the statistic for each dataset |
... |
additional arguments for DISTR's cdf function |
A list with interval bounds and associated cdf values.
DISTR - The distribution name (as given in R)
PARAM - The parameter name (as given in R)
STAT - The observed statistic value
bound - The interval bound(s)
q - The cdf quantile(s) associated with the interval bound(s)
Peter E. Freeman, pfreeman@cmu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.