Skip to content

Scott-Coggeshall/semiparametric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Which Veterans are likely to incur high healthcare costs in the future? Can we use information available in the VA's Electronic Health Record (EHR) system combined with statistical modeling to predict who these Veterans will be? How can we make full use of the multitude of variables and millions of patients in that EHR system when fitting that statistical model? And how can we be confident that our predictive model is any good?

This project combines

  • quantile regression methods for prediction
  • flexible modeling of predictors using splines
  • model regularization via penalization
  • distributed model fitting algorithm for handling EHR-scale data

to address these questions. It aims to develop a predictive model for determining which Veterans will incur high health care costs in the next fiscal year. It does this using quantile regression, a statistical method that can be used to directly model outcomes in the upper tail of the distribution. It employs highly flexible modeling of predictors using regression splines and model selection through penalization to get the most out of the data. Finally, it uses a distributed model fitting algorithm to make all of this work when fit to data at the scale of the VA' EHR system.

Below, we discuss each of these aspects in more detail.

Background - CAN Score and Nosos model

First, a little background. The VHA's EHR system has been used in the past to create predictive models. The Care Assessment Needs (CAN) Score uses an array of factors to predict risk of hospitalization or death within certain timeframes (e.g. 90 days, 1 year). The formulation of the first version of the CAN score is detailed in Wang et al, 2013.

The Nosos model is a model that uses data on risk factors combined with VHA-specific demographics and pharmacy data to produce predictions of individuals' health care costs in the coming year. The predicted mean cost for an individual is then compared to the national average in the VA to produce a risk score. For instance, a Nosos score of 3 would indicate that a patient's predicted health care costs for the coming year will be 3 times the national average.

Our project aims to complement the CAN score by providing predictions of who is at risk of incurring high healthcare costs. It aims to extend the work done by the Nosos model by incorporating a wider array of variables and focusing on modeling costs in the upper tail of the distribution directly.

Quantile Regression for Prediction and Classification

Quantile regression is not as widely known or used as its counterpart, least-squares linear regression. John Tukey, inventor of the box plot and pioneer of exploratory data analysis, offered the following description of quantile regression in a 1977 paper with Frederick Mosteller: John Tukey

What the regression curve does is give a grand summary for the averages of the distributions corresponding to the set of of x’s. We could go further and compute several different regression curves corresponding to the various percentage points of the distributions and thus get a more complete picture of the set. Ordinarily this is not done, and so regression often gives a rather incomplete picture. Just as the mean gives an incomplete picture of a single distribution, so the regression curve gives a correspondingly incomplete picture for a set of distributions.

For the purposes of this project, we are not as interested in the quantile regression itself as we are in the ability of quantile regression to produce binary classifications without introducing an artificial dichotomization of the continuous cost outcome. We prefer it over logistic regression for exactly that reason. By modeling the outcome on its original scale and delaying dichotomization into high/low cost categories until the very last modeling step, we expect to extract more information from the data and therefore produce better predictions. Details about how quantile regression can be used to produce binary classifications can be found in Maidman and Wang, 2016.

Modern Statistical Model Fitting Methods

Flexible Modeling of Predictors through Splines

Continuous predictors are often represented in regression models by a single slope parameter. While this representation is convenient and easily interpretable, it can perform poorly when the relationship between the outcome and the predictor is not close to linear. Regression splines offer a practical and straightforward approach to modeling continuous predictors without imposing linearity constraints or searching for transformations to achieve linearity.

The figure below shows three datasets where a predictor is related to the outcome in non-linear fashion with fitted regression spline curves in blue. In each case, the regression spline is able to detect the non-linear relationship without prespecifying its form. splineplot

Penalization to Control Overfitting

Overfitting is one of the most important phenomena in statistics. Overfitting refers to the fact that more complex models can provide excellent fits to the data at hand but can fail miserably when used to predict new observations. A rudimentary example of the overfitting phenomenon is shown below, in which an outcome Y is regressed on a single variable X using a polynomial of increasing degree.

overfitting

As the degree of the polynomial increases, the fitted curve adheres closer and closer to the data points. This reduces the in-sample error because the curve is becoming better and better at predicting the individual data points used to fit the curve. Such highly specific fits will not perform very well at predicting new data because they are too optimistic that future data will look exactly like past data.

In general, there is a tension between predictive accuracy and model complexity. If the model is too simple, predictive accuracy will suffer because the model is not capturing the underlying dynamics of the predictor/outcome relationship. If the model is too complex, predictive accuracy will suffer because the model is too closely tied to the data at hand. The goal of a model fitting procedure is to find the ideal level of complexity.

One powerful technique for achieving the correct degree of model complexity is parameter penalization. In a penalized model, the coefficients associated with some or all of the predictor variables are constrained according to some penalty function. The degree of penalization therefore determines the complexity of the model. A large penalty pushes us towards a simpler model, while a small penalty allows for a more complex model. We can choose the degree of penalization through techniques such as cross-validation. Details about penalized quantile regression models can be found in Sherwood and Wang

Distributed Algorithms for Large-Scale EHR Data

The VHA's EHR system contains thousands of variables measured on millions of Veterans. Fitting complex statistical models to data on this scale is challenging for several reasons. First, the time it takes to fit a model to data on that scale using standard techniques may be prohibitively long. Second, depending on the dimensionality of the data, computing resources may be too limited.

The easiest way of getting around this issue would be to use a smaller random subsample of the data to train the model on. However, such an approach obviously does not take full advantage of the data at hand. Our project employs an alternative approach based on the Alternating Direction Method of Multipliers (ADMM) algorithm that will allow us to fit our preferred statistical model at scale. The ADMM algorithm allows us to do this by working in a distributed manner. The model estimation procedure is split up into multiple smaller sub-models, which are then fit and recombined.

Boyd 2010 provides an overview of the ADMM algorithm. Yu 2017 details the application of the ADMM algorithm to quantile regression.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages