An Introductory Tutorial on Propensity Score Matching in RStudio Using the National Health Interview Survey
Cureus · 09.07.2026
DOI: 10.7759/cureus.112374 ↗Kurz gefasst
Fachartikel in der Zeitschrift Cureus, erschienen am 09.07.2026. Verfasst von Rakchhya Uprety und 2 weiteren Autor:innen. Beteiligte Einrichtung: Department of Pharmaceutical Sciences, Howard University, Washington DC, USA. Die Arbeit nennt 20 Literaturangaben. Der Volltext ist frei in PubMed Central verfügbar.
Abstract (Originalsprache)
Propensity score matching (PSM) is a statistical method that is used to reduce bias due to confounding from observational studies or studies where randomization is not possible by matching the treatment groups to the control groups based on their propensity scores. A propensity score is a value that gives the probability of each individual subject being assigned to a specific treatment group based on the covariates selected. The aim of this paper is to provide a step-by-step tutorial that demonstrates how to create a propensity-matched cohort using RStudio (Posit PBC, Boston, MA). For this tutorial, we utilize the publicly available 2022 National Health Interview Survey adult dataset. Our focus is on individuals residing in non-metropolitan areas. In our study, the propensity scores represent the probability that a patient uses telehealth, and it is estimated using multiple logistic regression, where telehealth usage is the dependent variable and the predictor variables are age, sex, race, income-to-poverty ratio, education, marital status, insurance status, communication difficulty, and Hispanic ethnicity. This analysis demonstrates how PSM can improve balance in measured covariates and may help reduce bias from observed confounders. Several covariates in the analysis had standardized mean differences (SMDs) greater than 0.1 before matching. However, after PSM, all the covariates achieved SMDs below 0.1, which indicates a better balance at baseline between groups. As this is a pedagogical tutorial, results should not be interpreted as a nationally representative matched analysis.
Schlagwörter
Stichwörter der Autor:innen
Autor:innen und Institutionen
- Department of Pharmaceutical Sciences, Howard University, Washington DC, USA.
- Department of Clinical and Administrative Pharmacy Sciences, Howard University, Washington DC, USA.
Zitieren
APA
Uprety, R., Ogini, F., & Wingate, L. T. (2026). An Introductory Tutorial on Propensity Score Matching in RStudio Using the National Health Interview Survey. Cureus. https://doi.org/10.7759/cureus.112374
Vancouver
Uprety R, Ogini F, Wingate LT. An Introductory Tutorial on Propensity Score Matching in RStudio Using the National Health Interview Survey. Cureus. 2026. doi:10.7759/cureus.112374
BibTeX
@article{Uprety2026,
author = {Uprety, Rakchhya and Ogini, Faith and Wingate, La'Marcus T},
title = {An Introductory Tutorial on Propensity Score Matching in RStudio Using the National Health Interview Survey},
journal = {Cureus},
year = {2026},
doi = {10.7759/cureus.112374}
}
EUVIMED