Learn R Programming

JMcmprsk (version 0.9.8)

anova.JMcmprsk: ANOVA of longitudinal model

Description

Joint modelling for longitutal and censored data with competing risks

Usage

# S3 method for JMcmprsk
anova(object, coeff = c("beta", "gamma", "alpha"), ...)

Arguments

object

The JMcmprsk object returned by either jmo or jmc function.

coeff

Types of coefficients selected for anova. Note "alpha" is only avaiable to jmo type JMcmprsk object.

...

further arguments passed to or from other methods.

Value

Return a Wald test statistic and the p value

beta The Wald test for fixed effects for the longitutal part,i.e. \(\beta\) in jmo or jmc output.
gamma The Wald test for fixed effects for the survival part,i.e. \(\gamma\) in jmo or jmc output. "gamma1" stands for test for competing risk 1 and "gamma2" stands for test for competing risk 2
alpha The Wald test for non-proportional odds covariates,i.e. \(\alpha\) in jmo output.