Cover: Propensity Scores for Repeated Treatments

Propensity Scores for Repeated Treatments

A Tutorial for the iptw Function in the TWANG Package

Published Sep 14, 2017

by Lane F. Burgette, Beth Ann Griffin, Daniel F. McCaffrey

Download Free Electronic Document

FormatFile SizeNotes
PDF file 0.2 MB

Use Adobe Acrobat Reader version 10 or higher for the best experience.

This tutorial describes the use of the TWANG package in R to estimate inverse probability of treatment weights (IPTWs) when one has time varying treatments or sequences of treatments over time. Specifically, it describes the "iptw" function (which stands for Inverse Probability of Treatment Weight), the proper syntax for using the function, and the features the function contains.

This report is part of the RAND tool series. RAND tools may include models, databases, calculators, computer code, GIS mapping tools, practitioner guidelines, web applications, and various toolkits. All RAND tools undergo rigorous peer review to ensure both high data standards and appropriate methodology in keeping with RAND's commitment to quality and objectivity.

This document and trademark(s) contained herein are protected by law. This representation of RAND intellectual property is provided for noncommercial use only. Unauthorized posting of this publication online is prohibited; linking directly to this product page is encouraged. Permission is required from RAND to reproduce, or reuse in another form, any of its research documents for commercial purposes. For information on reprint and reuse permissions, please visit

RAND is a nonprofit institution that helps improve policy and decisionmaking through research and analysis. RAND's publications do not necessarily reflect the opinions of its research clients and sponsors.