swgee: An R Package for Analyzing Longitudinal Data with Response Missingness and Covariate Measurement Error

Though longitudinal data often contain missing responses and error-prone covariates, relatively little work has been available to simultaneously correct for the effects of response missingness and covariate measurement error on analysis of longitudinal data. Yi (2008) proposed a simulation based marginal method to adjust for the bias induced by measurement error in covariates as well as by missingness in response. The proposed method focuses on modeling the marginal mean and variance structures, and the missing at random mechanism is assumed. Furthermore, the distribution of covariates are left unspecified. These features make the proposed method applicable to a broad settings. In this paper, we develop an R package, called swgee, which implements the method proposed by Yi (2008). Moreover, our package includes additional implementation steps which extend the setting considered by Yi (2008). To describe the use of the package and its main features, we report simulation studies and analyses of a data set arising from the Framingham Heart Study.

Juan Xiong , Grace Y. Yi
2019-08-17

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at RJ-2019-031.zip

CRAN packages used

gee, yags, wgeesel, geepack, mvtnorm

CRAN Task Views implied by cited packages

SocialSciences, Distributions, Econometrics, Finance, Multivariate

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Xiong & Yi, "swgee: An R Package for Analyzing Longitudinal Data with Response Missingness and Covariate Measurement Error", The R Journal, 2019

BibTeX citation

@article{RJ-2019-031,
  author = {Xiong, Juan and Yi, Grace Y.},
  title = {swgee: An R Package for Analyzing Longitudinal Data with Response Missingness and Covariate Measurement Error},
  journal = {The R Journal},
  year = {2019},
  note = {https://doi.org/10.32614/RJ-2019-031},
  doi = {10.32614/RJ-2019-031},
  volume = {11},
  issue = {1},
  issn = {2073-4859},
  pages = {416-426}
}