Compute confidence intervals/bands and p-values after a transformation
transformCIBP(
estimate,
se,
iid,
null,
conf.level,
alternative,
ci,
type,
min.value,
max.value,
band,
method.band,
n.sim,
seed,
p.value
)
[numeric matrix] the estimate value before transformation.
[numeric matrix] the standard error before transformation.
[numeric array] the iid decomposition before transformation.
[numeric] the value of the estimate (before transformation) under the null hypothesis.
[numeric, 0-1] Level of confidence.
[character] a character string specifying the alternative hypothesis,
must be one of "two.sided"
(default), "greater"
or "less"
.
[logical] should confidence intervals be computed.
[character] the transforamtion.
Can be "log"
, "loglog"
, "cloglog"
, or "atanh"
(Fisher transform).
[numeric] if not NULL
and the lower bound of the confidence interval is below min
,
it will be set at min
.
[numeric] if not NULL
and the lower bound of the confidence interval is below max
,
it will be set at max
.
[integer 0,1,2] When non-0, the confidence bands are computed for each contrasts (band=1
) or over all contrasts (band=2
).
[character] method used to adjust for multiple comparisons.
Can be any element of p.adjust.methods
(e.g. "holm"
), "maxT-integration"
, or "maxT-simulation"
.
[integer, >0] the number of simulations used to compute the quantiles for the confidence bands.
[integer, >0] seed number set before performing simulations for the confidence bands.
[logical] should p-values and adjusted p-values be computed. Only active if ci=TRUE
or band>0
.
The iid decomposition must have dimensions [n.obs,time,n.prediction] while estimate and se must have dimensions [n.prediction,time].
Single step max adjustment for multiple comparisons, i.e. accounting for the correlation between the test statistics but not for the ordering of the tests, can be performed setting the arguemnt method.band
to "maxT-integration"
or "maxT-simulation"
. The former uses numerical integration (pmvnorm
and qmvnorm
to perform the adjustment while the latter using simulation. Both assume that the test statistics are jointly normally distributed.