Menu Close

Estimating Inverse-Probability Weights for Longitudinal Data with Dropout or Truncation: The xtrccipw Command

Citation

Daza, Eric J.; Hudgens, Michael G.; & Herring, Amy H. (2017). Estimating Inverse-Probability Weights for Longitudinal Data with Dropout or Truncation: The xtrccipw Command. The Stata Journal, 17(2), 253-278. PMCID: PMC5947963

Abstract

Individuals may drop out of a longitudinal study, rendering their outcomes unobserved but still well defined. However, they may also undergo truncation (for example, death), beyond which their outcomes are no longer meaningful. Kurland and Heagerty (2005, Biostatistics 6: 241-258) developed a method to conduct regression conditioning on nontruncation, that is, regression conditioning on continuation (RCC), for longitudinal outcomes that are monotonically missing at random (for example, because of dropout). This method first estimates the probability of dropout among continuing individuals to construct inverse-probability weights (IPWs), then fits generalized estimating equations (GEE) with these IPWs. In this article, we present the xtrccipw command, which can both estimate the IPWs required by RCC and then use these IPWs in a GEE estimator by calling the glm command from within xtrccipw. In the absence of truncation, the xtrccipw command can also be used to run a weighted GEE analysis. We demonstrate the xtrccipw command by analyzing an example dataset and the original Kurland and Heagerty (2005) data. We also use xtrccipw to illustrate some empirical properties of RCC through a simulation study.

Reference Type

Journal Article

Year Published

2017

Journal Title

The Stata Journal

Author(s)

Daza, Eric J.
Hudgens, Michael G.
Herring, Amy H.

PMCID

PMC5947963