Description Usage Arguments Details Value Note Author(s) References See Also Examples
Simultaneous inference for a set of contrasts (linear combinations) of means in longitudinal scenarios. Computes multiplicity-adjusted p-values and simultaneous confidence intervals for comparing groups at multiple time points by combining time-point-specific marginal models as described by Pipper et al. (2012).
1 2 3 |
data |
A data frame. |
response |
A character string giving the name of the response variable in |
group |
A character string giving the name of the (treatment) group variable in |
time |
A character string giving the name of the time variable in |
id |
A character string giving the name of the subject variable in |
covariates |
ccc |
contrasts |
. Default to |
type |
A character string defining the type of contrast matrix (i.e., the set of comparisons); ignored unless |
base |
An integer specifying the reference group with many-to-one comparisons; ignored unless |
alternative |
The direction of the alternative to be tested against. Default is |
level |
A numeric value giving the simultaneous confidence level (1 - alpha). |
refdist |
. |
xxx
A list of class silo
with elements
Results |
A table listing comparisonwise the estimated difference with standard error, lower and upper simultaneous confidence bounds, value of the test statistic, and multiplicity-adjusted p-value. |
CovStat |
The covariance matrix of test statistics. |
CritValue |
The critical value (equicoordinate quantile from a multivariate t-distribution). |
Alternative |
The direction of the alternative. |
ConfLevel |
The confidence level as specified via |
RefDist |
The reference distribution (multivariate normal or t). |
DF |
The degrees of freedom used for the multivariate t distribution (zero if multivariate normal). |
Corr |
The estimated correlation matrix of time points and test statistics. |
ContMat |
The contrast matrix applied to each point in time. |
bla
Philip Pallmann pallmann@biostat.uni-hannover.de
Hothorn, T., Bretz, F., Westfall, P. (2008) Simultaneous inference in general parametric models. Biometrical Journal, 50(3), 346–363.
Pipper, C. B., Ritz, C., Bisgaard, H. (2012) A versatile method for confirmatory evaluation of the effects of a covariate in multiple models. Journal of the Royal Statistical Society, Series C: Applied Statistics, 61(2), 315–326.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | data(heart)
# Many-to-one comparisons of groups per time point
# taking the third group ("control") as reference
SimLongiMMM(data=heart, response="heartrate", group="drug",
time="time", id="person", type="Dunnett",
base=3)$Results
# For comparison:
SimLongi(data=heart, response="heartrate", group="drug",
time="time", id="person", direction="gpt",
type="Dunnett", base=3, df="normal")$Results
# With multivariate t as reference distribution:
SimLongiMMM(data=heart, response="heartrate", group="drug",
time="time", id="person", type="Dunnett",
base=3, refdist="t")$Results
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.