Usage
norm.ci(boot.out = NULL, conf = 0.95, index = 1, var.t0 = NULL, t0 = NULL, t = NULL, L = NULL, h = function(t) t, hdot = function(t) 1, hinv = function(t) t)
Arguments
boot.out
A bootstrap output object returned from a call to boot
. If
t0
is missing then boot.out
is a required argument. It is
also required if both var.t0
and t
are missing.
conf
A scalar or vector containing the confidence level(s) of the required
interval(s).
index
The index of the statistic of interest within the output of a call to
boot.out$statistic
. It is not used if boot.out
is
missing, in which case t0
must be supplied.
var.t0
The variance of the statistic of interest. If it is not supplied then
var(t)
is used.
t0
The observed value of the statistic of interest. If it is missing then it is
taken from boot.out
which is required in that case.
t
Bootstrap replicates of the variable of interest. These are used to estimate
the variance of the statistic of interest if var.t0
is not
supplied. The default value is boot.out$t[,index]
.
L
The empirical influence values for the statistic of interest. These are
used to calculate var.t0
if neither var.t0
nor
boot.out
are supplied. If a transformation is supplied through
h
then the influence values must be for the untransformed
statistic t0
.
h
A function defining a monotonic transformation, the intervals are
calculated on the scale of h(t)
and the inverse function
hinv
is applied to the resulting intervals. h
must be a
function of one variable only and must be vectorized. The default is
the identity function.
hdot
A function of one argument returning the derivative of h
. It
is a required argument if h
is supplied and is used for
approximating the variance of h(t0)
. The default is the
constant function 1.
hinv
A function, like h
, which returns the inverse of h
. It is
used to transform the intervals calculated on the scale of h(t)
back to the original scale. The default is the identity function. If
h
is supplied but hinv
is not, then the intervals returned
will be on the transformed scale.