Cluster-weighted generalized estimating equations for clustered longitudinal data with informative cluster size
install.packages("devtools")
library(devtools)
devtools::install_github("ayamitani/CWGEE")
library(CWGEE)
Mitani, AA, Kaye, EK, Nelson, KP. Marginal analysis of ordinal clustered longitudinal data with informative cluster size. Biometrics. 2019; 1– 12. https://doi.org/10.1111/biom.13050
data(perio)
fitmod <- ordCWGEE(formula = cal ~ mets + edu + age + smoking, data = perio,
id = subject, cluster.var = tooth, time.var = visit, time.str = "ind")
summary(fitmod)
data(perio_base)
fitmod <- mvoCWGEE(formula = y ~ smoking + age + edu, data = perio_base,
cluster = subject, resp.ind = outcome, unit = tooth,
common.slope = c("smoking", "edu"), corr.str = "exch")
summary(fitmod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.