Caveats on Using Firth's Penalization in the Model-Based Regression Standardization for Rare Diseases.
Model-based regression standardization, also known as the parametric g-formula, is widely used to estimate marginal effect measures. However, in rare disease settings, the small number of observed events relative to the number of covariates can lead to (quasi-)complete separation, resulting in non-convergent estimates in the regression models. Firth's penalized likelihood estimates are a common solution to this issue, ensuring finite parameter estimates even for separated data. While effective for estimating regression coefficients, Firth's method introduces bias into model-based regression standardization because of its tendency to shrink the predicted probabilities to 0.5, leading to discrepancies between the predicted and observed event rates. We examined the implications of applying Firth's method to model-based regression standardization, illustrating its potential bias through an empirical study on surgical site infections (SSI) in orthopedic surgeries. We also proposed two ad hoc corrections (i.e., Firth's logistic regression with intercept correction and added covariate) to mitigate this bias and evaluated these methods via simulation studies, comparing them with propensity score-based approaches. Finally, we applied the proposed method to assess the association between SSI, a rare disease, and smoking status in a clinical database of orthopedic surgeries.
Introduction
Model‐based regression standardization [1], also known as parametric g‐formula or g‐computation for fixed exposures [2], is a popular method for the estimation of marginal effect measures in both randomized and observational studies [3,4]. For example, logistic regression models for binary outcomes provide not only the covariate‐conditional odds ratios by exponentiated regression coefficients but also the marginal “counterfactual” risks by predicted outcomes under exposed and unexposed conditions, from which risk differences and ratios can be derived as marginal effect measures.
In observational studies of rare diseases, we may encounter a small number of events relative to the number of confounding variables which should be adjusted for in the models. In such cases, a problem known as (quasi‐)complete separation may occur, and the nonexistence of the maximum likelihood estimates of the logistic regression models can be problematic [5,6,7]. Even if statistical software or packages provide finite estimates in datasets with “separated” outcomes, the obtained values are contingent on the stopping criterion of the iterative computation in each program [8]. Furthermore, the estimated standard errors of the regression parameters increase to near infinity [7,9]. If such separation matters, then model‐based regression standardization would also provide invalid effect estimates.
A convenient solution to this convergence issue in generalized linear models, including logistic regression models, is to use Firth's penalized likelihood estimates [6,10]. This approach may yield finite estimates, even when the maximum likelihood estimates would become infinite owing to separation [6,9]. Originally designed to correct for first‐order bias in maximum likelihood estimates [10], Firth's penalization is applicable even in situations with sufficient event counts, regardless of the presence of separation [6,8,9,11,12,13]. Hence, it may be attractive to apply Firth's method to the estimation of regression parameters in model‐based standardization estimators in rare disease settings without practical concerns. However, the use of Firth's penalization in model‐based standardization has a problem similar to those previously reported by Puhr et al. [14] regarding biases in the estimation of predicted probabilities. Specifically, Firth's penalized likelihood estimates tend to pull the predicted probabilities toward 0.5, leading to a non‐negligible discrepancy between the predicted and observed event rates when events are extremely rare or common [14]. As model‐based standardization estimators are based on the predicted outcomes under different exposures, Firth's method may inflate rather than reduce bias in rare‐event situations, even if the regression coefficients in the model are accurately estimated. Our study examines the potential biases introduced by using Firth's penalized likelihood for estimating marginal effects, within the framework of a counterfactual model in causal inference, thereby underscoring the novelty of this research.
In this study, we illustrate the possible bias using Firth's method for model‐based regression standardization estimators, which has received little attention in the literature. In Section2, we introduce model‐based regression standardization estimators and Firth's method to estimate the underlying logistic regression models. Section3compares regression standardization estimators with or without following Firth's penalization, with illustration using stratified data from a study of surgical site infection (SSI) in orthopedic surgeries. This section also presents twoad hocmethods of Firth's penalized estimates that correct the predicted probabilities such that their average equals the observed event rate in each exposure group. These regression standardization methods are evaluated along with propensity score‐based methods using simulation studies in Section4in terms of bias and convergence rates. Finally, in Section5, the association of SSI (which is known as a rare disease) and smoking (a known risk factor for the infection) was analyzed in the database of orthopedic surgeries.
Regression Standardization Estimators Following Firth's Penalization
Notation and Assumptions
Letbe the outcome (1: event occurred, 0: event did not occur),be the exposure (1: exposed, 0: unexposed), andbe the set of confounding variables for patient(). Using a potential outcomeunder exposurewith thecausal consistencyassumption, that is,if[15], the marginal causal effect can be defined as the contrast of the potential outcome means
Hereafter, we omit the subscriptif it is unnecessary. This marginal “mean” effect (1) is identifiable from the probability distribution of observed data () if the following two assumptions are additionally met [15]: themean conditional exchangeability, i.e.,, and theconditional positivity, i.e.,, across possible support ofand for. Under these assumptions, we obtain the following identification formula:
whereis regression ofonevaluated at, andis the marginal density ofat.
Model‐Based Regression Standardization Estimators With and Without Penalized Likelihood
To estimate the identification formula (2) from the observed data, we may substitutewith the empirical distribution (i.e., the probability distribution that places probabilityat each observed value) andwith the estimates of the parametric regression models, including the unknown parameters. The model‐based regression standardization estimator [1], or the parametric g‐formula for a fixed exposure effect [2], is given by
whereis the outcome predicted from the estimated parametric model for patientby replacing the exposure statuswith.
The popular parametric model for the binary outcomeis a logistic regression model. For example,
wherefor. We typically estimate the parametersby the maximum likelihood, which is equivalent to solving the following score equations:
whereis the shorthand notation for regressors in the logistic model. Using the resulting maximum likelihood estimator, the model‐based standardization estimator can be expressed as follows:
whereis the inverse function of thefunction.
When the number of events is extremely small or large, the maximum likelihood estimateswould suffer from sparse data bias or even cannot be obtained because of the (quasi‐)complete separation [6,8,9,11,12,13]. In such cases, the standardization estimators would also become invalid. Firth's method circumvents such a difficulty by penalizing the likelihood function of logistic models, corresponding to solving the following “penalized” score equations [14]:
whererepresents the‐th diagonal element of the “hat” matrixsuch that, producing predicted outcomes at the Firth's maximum penalized likelihood estimates satisfying the equations (6).
The regression standardization estimators are obtained simply by replacingwithin (5). Although there is minimal bias inforin a correctly specified model [16], the standardization estimators based on Firth's penalized likelihood estimates may be biased owing to the known property of predicted outcome probabilities[14]. The predicted probabilities tend to be pulled toward 0.5, as described in the next section.
Discrepancy Between Standardization Estimators Following the Standard and Penalized Maximum Likelihood Estimation
Systematic Change in Predicted Probabilities Due to Firth's Penalization
Unlike the standard maximum likelihood method, the average predicted probability using Firth's method is not equal to the observed event rate [14]. Namely, (1) theaverageof the predicted probabilitiesis in between the average of predicted probabilities(which is equal to the event rate in a sample) and 0.5 and (2)eachpredicted probabilitytends to be pulled to 0.5 from[14,17]. To explain these results, we rewrite the penalized score equations (6) as follows:
This indicates that equations (6) augment the standard score equations (4) by introducing two artificial “copies”of the data, where the outcomes are replaced withand, and weighted by. Note thatsuch thatif the design matrix of a logistic model is full‐rank [14,17]. Hence, it is clear that the event rate in this “augmented” dataset, which is equal to average, is closer to 0.5 than the event rate in the original dataset, which is equal to average. Moreover, the above expression also provides insight that each predicted probabilitytends to be pulled toward 0.5 because one event () and one non‐event () with the sameare augmented with the same weightin the penalized equations (7). In fact, as illustrated in the next subsection, a simple condition exists that ensures that eachis closer to 0.5 thanif saturated regression models are used.
Hereafter, we assume the event rates to be much smaller than 0.5 in both exposure groups. Furthermore, becauseincludes an exposure indicator, the relationship above for the average probabilities remains true for each exposure group, leading to the following inequalities:
The standardization estimators also rely on the predicted outcomes under “opposite” exposure status, that is,. The standardization estimatorbased on Firth's penalized maximum likelihood estimator is
The first terms in the summation of RHSs of these equations are larger than their counterparts based on the maximum likelihood estimates. Unfortunately, however, we do not have further general results regarding the relationship between standardization estimators with and without Firth's penalization because the average “counterfactual” predictions (i.e., the second terms) may or may not become greater by Firth's penalization than that from maximum likelihood estimates in each exposure group.
However, as the next subsection demonstrates, we can derive a simple sufficient condition forto be larger thanfor the given combinations ofif we employ saturated logistic regression models. We defer the quantitative evaluation in more practical settings with parametric models, as well as the examination of whether the discrepancy between these standardization estimators leads to a bias, to the next section.
Illustration Using Stratified Data
Table1represents the data from the Society for Orthopedic Surgical Site Infection (OSSI), which consists of seven hospitals in the metropolitan area of Japan [18]. Briefly, the Society for OSSI prospectively collected the preoperative, intraoperative, and postoperative variables of consecutive patients undergoing orthopedic surgery in a clean surgical environment between 2013 and 2016. Overall, 10 943 eligible patients were enrolled, and 148 variables were measured.
Table: Smoking–surgical site infection (SSI) association stratified by American Society of Anesthesiologists (ASA) classification among patients undergoing arthropathy surgeries in the data obtained from the Society of OSSI (n=2717).
Prognostic factors for SSI events include age, sex, American Society of Anesthesiologists (ASA) classification of severity, and diabetes, with smoking being particularly important [19]. In the present study, we examined the association between smoking habits (: smoker,: non‐smoker) as an exposure and incidence within 30 days after surgery (: occurrence,: no occurrence) as an outcome, adjusting for ASA classification (:,:) as a confounder. Postoperative complications, including SSI, are generally more common in smokers than in nonsmokers, and a previous report revealed that perioperative smoking cessation reduces SSIs [20]. In this database, most non‐arthritic surgeries required perioperative hospitalization, which led patients to stop smoking. Hence, Table1presents onlyarthropathic surgeries as an illustrative example as these patients were not necessarily hospitalized before surgery.
We modeled the conditional probabilities forin the stratified data in Table1using the saturated logistic model:
Using the estimated conditional probabilities from the estimates of the saturated model, the maximum likelihood–based standardization estimates (3) yielded:
Although Firth's penalization can be applied to the saturated logistic model using statistical software, it is mathematically equivalent to obtaining the maximum likelihood estimates from a contingency table with pseudo‐counts ofadded to each cell of Table1[6]. As Firth's penalization affects only the estimation of conditional probabilities, the resulting standardization estimates are as follows:
Hence,for bothin this dataset.
There is a sufficient condition for Firth's penalization to inflate the maximum likelihood‐based standardization estimates using saturated regression models. As demonstrated above, the predicted outcome probabilityfrom the saturated regression models is equal to the exposure‐specific observed event rates in confounder stratum. We also demonstrated that Firth's penalization in the likelihood of the saturated regression model was equivalent to the maximum likelihood estimation applied to the augmented data, where all stratified cell counts are increased by 0.5. Letdenote the number of patients exposed toin the confounder stratum(; for example, in Table1,such thatand), of whichpatients develop events. The predicted outcome underfollowing Firth's penalizationis larger than the maximum likelihood prediction,if and only if, or. In other words, this inequality suggests that the event rate in the exposureis lower than 0.5, in stratum. Hence,is necessarily greater thanif the observed event rates in the exposureare smaller than 0.5 across all strata.
Ad Hoc Modiications of Standardization Estimators
To address the overestimation (relative to the standard maximum likelihood) in regression standardization estimators following Firth's maximum penalized likelihood, we apply two modified algorithms proposed in the context of prediction modeling: Firth's logistic regression with intercept correction (FLIC) and added covariate (FLAC) methods [14]. Both methods are implemented using the R packagelogistf(https://cran.r‐project.org/web/packages/logistf/index.html) [21]. The following simple modifications match the average predicted probabilities with the observed event proportions:
Both the maximum likelihood fit for FLIC and the (weighted) maximum likelihood fit with an added dummy variablewith weightin the augmented data for FLAC ensure the equivalence of the average predicted outcome and observed event rates in the original dataset [14]. To apply them to the model‐based regression standardization estimators, we replacein Equation (5) with the corresponding outcome predictions:
Table2depicts the results of the regression standardization based on the saturated logistic model presented in Table1. All Firth's estimates were obtained from logistic model fits using the R packagelogistf. While applying Firth's penalization can result in higher standardization estimates than those obtained using maximum likelihood estimation, FLIC and FLAC can mitigate this overestimation even when Firth's penalization is applied. However, in this analysis, we did not evaluate whether the deviation in Firth's method (2nd row) from the others should be considered a bias; this issue is addressed in the next section using simple simulations.
Table: Estimates of model‐based standardization in the stratified data from Table1using saturated logistic models with different fitting methods.
A Simulation Study
Data Generation
We evaluated the bias of model‐based regression standardization using distinct estimates(i.e., maximum likelihood, Firth's penalized maximum likelihood, FLIC, and FLAC) for estimating the marginal causal risks(), marginal risk difference, and the log marginal risk ratiothrough a simple simulation study, assuming situations with rare events and the possibility of separation occurring. Each simulation was repeated 1000 times. The simulations were performed using R version 4.2.2.
For datain each repetition, we generated 10‐dimensional latent variables from a multivariate normal distribution with mean vector fixed at zero and covariance matrix, where diagonal elements were set to 1 and off‐diagonal elements were set to. These latent variables were then converted into binary variablesusing an indicator function for values greater than zero. Additional details of the data‐generating parameters for the exposure and outcome models are provided in theSupporting Information, with the full set of parameters listed inSupporting InformationTables1and2.
and outcome follows the logistic model
wherewas set as.
Exposure probability was set to, and the event rates were 20%, 10%, 5%, 3%, 1%, and 0.5%. For each event rate, the frequency of separation was controlled by the correlation between the latent normal variables behind the confounders (0, 0.25, and 0.5). We manipulated the interceptsandto achieve the desired event rates.
As the analytical representation of true marginal risks and their contrasts (difference and log ratio) is not feasible, we numerically approximated the targeted values by directly generatingandwith a sample size of.
While our simulations were conducted under conditions that avoided separation in the propensity score model, we emphasize that the absence of separation does not a sufficient condition for satisfying the positivity assumption and/or ensuring adequate covariate overlap between the groups. Positivity violations can be either deterministic (precluding nonparametricidentifiability) or stochastic (affecting finite‐sampleestimability); separation in a propensity score model can be viewed as a manifestation of a lack of estimability, which may or may not result from (stochastic or deterministic) positivity violation [22]. Hence, in practical applications, the (deterministic) positivity assumption required for nonparametric identifiability should be assessed based on subject‐matter knowledge, and potential near‐violations of positivity should be diagnosed beyond checking for separation to ensure valid inference. To this end, the overlap of the covariates and estimated propensity score distributions between exposure groups should be examined visually and statistically [23]. Researchers should also be alert to sparsity in covariate strata, where random positivity violations can occur because of small sample sizes or high‐dimensional data. In practice, such sparsity may be identified by examining contingency tables of key categorical covariates, where empty or near‐empty cells may indicate limited support. In such cases, researchers may consider simple remedies such as collapsing categories or treating them as continuous covariates in regression and propensity score models. When inverse probability weights are used, the distribution of the resulting weights should also be examined. For example, estimated weights with very extreme values may indicate nonpositivity or model misspecification [24]. When extreme weights affect the stability of the analysis,ad hocmethods such as weight truncation may offer a better tradeoff between bias and precision. In our simulation, these issues were mitigated by design, but such diagnostics are essential when applying confounding‐adjustment methods to real‐world data.
Evaluated Methods and Performance Measures
Six estimation methods were compared. In addition to the maximum likelihood with or without the Firth method, including the FLIC and FLAC modifications, two propensity score‐based estimators were employed to reduce the number of adjustment variables in the outcome regression models. The first is the model‐based regression standardization estimator based on the logistic regression model, which adjusts for the estimated propensity scores instead of confounders. The second method is an inverse probability weighted (IPW) estimator. The maximum‐likelihood estimates of propensity scores were obtained through a logistic model for, namely. Both propensity score‐based methods have been demonstrated to circumvent instability owing to sparse data problems in rare disease settings [25,26,27,28,29,30].
Separation was detected by monitoring the standard error estimates of the parameters as established in [31]. We used the R packagedetectseparationto determine whether separation occurs by specifyingmethod = “detect_separation”in theglmfunction [32]. In addition, if no event occurs in either exposure group, maximum likelihood estimates without Firth's penalization and propensity score‐based estimates cannot be obtained from such datasets. We recorded them as “Not Applicable (NA)” and did not include them in the summary measures.
We estimated the marginal risksand, along with their differences and log‐transformed ratios. The asymptotic standard errors were estimated using multivariate delta methods (for regression standardization estimators) or the (conservative) sandwich estimator (for IPW estimators). The estimates were evaluated using bias (i.e., estimated − true effect), relative bias (i.e., bias divided by true values inSupporting InformationTable3), Monte Carlo standard error (MCSE), mean estimated standard error (MESE), and coverage proportion of the 95% confidence interval. To assess the reliability of the simulation results, we evaluated Monte Carlo standard errors (MCSE) and mean estimated standard errors (MESE). Across all scenarios, MCSE values were small relative to the estimated effects, and MESE closely matched the empirical standard deviations, indicating that the stable and reliable inference. As the true effect is substantially small, the relative bias is reported in the main text to clarify the extent of bias against the true effect, whereas the bias itself is reported in theSupporting Information. The R code for the simulation experiments is provided in theSupporting Information.
Results
Among 1000 replications, separation occurred only in the scenario with an event rate of 0.005 under a sample size of 2500; the separation rates were(between‐covariate correlation: 0),(correlation: 0.25), and(correlation: 0.5), resulting in “NA” values for maximum‐likelihood estimation without Firth's penalization (seeSupporting InformationTable2). For propensity score‐based estimators, we excluded replications in which at least one cell in thecontingency table had zero counts (seeSupporting InformationTable2). Exclusions were negligible in most scenarios but increased sharply when events were rare. At an event rate of, exclusions ranged fromtoof replications (0–493 out of 1000), depending on the sample size and the between‐covariate correlation. Accordingly, PS‐based results were summarized using a scenario‐specific denominator of, wheredenotes the number of excluded replications.
Figures1,2,3,4shows the relative bias of each method, and the relative bias of the unadjusted risk estimates is shown inSupporting InformationFigure1. As expected, the relative bias was larger at smaller event rates for the regression standardization methods, especially for the maximum likelihood and Firth's estimates. This trend was not observed in the propensity score‐based methods. Increasing the correlation between covariates did not necessarily increase the bias for all methods.
![Relative bias forE[Y(1)]andEY(0). The compared methods are regression standardization with maximum likelihood estimates (ML), ML not adjusted for confounding variables (Unadj), regression standardization following Firth's method (FML), regression standardization following Firth's method with corresponding modification (FLIC, FLAC), regression standardization with propensity score‐adjusted model (PS‐adj), and inverse probability weighted estimates (IPW).](https://pub-4f2af807d45642319f8e7f07a4c88770.r2.dev/PMC13288324/SIM-45-0-g003.jpg)
Relative bias forE[Y(1)]andEY(0). The compared methods are regression standardization with maximum likelihood estimates (ML), ML not adjusted for confounding variables (Unadj), regression standardization following Firth's method (FML), regression standardization following Firth's method with corresponding modification (FLIC, FLAC), regression standardization with propensity score‐adjusted model (PS‐adj), and inverse probability weighted estimates (IPW).
![Relative bias forE[Y(1)]−E[Y(0)]andlog(E[Y(1)])−log(E[Y(0)])(n=500). The compared methods are ML, Unadj, FML, FLIC, FLAC, PS‐adj, and IPW.](https://pub-4f2af807d45642319f8e7f07a4c88770.r2.dev/PMC13288324/SIM-45-0-g002.jpg)
Relative bias forE[Y(1)]−E[Y(0)]andlog(E[Y(1)])−log(E[Y(0)])(n=500). The compared methods are ML, Unadj, FML, FLIC, FLAC, PS‐adj, and IPW.
![Relative bias forE[Y(1)]andEY(0). The compared methods are ML, Unadj, FML, FLIC, FLAC, PS‐adj, and IPW.](https://pub-4f2af807d45642319f8e7f07a4c88770.r2.dev/PMC13288324/SIM-45-0-g001.jpg)
Relative bias forE[Y(1)]andEY(0). The compared methods are ML, Unadj, FML, FLIC, FLAC, PS‐adj, and IPW.
![Relative bias forE[Y(1)]−E[Y(0)]andlog(E[Y(1)])−log(E[Y(0)])(n=2500). The compared methods are ML, Unadj, FML, FLIC, FLAC, PS‐adj, and IPW.](https://pub-4f2af807d45642319f8e7f07a4c88770.r2.dev/PMC13288324/SIM-45-0-g004.jpg)
Relative bias forE[Y(1)]−E[Y(0)]andlog(E[Y(1)])−log(E[Y(0)])(n=2500). The compared methods are ML, Unadj, FML, FLIC, FLAC, PS‐adj, and IPW.
When we focused on rare‐event scenarios prone to separation (event rate 0.005 with nonzero between‐covariate correlation), the relative bias ofatranged fromtofor maximum likelihood estimation and fromtofor Firth's method acrossand; FLIC and FLAC exhibited smaller ranges. A similar pattern was observed for the marginal risk differences. At, the qualitative patterns were consistent with those at; the relative bias increased as the event rate decreased for regression‐standardization methods, particularly for maximum likelihood estimation and Firth's method, whereas FLIC and FLAC showed comparatively smaller biases. The ranges were wider owing to more frequent separation and, for propensity score‐based methods, exclusions based on zero cells in thetable; however, the overall conclusions regarding relative performance and coverage remained unchanged.
Relative biases in the propensity score‐based methods were generally larger than those in the four multivariate‐adjusted regression model‐based standardization methods. Specifically, propensity score‐adjusted regression standardization exhibited a non‐negligible bias, which may be explained by model misspecification due to including propensity scores rather than confounders in the outcome regression models. The IPW estimator provides relatively large biases, especially under large correlations between confounders. This is possible because correlation may have caused instability in the propensity score estimates, which is known to result in finite‐sample bias in weighted estimators. In contrast, propensity score‐based methods demonstrated no consistent monotonic trends across event rates. For propensity score‐based estimators, we excluded replications in which at least onecell had zero counts, according to our pre‐specified rule (seeSupporting InformationTable2). As a result, summaries are reported using a scenario‐specific denominator of, wheredenotes the number of excluded replications. In rare‐event settings (event rate 0.005), such exclusions ranged fromtoof replications, depending on the sample size and the correlation structure.
The MCSE and MESE (seeSupporting InformationFigures2and3) were comparable between the methods across all scenarios. Across all scenarios and estimators, the ratios of MCSE to MESE were generally close to 1 (ranging approximately from 0.9 to 1.5), indicating that the estimated standard errors were reasonably well calibrated. No systematic pattern of severe miscalibration was observed. The ratios of MCSE to MESE are provided inSupporting InformationTables4to7for completeness. We defined “approximately nominal”coverage as(with 1000 replications, MCSE is approximately 0.7 percentage points, corresponding to a range of–). Under this criterion, thecoverage rates of all methods, except for the maximum likelihood estimator, were nominal in most scenarios (Supporting InformationFigure3). The undercoverage of the maximum likelihood estimator was concentrated in settings with frequent separation, which reduced the yield of finite estimates (separation rates of up toin the rare‐event scenarios).
Analysis of the Data From the Society of OSSI
We analyzed the data from the Society for OSSI (Section3.2) in a more realistic manner by adjusting for multiple confounders using parametric models. Note that maximum likelihood estimates under the absence of events in at least one level of each categorical covariate may lead to non‐convergent estimates or produce “NA” results dependent on the “stopping” criteria of a fitting procedure used in statistical packages. We used theglmfunction in the R package to fit the models using maximum likelihood.
The outcome of interest was the occurrence of SSI within 30 days of surgery, with smoking as the exposure variable. We estimated the marginal causal risksandand their difference and ratio using the methods compared in the simulation experiments. Based on a prior publication from the OSSI study [18], we adjusted for the two distinct sets of covariates as linear terms. Adjustment Set 1 included age category (20–29, 30–39,…, 90–99,100), gender, ASA classification (2,3), and presence or absence of diabetes. Adjustment Set 2 additionally included BMI category (< 25,25–< 30,), total surgical time (< 60, 60–150,min), postoperative drainage duration (none, < 48, 48 h or more), presence of rheumatoid arthritis, timing of prophylactic antibiotics (none, < 24, 24 h or more), highest postoperative blood glucose level (< 200 mg/dL,200 mg/dL, not measured), surgical duration (hours), and blood loss (ml). These variables were selected based on their clinical relevance.Supporting InformationTable8presents the distribution of variables among smokers and nonsmokers.
Table3shows a series of estimates. The results after adjusting for Adjustment Set 1 are similar to those in Table2, which stratifies the data only by diabetes. Note that parametric modeling by logistic regression with linear terms circumvents the quasi‐complete separation of outcomes by model parameters, which is observed in the stratified data (i.e., the saturated model) in Table1. With Adjustment Set 2, the maximum likelihood estimates could not be obtained owing to quasi‐complete separation. Firth's penalized likelihood estimates provide larger estimates for both marginal risks,and. Correcting these estimates using FLIC and FLAC decreases risk by approximately. The propensity score‐based IPW estimates provide a slightly lower risk under the exposed, resulting in a smaller risk ratio than that obtained by the other methods.
Table: Estimates of the marginal risk difference and ratio by adjusting for confounding variables by logistic regression model or propensity score model in arthritic patients from the Society of OSSI data (n=2717).
Discussion
Using real and simulated datasets, this study points out caveats in the application of Firth's method to regression standardization estimators, which have received little attention in the context of causal inference, and evaluates a simple remedy for them. In particular, Firth's method has a non‐negligible bias when estimating marginal counterfactual risks (and their difference) in situations where outcome separation occurs. These biases can be reduced byad hocmodifications such as FLIC and FLAC.
Our simulations revealed that in situations where outcome separation occurred, the regression standardization estimators following Firth's penalized likelihood estimation of logistic models yielded approximatelyrelative bias. These biases do not necessarily cancel out when estimating the risk differences or log risk ratios, as they may be introduced at different magnitudes in the exposed and unexposed groups. The biases were mitigated using FLIC and FLAC without inflating the standard error. The confidence intervals were also estimated sufficiently correctly using the typical multivariate delta method by replacing the parameter estimates with those from FLIC or FLAC. We also confirmed that the bias in regression standardization using Firth's method is negligible in situations where separation is absent, and the event proportion is not extremely low. However, we have not yet precisely determined the event‐rate threshold at which the FML begins to exhibit a notable bias. Moreover, various factors, such as exposure prevalence, outcome‐model misspecification, magnitude of the exposure effect, absolute number of events, and events per variable may influence this threshold. Therefore, future investigations should focus on the event‐rate threshold and these influencing factors.
In targeting the marginal log–marginal risk ratio as an effect measure, all regression standardization estimators, including Firth's method, suffer from a relative bias of up to 3%. In rare diseases, marginal risk ratios are approximated by marginal odds ratios, which are further approximated by the conditional odds ratios modeled in logistic regression. As Firth's method was originally proposed to reduce bias in typical maximum likelihood estimates of regression coefficients in logistic models [14,33], the marginal risk ratio can be estimated in an approximately unbiased manner by estimating an exposure coefficient, which represents the conditional odds ratio, with rare events.
In the primary simulations, we assumed that the regression models were correctly specified. However, additional robustness checks under two model misspecification settings yielded qualitatively similar conclusions. Because correctly specifying all working models is challenging in practical data analyses, the sensitivity of the methods to model misspecification remains an important topic for applied use. In practice, however, the problem of quasi‐complete separation of regression models may be mitigated by deliberate model misspecification by merging covariate categories, dropping higher‐order terms, omitting covariates that strongly predict exposure, and so froth. These tradeoffs between different sources of bias will be a topic for future studies.
The present study aimed to highlight the bias introduced into regression standardization by the easy‐to‐use Firth's method, we focused only on the limited approach for addressing (quasi‐)complete separation. For rare event analysis, a wide range of methods exists to handle “sparse‐data bias,” including Bayesian methods such as log‐F(1,1) prior [34] or the Cauchy prior [35], as well as penalized likelihood methods, including lasso or ridge. Moreover, “iterative” adjustment procedures for model fitting can enhance convergence stability [36]. In principle, these methods can be directly incorporated into regression standardization procedures. Evaluating potential bias and its relative performance in rare‐event settings is beyond the scope of this study.
Finally, a wide variety of models can be applied using Firth's method. For parametric models other than logistic models, an iterative algorithm can be used by adjusting the score functions [37]. In practice, we often choose alternative parametric models such as log‐linear Poisson or linear normal models, accompanied by robust sandwich variance estimators. With iterative fitting with Firth's correction of these alternative models, it is unknown whether the problems highlighted in this paper occur in rare event data and modifications such as FLIC/FLAC. Multinomial logit models, which utilize the framework of Poisson log‐linear models, have the potential to expand Firth's method beyond logistic regression [38].
Author Contributions
Conceptualization and methodology: Tomohiro Shinozaki; Code implementation: Hashibe S; Validation: Wataru Hongo; Writing – original draft: Sotaro Hashibe; Writing – review and editing: Tomohiro Shinozaki; Supervision:Tomohiro Shinozaki. All authors have read and approved the final manuscript.
Funding
This work was supported by the Japan Society for the Promotion of Science (Grant No. 24K14864) and the Japan Agency for Medical Research and Development (Grant No. JP25mk0121297).
Disclosure
The authors have nothing to report.
Conflicts of Interest
The authors declare no conflicts of interest.
Acknowledgments
We thank all researchers of the Society of OSSI, especially Dr. Koji Yamada (OrthoSupport/Nakanoshima Orthopedics), for their permission to use the data. This work was supported by JSPS KAKENHI Grant Number 24K14864 and AMED under Grant Number JP25mk0121297.
Data Availability Statement
Data sharing not applicable to this article as no datasets were generated or analysed during the current study.
Associated Data
Data Availability Statement
Data sharing not applicable to this article as no datasets were generated or analysed during the current study.
References
- Greenland S., “Model‐Based Estimation of Relative Risks and Other Epidemiologic Measures in Studies of Common Outcomes and in Case‐Control Studies,” American Journal of Epidemiology 160, no. 4 (2004): 301–305. doi.org/10.1093/aje/kwh221
- Hernán M. A. and Robins J. M., “Estimating Causal Effects From Epidemiological Data,” Journal of Epidemiology and Community Health 60, no. 7 (2006): 578–586. doi.org/10.1136/jech.2004.029496
- Bartlett J. W., “Covariate Adjustment and Estimation of Mean Response in Randomised Trials,” Pharmaceutical Statistics 17, no. 5 (2018): 648–666. doi.org/10.1002/pst.1880
- Rothman K. J., Greenland S., Lash T. L., et al., Modern Epidemiology, 3rd ed. (Wolters Kluwer Health/Lippincott Williams & Wilkins, 2008).
- Albert A. and Anderson J. A., “On the Existence of Maximum Likelihood Estimates in Logistic Regression Models,” Biometrika 71, no. 1 (1984): 1–10.
- Heinze G. and Schemper M., “A Solution to the Problem of Separation in Logistic Regression,” Statistics in Medicine 21, no. 16 (2002): 2409–2419. doi.org/10.1002/sim.1047
- Van Smeden M., Groot d J A., Moons K. G., et al., “No Rationale for 1 Variable Per 10 Events Criterion for Binary Logistic Regression Analysis,” BMC Medical Research Methodology 16 (2016): 1–12. doi.org/10.1186/s12874-016-0267-3
- Mansournia M. A., Geroldinger A., Greenland S., and Heinze G., “Separation in Logistic Regression: Causes, Consequences, and Control,” American Journal of Epidemiology 187, no. 4 (2018): 864–870. doi.org/10.1093/aje/kwx299
- Heinze G., “A Comparative Investigation of Methods for Logistic Regression With Separated or Nearly Separated Data,” Statistics in Medicine 25, no. 24 (2006): 4216–4226. doi.org/10.1002/sim.2687
- Firth D., “Bias Reduction of Maximum Likelihood Estimates,” Biometrika 80, no. 1 (1993): 27–38.
- Heinze G., “The Application of Firth's Procedure to Cox and Logistic Regression,” Technical Report 10/1999, update in January 2001, Section of Clinical Biometrics, Department of Medical Computer Sciences, University of Vienna (2001).
- Greenland S., Mansournia M. A., and Altman D. G., “Sparse Data Bias: A Problem Hiding in Plain Sight,” BMJ 352 (2016): i1981. doi.org/10.1136/bmj.i1981
- Heinze G. and Puhr R., “Bias‐Reduced and Separation‐Proof Conditional Logistic Regression With Small or Sparse Data Sets,” Statistics in Medicine 29, no. 7–8 (2010): 770–777. doi.org/10.1002/sim.3794
- Puhr R., Heinze G., Nold M., Lusa L., and Geroldinger A., “Firth's Logistic Regression With Rare Events: Accurate Effect Estimates and Predictions?,” Statistics in Medicine 36, no. 14 (2017): 2302–2317. doi.org/10.1002/sim.7273
- Hernán M. A. and Robins J. M., CAUSAL INFERENCE What if (Chapman & Hall/CRC, 2020).
- Ross R. K., Cole S. R., and Richardson D. B., “Decreased Susceptibility of Marginal Odds Ratios to Finite‐Sample Bias,” Epidemiology 32, no. 5 (2021): 648–652. doi.org/10.1097/EDE.0000000000001370
- Kosmidis I. and Firth D., “Jeffreys‐Prior Penalty, Finiteness and Shrinkage in Binomial‐Response Generalized Linear Models,” Biometrika 108, no. 1 (2021): 71–82.
- Yamada K., Nakajima K., Nakamoto H., et al., “Association Between Normothermia at the End of Surgery and Postoperative Complications Following Orthopedic Surgery,” Clinical Infectious Diseases 70, no. 3 (2020): 474–482. doi.org/10.1093/cid/ciz213
- Mangram A. J., Horan T. C., Pearson M. L., Silver L. C., Jarvis W. R., and The Hospital Infection Control Practices Advisory Committee , “Guideline for Prevention of Surgical Site Infection, 1999,” Infection Control and Hospital Epidemiology 20, no. 4 (1999): 247–280. doi.org/10.1086/501620
- Sørensen L. T., “Wound Healing and Infection in Surgery: The Clinical Impact of Smoking and Smoking Cessation: A Systematic Review and Meta‐Analysis,” Archives of Surgery 147, no. 4 (2012): 373–383. doi.org/10.1001/archsurg.2012.5
- Heinze G., Ploner M., and Jiricka L., “logistf: Firth's Bias‐Reduced Logistic Regression,” R package version 1.24.1 (2022).
- Zivich P. N., Cole S. R., and Westreich D., “Positivity: Identifiability and Estimability,” arXiv Preprint arXiv:2207.05010 (2022).
- Imbens G. W. and Rubin D. B., Causal Inference for Statistics, Social, and Biomedical Sciences: An Introduction (Cambridge University Press, 2015).
- Cole S. R. and Hernán M. A., “Constructing Inverse Probability Weights for Marginal Structural Models,” American Journal of Epidemiology 168, no. 6 (2008): 656–664. doi.org/10.1093/aje/kwn164
- Braitman L. E. and Rosenbaum P. R., “Rare Outcomes, Common Treatments: Analytic Strategies Using Propensity Scores,” Annals of Internal Medicine 137, no. 8 (2002): 693–695. doi.org/10.7326/0003-4819-137-8-200210150-00015
- Pirracchio R., Resche‐Rigon M., and Chevret S., “Evaluation of the Propensity Score Methods for Estimating Marginal Odds Ratios in Case of Small Sample Size,” BMC Medical Research Methodology 12 (2012): 1–10. doi.org/10.1186/1471-2288-12-70
- Gagne J. J., Thompson L., O'Keefe K., and Kesselheim A. S., “Innovative Research Methods for Studying Treatments for Rare Diseases: Methodological Review,” BMJ 349 (2014): 349. doi.org/10.1136/bmj.g6802
- Elze M. C., Gregson J., Baber U., et al., “Comparison of Propensity Score Methods and Covariate Adjustment: Evaluation in 4 Cardiovascular Studies,” Journal of the American College of Cardiology 69, no. 3 (2017): 345–357. doi.org/10.1016/j.jacc.2016.10.060
- Cenzer I., Boscardin W. J., and Berger K., “Performance of Matching Methods in Studies of Rare Diseases: A Simulation Study,” Intractable & Rare Diseases Research 9, no. 2 (2020): 79–88. doi.org/10.5582/irdr.2020.01016
- Almaghlouth I., Pullenayegum E., Gladman D. D., Urowitz M. B., and Johnson S. R., “Propensity Score Methods in Rare Disease: A Demonstration Using Observational Data in Systemic Lupus Erythematosus,” Journal of Rheumatology 48, no. 3 (2021): 321–325. doi.org/10.3899/jrheum.200254
- Lesaffre E. and Albert A., “Partial Separation in Logistic Discrimination,” Journal of the Royal Statistical Society, Series B: Statistical Methodology 51, no. 1 (1989): 109–116.
- Kosmidis I., Schumacher D., and Schwendinger F., “detectseparation: Detect and Check for Separation and Infinite Maximum Likelihood Estimates,” R Package Version 0.2 (2021).
- Zhang J. and Kai F. Y., “What's the Relative Risk? A Method of Correcting the Odds Ratio in Cohort Studies of Common Outcomes,” JAMA 280, no. 19 (1998): 1690–1691. doi.org/10.1001/jama.280.19.1690
- Greenland S. and Mansournia M. A., “Penalization, Bias Reduction, and Default Priors in Logistic and Related Categorical and Survival Regressions,” Statistics in Medicine 34, no. 23 (2015): 3133–3143. doi.org/10.1002/sim.6537
- Gelman A., Jakulin A., Pittau M. G., and Su Y. S., “A Weakly Informative Default Prior Distribution for Logistic and Other Regression Models,” Annals of Applied Statistics 2, no. 4 (2008): 1360–1383.
- Kosmidis I., “On Iterative Adjustment of Responses for the Reduction of Bias in Binary Regression Models,” CRiSM Working Paper Series 9, no. 36 (2009): 1–9.
- Kosmidis I. and Firth D., “A Generic Algorithm for Reducing Bias in Parametric Estimation,” Electronic Journal of Statistics 4 (2010): 1097–1112.
- Kosmidis I. and Firth D., “Multinomial Logit Bias Reduction via Poisson Log‐Linear Model,” Biometrika 98, no. 3 (2011): 755–759.
Republished from the open web under CC-BY. Authors: Hashibe S, Hongo W, Shinozaki T. Read the original.