CRcoder: An Interactive Web Application and SAS Macro to Support Personalized Clinical Decisions

Gail J. McAvay, Terrence E. Murphy, George O. Agogo, Heather Allore

Research output: Contribution to journalArticlepeer-review

2 Scopus citations


INTRODUCTION: Electronic health care data offer an opportunity to improve clinical decision making through advanced statistical analyses of longitudinal observations. OBJECTIVE: To describe a Web application and SAS/STAT macro (SAS Institute Inc, Cary, NC) for computing joint models to estimate the typical and personalized risk of 2 concurrent binary outcomes. METHODS: Features of the Web application design include uploading longitudinal files formatted with constant or time-varying covariates, specification of 2 binary outcomes, specification of a propensity model for treatment, and joint and separate models of the outcomes. In addition we designed an SAS macro for conducting the analysis. Fitting of joint and separate statistical models was implemented using a model specified in the Web application, with subsequent processing by the SAS macro. To illustrate the fitting of models, a sample of older adults with comorbid hypertension and chronic obstructive pulmonary disease from the Medical Expenditure Panel Survey was created to examine the association between polypharmacy (use of ≥ 5 medication classes) and limitations in social activities and mobility. RESULTS: Relative to separate models, the joint models typically estimated attenuated associations between explanatory variables and the 2 outcomes with smaller standard errors. These joint models yielded estimates of personalized concurrent risk and typical concurrent risk. DISCUSSION: Clinical decision making based on electronic health data can be improved using joint modeling to generate an individual's probability of concurrent risk. CONCLUSION: This user-friendly software performs the advanced statistical analyses needed to estimate typical and personalized concurrent risks.

Original languageEnglish (US)
JournalThe Permanente journal
StatePublished - 2020

All Science Journal Classification (ASJC) codes

  • Health(social science)
  • Public Health, Environmental and Occupational Health
  • Health Policy
  • Medicine (miscellaneous)


Dive into the research topics of 'CRcoder: An Interactive Web Application and SAS Macro to Support Personalized Clinical Decisions'. Together they form a unique fingerprint.

Cite this