Skip to content

ayamitani/CWGEE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CWGEE

Cluster-weighted generalized estimating equations for clustered longitudinal data with informative cluster size

R installation Instructions

install.packages("devtools")
library(devtools)
devtools::install_github("ayamitani/CWGEE")
library(CWGEE)

Example for ordinal clustered longitudinal outcome with informative cluster size as seen in:

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)

Example for clustered multivariate binary outcomes with informative cluster size

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)

About

Cluster weighted generalized estimating equations for clustered longitudinal data with informative cluster size

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages