Introduction

The Coronavirus Disease 2019 (COVID-19) pandemic continues to cause hospitalizations and deaths worldwide. Over two years into the pandemic, there are very few therapeutic options proven to improve hospital outcomes due to infection with SARS-CoV-2 [1]. Early on, several observational studies posited that statin use could offer some therapeutic benefit to hospitalized COVID-19 patients, such as lower rates of intubation or mortality [2,3,4,5,6,7,8]. Additionally, experimental studies revealed potential mechanisms for this benefit by demonstrating that statins may hinder viral entry and viral replication as well as reduce inflammatory response to infection and inhibit pro-thrombotic processes [5, 9,10,11,12,13,14,15,16,17,18,19].

To date, only one randomized trial (INSPIRATION-S, ClinicalTrials.gov Identifier: NCT02735707) has concluded that investigated the effect of statin initiation with hospitalization outcomes. In this trial limited to those admitted in the ICU, atorvastatin use was not associated with any mortality reduction [20]. Due to the limited number of randomized trials of statin use powered to evaluate effects on COVID-19 outcomes and the difficulty of evaluating pre-admission interventions (e.g., antecedent statin use) with trials, observational data offer opportunities to evaluate associations of statin use with COVID-19 outcomes. However, interpretations of such analyses have limitations, particularly related to confounding. Individuals taking statins are generally older and have more comorbidities, which apart from statin use confer higher risks of worse COVID-19 outcomes but may also exhibit higher rates of health protective behavior than non-users [13, 15, 21, 22]. Many observational studies of the associations between statins and COVID-19 outcomes are confounded and have produced conflicting results[23,24,25]. Meta-analyses of observational studies suggested an overall protective association [26], but pooling results only improves precision of the estimate of the association but cannot address confounding of antecedent statin use and clinical outcomes inherent in the study design [27]. Well-designed observational studies using rigorous analytical approaches can offer timely evidence to support clinical decision making and practice guidelines [28].

In this study, we compared the risk for progression to severe inpatient outcomes between antecedent statin users and non-users who were admitted for COVID-19 across a multi-hospital health system in Chicago. We leveraged nearly two years of data drawn from a diverse patient population and applied state-of-the-art doubly robust methods combined with machine learning techniques to control for confounding by indication while maximizing statistical efficiency [29].

Methods

Population and data source

We used the Northwestern Medicine Electronic Data Warehouse (NMEDW) to conduct an observational cohort study. We included in the analysis any adult who was: (i) 40 years or older, (ii) admitted for at least 24 h in any hospital that was part of the Northwestern Medicine Health System from March 1, 2020 to Sep 27, 2022, (iii) tested positive for SARS-CoV-2 between 30 days before and up to seven days after first date of admission and (iv) not admitted for elective procedures, therapy or drug infusions.

This study received ethical approval from the Northwestern University Institutional Review Board (IRB #: STU00212267).

Exposure

The main exposure of interest was antecedent statin use defined as any statin prescription existing at least 30 days prior to COVID-19 hospital admission. Absence of any recorded statin prescription implied not taking statins. Individuals who began statins 29 days prior to through the end of COVID-19 hospital admission were not considered antecedent statin users; these individuals were still included in our analysis to maintain sample size. As their data hypothetically would bias our results towards the null, we conducted a sensitivity analysis excluding this group (see below).

Outcomes

The primary outcome for the antecedent exposure was a composite end point with any of three adverse inpatient outcomes: (i) direct admission or transfer to the intensive care unit (ICU), (ii) intubation, and (iii) inpatient death. We also conducted analyses using each outcome separately.

Potential confounders

We considered the following variables as confounders and associated with both the probability of antecedent statin use and inpatient outcomes based on clinical knowledge of authors and prior studies on this topic: age, gender, body mass index (BMI) 30 or higher, race category, Hispanic ethnicity, SARS-CoV-2 vaccination status at baseline, county of residence, co-morbidities (asthma, cancer, cardiovascular disease, chronic obstructive pulmonary disease, chronic liver disease, diabetes, HIV, hypertension, immune disorders, and renal disease) based on International Classification of Diseases (ICD) codes, and month of admission (see Additional file 1 for list of ICD codes and SARS-CoV-2 vaccine status definition). In sensitivity analysis, we also included variables associated with the outcome but not necessarily antecedent statin use: site of admission, and clinical presentation severity indicators (heart rate, respiratory rate, oxygen saturation, and systolic blood pressure).

Statistical analysis

Estimating the association between antecedent statin use and inpatient outcomes in observational data becomes obscured by confounding by indication. Antecedent statin users are likely incomparable with non-users across several factors that might increase their risk for adverse inpatient COVID-19 outcomes. For example, people with history of cardiovascular disease are more likely to be put on statins and are more likely to die due to complications of COVID-19. We addressed this incomparability in two ways. First, we restricted the analysis to those 40 years and older to be commensurate with practice guidelines [30], and to ensure that our non-user population was not systematically younger than statin users. Second, we adjusted for non-exchangeability of individuals by using inverse probability weighting (IPW) to adjust for baseline factors. IPW was selected over propensity score matching as it allows for easier interpretation of findings in relation to the original population, and avoids artificially induced selection bias [31].

The usual inverse propensity weighting (IPW) approach uses a main effects multivariable logistic regression model to create weights that represent treatment assignment, and then applies that weight in the outcome model, here a logistic regression model adjusting only for treatment status, to calculate the quantity of interest (an adjusted risk difference). This approach assumes correct specification of the treatment assignment model to interpret estimates as unbiased. Augmented IPW (AIPW), a doubly robust method, further adjusts the outcome model for a priori specified covariates, relaxing this assumption to correct specification of either the treatment assignment or outcome models. Here, we combined AIPW with targeted maximum likelihood estimation (TMLE), a state-of-the-art statistical technique, to incorporate machine learning approaches into the model specification for AIPW while maximizing statistical efficiency[32, 33]. This incorporation of flexible functional forms in both the treatment assignment and outcome models maximizes our chance of satisfying assumptions about model specification. In this analysis, we chose to use Super Learner [34], an ensemble-based machine learning technique, to create the treatment assignment and outcome models, as it has demonstrated statistical superiority in the presence of model misspecification [35]. Following guidelines [36], we included five learners that cover many frequently used machine learning techniques: mean, main effects logistic regression, lasso logistic regression, random forest, and gradient boosted trees. Continuous variables were specified as restricted cubic splines to offer maximum flexibility. All analyses were run in R 4.1.0 using the following packages: SuperLearner [34], tmle [33], and AIPW [32].

For sensitivity analysis, we repeated the analysis comparing only those who were antecedent users and never users (people who never started statins even during admission); in theory this sensitivity analysis should be biased away from the null. We also repeated the analysis using the singly-robust IPW approach where weights were either estimated using logistic regression or using gradient boosted trees with the WeighIt package [37].

Finally, we repeated the main analysis using a three-category exposure: high intensity statin, low-to-moderate intensity statin, and non-user, to assess if intensity of treatment was associated with the outcome. High intensity statin was defined as atorvastatin ≥ 40 mg or rosuvastatin ≥ 20 mg and all other statin prescriptions were classified as low-to-moderate intensity, as systematically defined previously [38]. For this sub-analysis, we used classic TMLE (as implemented in tmle3 [39]) because the current AIPW package only supports binary exposures.

Results

Overview of the cohort

A total of 19,342 persons were admitted for COVID-19 from March 1, 2020 to September 29, 2021 in the Northwestern Medicine system. After applying our inclusion criteria, we included 15,524 in our analytic sample for the antecedent use analysis. Patients not meeting inclusion criteria tended to be younger, female, Hispanic, and had lower prevalence of comorbidities. (Additional file 2: Table S1).

Comparison of antecedent users and non-users

In our analytic sample, 4412 (28%) were antecedent statin users and tended to be older, male, white, received at least one COVID-19 vaccine dose, and have a comorbidity such as asthma, hypertension, diabetes, and cardiovascular disease (Table 1). Balance between groups was achieved by using weights estimated using a stacked learner. Alternative weights estimators also achieved balance (Additional file 3: Figures S1-S3).

Table 1 Demographics and Clinical Characteristics at COVID-19 Admission of the Analytical Cohort, Northwestern Medical Group, March 2020-September 2022

In unadjusted analyses, a significantly lower proportion of statin users experienced the composite outcome (14.8% vs 19.3%, p < 0.001). The component events were also significantly lower in statin users: ICU admission (13.9% vs 18.3%, p < 0.001), intubation (5.1% vs 8.3%, p < 0.001), and inpatient deaths (4.4% vs 5.2%, p = 0.04) (Table 1).

Main analysis

Using AIPW with TMLE and stacked learners, we found that antecedent statin users had a minimal, but significantly lower risk of the composite outcome (Risk difference (RD): − 3.2, 95% CI: − 4.6 to − 1.9) after adjusting for baseline covariates. Per outcome analysis, we found that antecedent statin users had significantly lower risk of ICU admission (RD: -3.2, 95%CI: − 4.5 to − 1.8) and intubation (RD: − 1.6, 95%CI: − 2.4 to − 0.80). However, risk of inpatient death (RD: − 0.40, 95%CI: − 1.2 to 0.3) were comparable between the two groups. Conclusions remained roughly the same even after adding site of admission (i.e., which hospital within the system) and clinical presentation on admission in the models (Table 2).

Table 2 Adjusted risk differences for adverse inpatient outcomes between antecedent statin users and non-users, Northwestern Medical Group, March 2020-September 2022

Sensitivity analysis

Findings were robust to sensitivity analysis. Using an approach where weights were derived from logistic regression or boosted trees also did not lead to materially different conclusions. (Additional file 2: Table S2) Findings were also similar if the analysis was restricted to antecedent users and never users (i.e., did not start statins during admission) although the differences were smaller (e.g., RDcomp: − 1.9, 95%CI: − 3.5 to − 0.2). (Additional file 2: Table S3).

Exploratory analysis using a three-category exposure showed that non-users had higher estimated rates of the composite outcome, ICU admission, and intubation with no apparent dose–response curve (i.e., declining risk with increasing intensity) for these outcomes. Interestingly, high intensity users were found to have significantly lower inpatient mortality compared to non-users while the low-to-moderate intensity users had comparable mortality risk versus non-users (Table 3).

Table 3 Adjusted rates and risk differences for adverse inpatient outcomes according to statin intensity, Northwestern Medical Group, March 2020-September 2022

Discussion

Using state-of-the-art doubly robust techniques and 31 months of pandemic data, we observed that antecedent statin use was associated with minimally lower rates of the composite COVID-19 hospital outcome of ICU transfer, intubation, or inpatient death The observed difference between antecedent users and non-users was driven by the difference in ICU admission and intubation rather than death. Importantly, the clinical significance of these small differences were minimal. Compared to other published studies, an early large observational study concluded that antecedent statin use was associated with lower risk of adverse outcomes, including death [4]. However, other large studies conducted in Denmark, Italy, and Spain have failed to detect such benefit [23,24,25]. Meta-analyses on this issue suggested that there may be a mortality benefit with antecedent statin use [26] although one of the meta-analyses [25] pooled studies that examined both antecedent and in-patient statin use. While our work differs with the INSPIRATION-S trial in the timing of statin use, our findings are complementary to INSPIRATION-S which found no mortality benefits from statin initiation during ICU admission [20].

Statins were considered for mitigating COVID-19 severity due to their known effect on cholesterol levels. Cholesterol has been linked to proinflammatory effects that were hypothesized may lead to poor COVID-19 outcomes due to activation of macrophages and dysregulation of NF-κB and TNF alpha pathways [5, 10, 16,17,18]. Furthermore, cholesterol has also been associated with the viral entry process [11, 12, 15, 19]. By reducing cholesterol, statins were hypothesized that statins would lead to less severe disease. This is in addition to any improvements in cardiovascular health from statin exposure [40]. Had these biologic effects been confirmed clinically or epidemiologically, statins might have been seen as good treatment candidates given their low cost (compared to antivirals) and availability even in low-resource settings. However, our findings related to inpatient mortality suggested that the presumed effects of statins, if present, are likely small and high intensity statins may be needed to be clinically apparent.

In addition, unmeasured confounders could also explain the benefits we observed in the antecedent statin analysis. Antecedent statin use could be a marker of unmeasured confounding related to care differences or lower severity of COVID-19 at hospital admission and, thus lower probability of requiring ICU level care. For example, since patients on statins are older and with cardiovascular co-morbidities or risk factors [41], clinicians may have admitted those with milder clinical disease for hospital observation or to receive intravenous anti-viral therapy (remdesivir) due to concerns about risk of progression to more severe COVID-19 [42, 43]. If true, such practice might have paradoxically led to lower rates of progression to ICU admission among statin users as observed in the unadjusted results. Thus, after using doubly robust methods to better control for confounding, antecedent statin use was associated with minimal, but significant lower risk of severe COVID-19-related outcomes of ICU admission and intubation; however, we were not able to corroborate a statin-associated mortality benefit found by prior studies. Therefore, our study does not provide evidence to support utilization of antecedent statins to improve inpatient COVID-19 outcomes; this is consistent with current COVID-19 treatment guidelines [1].

The methodological approach in this study has some key differences from prior work that could explain our robust findings [44, 45]. First, this study period covered almost 24 months, which allowed us to capture several stages of the pandemic, including the period after introduction of vaccines and the Omicron wave in mid-2022. Our analysis thus evaluated antecedent statin use across a wide context of care and several waves of virus variants. Second, we restricted our exposure to antecedent use. This helps us ensure a consistent exposure unlike other studies where both inpatient initiation and antecedent use were grouped together as statin users. Third, we used methods that are less susceptible to misspecification of the weights and outcome models. While many studies utilized weighting or matching to address confounding [45], none used doubly robust techniques making their approach susceptible to bias from model misspecification. Finally, we chose weighting over matching. While the issue of weighting versus matching is widely discussed in the causal inference literature [31], we chose weighting because it retains as much of the sample as possible and preserves interpretability of our findings to the original population.

This work has several key limitations. First is that we used the EHR to measure outcomes, exposures, and covariates as such were limited to data recorded in the EHR. This could have resulted in misclassification of exposure where an individual’s use or non-use of statins might have been misclassified if their records had not been updated. Further, we assumed that patients identified as being on a statin in the EHR were taking this medication whereas it is possible for patients to be poorly adherent to prescribed drugs. We could have also misclassified some diagnoses of comorbidities due to reliance solely on ICD codes [46]. Second, despite our best efforts and novel methods, we cannot fully account for unmeasured confounding and healthy-user bias. Healthy-user bias suggests that people who are on antecedent statins will be healthier than people who are not on statins due to higher rates of health protective behavior. For example, statin users were compliant with pneumococcal vaccination [47]. We observed this in our data as well with antecedent statin users more likely to be vaccinated for COVID-19 by time of admission. Meanwhile, confounding by indication suggest that those on statins had worse health than people who were not on statins because they do not need to be on statins and had better cardiovascular health profiles. These are pathways that potentially bias the estimation in different and diverging directions (48). If healthy-user bias was more dominant, we would expect significantly better outcomes in the treated group. This could be the case only for ICU admission and intubation but not deaths in the main analysis. This could also explain the mortality benefit from high intensity statin use. Unfortunately, our use of EHR data alone limit our ability to thoroughly address these questions without availability of supplemental information on pre-COVID-19 health and behavior. Variables such as lipid levels could be proxies, however, the lipids variables were available differentially (nearly absent in non-users) and we therefore judged inclusion of lipids in modeling would likely add bias to the study rather than mitigate bias. Third, is that we limited our analysis to adults at least 40 years old since we observed very little antecedent statin users in younger individuals. While it helped improve balance, it also limited generalizability to younger adults and comparability to other studies that did not impose this criterion. Finally, we can only measure association and not the causal effect of antecedent statin use on inpatient outcomes. To measure a causal effect requires emulation of a target trial which is not feasible with the dataset given that we only have complete data among those who were subsequently admitted for COVID-19.

In conclusion, using our EHR we performed a clinical cohort study to evaluate the association of antecedent statin use with key severe outcomes of people hospitalized for COVID-19 after carefully adjusting for confounding. Using state of the art doubly robust methods, our data suggests that antecedent statin users had a minimal, but significantly lower risk of the composite outcome. Upon further analysis, the minimal reduction in composite outcome risk was driven mostly by ICU admission or intubation and not by a reduction in mortality, contrary to some previous studies. Furthermore, these results were not affected by statin dose intensity. This study highlights the complexities and urges caution when using observational clinical care data to investigate associations that may be confounded by multiple measured and unmeasured factors. While our findings indicate a lack of mortality benefit in hospitalized COVID-19 patients, we found no evidence of harm. Thus, although our observations were insufficient to strongly recommend for or against statin use specifically related to COVID-19, statin use should still of course be encouraged for conditions where it has a primary indication such as atherosclerotic cardiovascular disease primary and secondary prevention.