mmrm_methods | R Documentation |
mmrm
Objects## S3 method for class 'mmrm'
summary(object, ...)
## S3 method for class 'summary.mmrm'
print(
x,
digits = max(3, getOption("digits") - 3),
signif.stars = getOption("show.signif.stars"),
...
)
## S3 method for class 'mmrm'
confint(object, parm, level = 0.95, ...)
object |
( |
... |
not used. |
While printing the summary of (mmrm
)
object, the following will be displayed:
Formula. The formula used in the model.
Data. The data used for analysis, including number of subjects, number of valid observations.
Covariance. The covariance structure and number of variance parameters.
Method. Restricted maximum likelihood(REML) or maximum likelihood(ML).
Model selection criteria. AIC, BIC, log likelihood and deviance.
Coefficients. Coefficients of the covariates.
Covariance estimate. The covariance estimate(for each group).
If the covariance structure is non-spatial, the covariance matrix of all categorical time points available in data will be displayed.
If the covariance structure is spatial, the covariance matrix of two time points with unit distance will be displayed.
confint
is used to obtain the confidence intervals for the coefficients.
Please note that this is different from the confidence interval of difference
of least square means from emmeans
.
Depends on the method, see Details and Functions.
summary(mmrm)
: summarizes the MMRM fit results.
print(summary.mmrm)
: prints the MMRM fit summary.
confint(mmrm)
: obtain the confidence intervals for the coefficients.
mmrm_tmb_methods
, mmrm_tidiers
for additional methods.
formula <- FEV1 ~ RACE + SEX + ARMCD * AVISIT + us(AVISIT | USUBJID)
object <- mmrm(formula, fev_data)
# Summary:
summary(object)
# Confidence Interval:
confint(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.