Abstract
Many research questions involve comparing predictions or effects across multiple models. For example, it may be of interest whether an independent variable’s effect changes after adding variables to a model. Or, it could be important to compare a variable’s effect on different outcomes or across different types of models. When doing this, marginal effects are a useful method for quantifying effects because they are in the natural metric of the dependent variable and they avoid identification problems when comparing regression coefficients across logit and probit models. Despite advances that make it possible to compute marginal effects for almost any model, there is no general method for comparing these effects across models. In this article, the authors provide a general framework for comparing predictions and marginal effects across models using seemingly unrelated estimation to combine estimates from multiple models, which allows tests of the equality of predictions and effects across models. The authors illustrate their method to compare nested models, to compare effects on different dependent or independent variables, to compare results from different samples or groups within one sample, and to assess results from different types of models.
Keywords
1. Introduction
Many research questions require comparing predictions or effects across models. For example, one might compare whether the predicted number of poor mental health days for a 70-year-old differ from the number of poor physical health days for a similar person. Or, one could test whether the probability of tenure for a female scientist with a given set of characteristics is the same as that for a male scientist with the same characteristics. In terms of effects, a researcher might expect that the relationship between two variables can be explained by the addition of another variable. In this case, a model is fit to determine the initial relationship, followed by a second model that accounts for additional covariates. As another example, consider the situation in which a reviewer asks whether a different operationalization of the focal independent variable would change the effect of interest. In this case, two models are fit in which one uses the original operationalization and the other uses the alternative. As a last example, a researcher may want to compare an independent variable’s effect across different samples. For each of these examples, multiple models are fit, and tests of the equality of predictions or effects across models are used to answer the substantive question.
Fitting multiple models is straightforward, but testing the equality of effects across models is more challenging. Often, researchers informally assess cross-model differences by examining only the statistical significance of an effect within each model; this approach has been criticized because it is necessary to directly test cross-model differences to determine their statistical significance (Gelman and Stern 2006; Mustillo, Lizardo, and McVeigh 2018). Much methodological work has considered this topic and provides solutions for particular applications. For example, multiple solutions have been proposed to test for differences in effects across groups for linear (Chow 1960) and nonlinear (Allison 1999; Breen, Holm, and Karlson 2014; Long and Mustillo forthcoming; Williams 2009) models, for mediation in linear and nonlinear models (Karlson, Holm, and Breen 2012; MacKinnon et al. 2002), and for testing the ordinality assumption in ordinal logit (Brant 1990; Wolfe and Gould 1998). However, these solutions are sometimes limited in their applicability. A given solution might only work with mediation, be limited to tests of regression coefficients for the log-odds rather than marginal effects on the probability, or be unable to handle applications in which multiple regression parameters are needed to compute the effect, such as when a model includes both age and age squared.
We propose a general and flexible framework for comparing predictions and marginal effects across models. 1 Our method uses seemingly unrelated estimation (SUEST) to combine estimates from multiple models, which allows cross-model tests of predictions and marginal effects (Weesie 1999). This approach can be used for almost any linear or nonlinear regression model (e.g., binary, ordinal, nominal, count) and allows us to quantify predictions and effects in the natural metric of the dependent variable (e.g., probabilities instead of log-odds). By combining a wide range of applications with the flexibility of SUEST, we subsume a wide range of cross-model comparisons under a single framework. Our goal is not to critique existing methods for specific applications but rather to provide a general and flexible approach that can be applied to many statistical problems.
We begin by establishing our notation for models and predictions, followed by a review of marginal effects. We then show how SUEST can be used to combine estimates from multiple models, making it possible to test the equality of predictions and effects across models. We then discuss the implications of various methods of testing effects across models. The second half of the article applies our framework to applications that are commonly encountered in applied data analysis using models for binary, continuous, count, ordinal, and nominal dependent variables. We end with a discussion of software for implementing our methods.
2. Models and Predictions
Predictions are often of fundamental interest for understanding and interpreting the results of a regression model. Consider the regression model
where
Although most of our article focuses on comparing marginal effects, cross-model comparisons of predictions may also be of interest. For example, after fitting separate models for men and women, we might compare a prediction for a 60-year-old man with a prediction for a 60-year-old woman. Predictions can also be made over the range of a variable and then compared across models, as we illustrate in example 6.1. In either case, when making predictions, important decisions must be made regarding the specific values of the independent variables. To make these values explicit, we use the more precise notation
3. Marginal Effects
Marginal effects summarize how changes in a focal independent variable affect the predicted value of the outcome, holding other variables at specific values. The marginal effect of
We begin by reviewing two types of marginal effects: (1) marginal effects at representative values (MER), in which covariates are held at theoretically interesting or representative values, and (2) average marginal effects (AMEs) that average the marginal effects computed at the observed values of the covariates for each observation. After defining these effects, we explain how to test if two or more effects are equal.
3.1. Discrete Changes at Representative Values
The discrete change with respect to
We use start and end to indicate the specific values of interest for
Increases of one unit or any other value could also be used. If the model includes polynomials or interactions, all associated variables must change in tandem. For example, if
3.2. Average Discrete Changes
The discrete change for
The subscript i for
One or a standard deviation are common values of
It is also possible to change
The average discrete change (ADC) for
Often, it is of interest to average the effect across the entire sample of
3.3. Risk Ratios
Discrete changes quantify effects in terms of the difference between predictions at ending and starting values. For example, equation (1) shows the calculation of a DCR for a binary independent variable. For models interpreted in terms of predicted probabilities (e.g., logit and probit), the ratio of these two predictions can also be of interest, which is referred to as the risk ratio (RR; for details, see Norton, Miller, and Kleinman 2013). The RR when
As with discrete changes, the values of the covariates in
3.4. Marginal Effects for Linear and Nonlinear Relationships
Marginal effects can be estimated for almost any regression model, although how they are interpreted depends on whether the relationship between a predictor and the outcome is approximately linear over the region of interest. For example, if the model is
Whether the relationship between a predictor and the outcome is linear also depends on how the outcome is modeled. For example, the logit model is typically thought of as a nonlinear model in the sense that the relationship between predictors and the probability
4. Comparing Models Using SUEST
To test whether predictions or marginal effects from multiple models are equal, the models often need to be fit simultaneously to compute cross-model covariances. This section explains why this is necessary and introduces SUEST as a method for estimating cross-model covariances.
4.1. Testing the Equality of Predictions and Marginal Effects
We begin by reviewing tests for predictions or effects from a single model. We then consider the case of comparing predictions or effects across models, which is more complicated because covariances among the estimates across models are not available if the models are fit separately. In Section 4.2 we explain how SUEST makes it possible to compute these covariances and why it is important to have estimates of these covariances.
Suppose we are predicting individuals’ overall life satisfaction on the basis of their age, accounting for whether they have a college degree (0 or 1) and whether they earn more than $50,000 per year (0 or 1). The dependent variable is binary, with 1 = high satisfaction and 0 = low satisfaction. We fit a regression model for life satisfaction that includes age, education, and income as independent variables. Let
where
Calculation of the
When testing the equality of regression coefficients from a single model, the standard errors and covariances are obtained from the covariance matrix of the estimates. When comparing estimates that are not regression coefficients, such as discrete changes for a logit model, the estimates of effects are computed from the regression coefficients, and the covariance matrix for these effects is obtained using the delta method (Agresti 2013:72–77; Bishop, Fienberg, and Holland 1975:486–97), bootstrapping (Efron and Tibshirani 1993), or simulation (King, Tomz, and Wittenberg 2000). 2
The Wald tests in equations (3) and (4) can also be used to test predictions and marginal effects across models. The practical problem is that if the models are fit separately, there is no estimate of the covariance between the estimates being compared. As discussed in Section 5, in some applications we might know that these covariances are zero, but in most applications they need to be estimated. We now explain how this can be done using SUEST.
4.2. SUEST
SUEST combines covariance matrices across multiple models and computes the cross-model covariances often needed for tests of predictions and effects across models. 3 SUEST can be implemented either by stacking data and then fitting models simultaneously, or by fitting the models separately and then combining the results. Weesie (1999) developed the method, which is based on results from Hausman (1978) and White (1982). Because SUEST combines covariance matrices of multiple models, both within- and cross-model variances and covariances of the regression coefficients are available. Predictions and marginal effects can then be estimated along with the necessary variances and covariances for testing the equality of estimates across models.
To demonstrate the intuition behind the SUEST approach, we adapt an example from Weesie (1999) that illustrates SUEST using the method of stacking. Suppose we want to determine whether the number of social roles a person holds has the same effect on having depression (depress) as on feeling one has bad health (sick). The data set contains the following information:
where id is a unique identification number for each respondent. First, we regress depress on roles (model 1), we then regress sick on roles (model 2). After fitting these models separately, we cannot use the formula in equation (4) to test if the effect of roles is the same across the two models, because the covariance between the two estimates has not been computed. To estimate this covariance, we use the unstacked data set to create a stacked data set with
The first
Two other variables are included in the stacked data set that are necessary to jointly fit the two models, which allows us to estimate the needed covariances. Variable ismodel1 is 1 if the observation is needed to fit model 1 and 0 if the observation is used to fit model 2. Variable id keeps track of the clustering caused by having two observations for each participant. It shows, for example, that row 1 of the stacked data set is the same observation as row
To jointly fit the two models, we regress y on rolesm1, rolesm2, and ismodel1. Panel A of Table 1 presents estimates of the binary logit coefficients and their standard errors from three models. Model 1 is the logit for depress fit using the unstacked data set; model 2 is the logit for sick fit using the unstacked data set; and model 3 fits a logit for y regressed on rolesm1, molesm2, and ismodel1 using the stacked data set.
4
Model 3 was fit using the cluster-robust variance estimator (Liang and Zeger 1986; White 1984) to adjust for the duplication of each observation in the stacked data set (details below). The coefficient for roles in model 1 is identical to the coefficient for rolesm1 in model 3. The
Regression Estimates and Average Discrete Changes from Logit Models 1 and 2 Fit Separately and Model 3 Fit Jointly with Stacked Data
Note: Standard errors are in parentheses.
p < .001 (two-tailed test).
It would be tempting to test the equality of the effect of roles across the two models by comparing the estimated logit coefficients. However, the regression coefficients are not appropriate for comparing effects across logit and probit models because a change in the size of the coefficient across models can reflect both confounding and rescaling of the model (Karlson et al. 2012). Marginal effects do not have this limitation and are thus appropriate for comparing effects across logit and probit models (Breen, Karlson, and Holm 2018). Panel B of Table 1 presents AMEs for an instantaneous change in roles. As with the coefficient estimates, the AME sizes are the same in the individual models 1 and 2 as in the stacked data set model 3. Using equation (4), the test statistic for the hypothesis that the AMEs for social roles are equal for the two outcomes is
Although we use stacking to illustrate the logic of SUEST, in practice stacking data sets has several limitations. First, stacking only works when the models being jointly fit are of the same type (e.g., two binary logits; two linear regressions). Stacking does not work if we want to combine, for example, estimates from a logit model with those from a probit model. Second, stacking constrains ancillary parameters, such as the cutpoints in an ordinal logit, to be the the same across models. Next, we turn to a more formal method of implementing SUEST that does not have these limitations.
4.3. Obtaining Cross-Model Covariances with Equation-Level Scores
In most applications of SUEST, models are fit individually and the estimates are combined post hoc. This method of implementing SUEST, developed by Weesie (1999), builds on the work of Hausman (1978) and Clogg, Petkova, and Haritou (1995). Cross-model covariances are estimated using an application of the robust sandwich estimator of the variance (Arellano 1987; White 1982). For models
where
The estimates of the variance of individual parameters are equivalent to those obtained from separate models that apply the robust sandwich estimator. However, by combining the covariance matrices we are also able to obtain the covariances among the estimates across and within each model. This is accomplished by concatenating the scores at the level of each observation, which are treated as clusters. Recall that in the earlier stacked data example, we introduced clustering by repeating each observation twice. Here, too, if the models are estimated on the same observations, we handle the clustering and obtain estimates of cross-model covariances using the cluster-robust sandwich estimator.
In theory, estimates from almost any models can be combined using SUEST. In practice, current implementations of SUEST are limited to models that can produce equation-level scores (see Weesie 1999), although alternative implementations of the approach may allow for a broader range of models (Canette 2014). In our examples in Section 6, we demonstrate the SUEST approach for linear regression, binary logit, negative binomial regression, ordinal logit, and multinomial logit.
5. Comparing Tests of Cross-Model Differences
Section 4.1 presented Wald tests of the hypothesis that predictions or marginal effects are equal across models. More generally, we can test the equality of any function
where
Some tests for cross-model differences assume that
which implicitly assumes
5.1. When Do Cross-Model Covariances Need to Be Estimated?
As a general rule, cross-model covariances
Cross-model covariances can sometimes be zero when the models are fit using mutually exclusive observations. For example, with a simple random sample, the cross-model covariances are zero if model 1 includes only men and model 2 includes only women. Cross-model covariances might also be zero in meta-analyses that compare effects from separate samples. Keep in mind, however, that even when different observations are used across models, cross-model covariances can be nonzero. For example, consider data on middle school students nested within different schools. Even if separate models are fit for boys and girls, corrections for clustering, such as the cluster-robust variance estimator, produce nonzero cross-model covariances. Similarly, corrections for stratification in sampling produce nonzero covariances even with mutually exclusive observations across models (Long and Mustillo forthcoming). The critical point is that using mutually exclusive observations across models does not imply that the cross-model covariances are zero. Below, we demonstrate the various consequences that non-zero cross-model covariances can have on inferences for cross-model differences.
5.2. The Impact of Accounting for Cross-Model Covariances
To provide an intuitive understanding of the impact of the covariance between effects on tests of their difference, we simulated a data set of 2,000 observations for two examples. The first example compares the effects of
For the first example, Figure 1A shows the distribution of 1,000 bootstrapped estimates of the two effects. These estimates have a correlation of −0.056. Figure 1B shows the distribution of the estimates of the difference in effects, leading to

Bootstrapped estimates of average marginal effects (A) and cross-model difference (B): effect of
For the second example, Figure 2A shows the distribution of bootstrapped estimates of the two AMEs, where the bootstrapped estimates now have a large correlation of 0.857. Intuitively, this correlation suggests that even though the values of the individual estimates vary across the bootstrapped samples, the difference between these estimates is relatively stable. Figure 2B shows the distribution of the estimates of the difference in effects. On the basis of these estimates, the test statistic is

Bootstrapped estimates of average marginal effects (A) and cross-model difference (B): effect of
The key point is that assuming that cross-model covariances are zero can lead to incorrect estimates of the standard error of the difference. Our framework provides a general method for obtaining cross-model covariances of the estimates, which are often critical for determining the correct test statistic when comparing estimates across models.
5.3. Statistical Significance and Substantive Importance
Thus far, we have discussed the necessary steps to determine the correct test for the equality of estimates across models, focusing on issues related to obtaining the correct estimate of the uncertainty in estimates of the difference (i.e., the denominator in equation 5). Note that no test of statistical significance can determine whether a cross-model difference is substantively important. Thus, we should also consider whether the difference in the estimates in the numerator of equation (5) is substantively interesting. Across different topics, applications, and literatures, various effect sizes may or may not be substantively meaningful.
We believe our focus on predictions and marginal effects has important benefits for determining the substantive importance of effect sizes, as they can be expressed in terms of the natural metric of a dependent variable (e.g., probabilities instead of log-odds). Still, a substantive decision must be made. In our second example above, the marginal effect in the base model without the mediator is 0.083, which reduces to 0.057 after adding the mediating variable
6. Examples and Applications
In this section, we present a series of examples that illustrate how our framework can be used to compare predictions and marginal effects across models in a variety of common situations. Our first two examples compare effects across nested models. This situation often arises in the context of mediation, where researchers informally assess the impact of a mediating variable by examining whether the effect of interest changes after accounting for other variables. This approach has been criticized for not providing a formal statistical test (Gelman and Stern 2006; Mustillo et al. 2018), something our method addresses. 6
Example 6.1 uses linear regression to compare predictions and effects when nonlinearities are introduced by adding polynomial terms. Example 6.2 is a more traditional mediation analysis that fits a series of nested logit models and examines how the marginal effect of a variable changes as controls are added to the model. The next two examples show how to compare predictions and marginal effects for different variables. Example 6.3 compares different operationalizations of a predictor, and example 6.4 compares effects of the same predictor on different outcome variables. These examples compare effects computed from the same type of model. Example 6.3 uses two binary logits, and example 6.4 uses negative binomial regression for two count outcomes. Example 6.5 shows how SUEST can combine estimates from different types of models, comparing predictions and marginal effects from a multinomial logit to those from ordinal logit. Finally, example 6.6 illustrates comparing effects across different samples. Our framework is not limited to these examples; it can be applied generally to applications involving comparison of results from multiple models.
Analyses were computed in Stata 15.1 using SPost13 (Long and Freese 2014). Section 7 discusses software issues. The data sets and script files to reproduce our examples are available at https://www.trentonmize.com/software/mecompare.
6.1. Predictions and Marginal Effects to Summarize Curvilinear Relationships
Our first example examines a nonlinear relationship using linear regression. In this context, nonlinearities most often arise when powers of continuous independent variables are included in the model, such as income and income squared. Comparing the effects of such variables is complicated by two issues. First, the magnitude of the effect depends on the value of the independent variable where it is evaluated. Second, the effect depends on multiple regression coefficients.
Consider the relationship between income and depressive symptoms. Earning more should protect against depression, but we expect the relationship will be nonlinear because at some point increases in income will likely produce diminishing benefits. Data for this example come from the National Longitudinal Study of Adolescent to Adult Health Wave IV (Harris 2009). The dependent variable is a scale of depressive symptoms that we treat as continuous. The focal independent variable is income measured in thousands of dollars. Model 1 includes income and income squared as predictors to allow a nonlinear relationship between income and depression. Age, gender, and race are included as control variables.
The lefthand panel of Figure 3 plots the predictions from model 1, showing a nonlinear relationship between income and depressive symptoms. As shown in Table 2, the coefficient for income squared is statistically significant at the

Predicted depressive symptoms on the basis of personal income in linear regression models including income and income squared (
Effect of Income on Depressive Symptoms before and after Controlling for Job Satisfaction (n = 4,307)
Note: All models control for age, gender, and race. Standard errors are in parentheses.
The regression coefficients are rescaled to represent a $10,000 increase in income.
Average discrete change is for a standard deviation increase in income.
p < .001 (two-tailed test).
It is unlikely that income has only a direct effect on depression. Indirect effects are likely underlying the relationship shown in the lefthand panel of Figure 3. One possibility is that people with more income work in more satisfying jobs. To test whether the effect of income changes after accounting for this factor, model 2 adds a measure of job satisfaction (see the righthand panel of Figure 3). Although not a dramatic change, the relationship between income and depression is attenuated from the relationship in model 1.
Figure 4 plots the differences in predictions across the models. At about $50,000 and above, model 2 predicts higher depressive symptoms than model 1. For example, our conclusions about the predicted number of depressive symptoms for someone who earns $100,000 would differ across the two models. Figure 4 shows differences in predictions at specific income values, but the ADC is helpful to summarize differences across the two models. In model 1, the ADC equals

Difference in predicted depressive symptoms across models (
6.2. Marginal Effects across Nested Logit Models
This example compares marginal effects across a series of nested logit models. Consider that people with college degrees tend to report happier lives than those without college degrees. A college degree confers myriad possible benefits that might partially explain this relationship. Theoretically, we suspect that receiving a college degree first and foremost leads to better and higher paying jobs, which has a direct effect on life happiness. Our analyses examine whether the effect of a college degree changes after accounting for earnings, occupational prestige, and other variables. In linear regression, this question could be answered by fitting a series of nested models and determining whether the regression coefficient for college is significantly attenuated. In logit models, however, we cannot compare regression coefficients because they are only identified up to a scale factor (Amemiya 1981:1489; Karlson et al. 2012; McKelvey and Zavoina 1975). In contrast, marginal effects do not have this limitation and can be used to compare effects across models.
Data for this example come from the General Social Survey (GSS; Smith et al. 2016), pooling data from 2000 to 2016 and including all employed individuals. Happiness is a binary variable equal to 1 if a respondent reports being “very happy” and 0 if not. Education is measured as a binary variable indicating receipt of a college degree. Control variables include age, age squared, marital status, parental status, gender, political views, religious affiliation, and year in which the survey was answered. The two variables we expect may explain some of the relationship between college degree status and happiness are hourly wages and occupational prestige, both of which are continuous.
Panel A of Table 3 presents the ADC of a college degree on happiness for a series of four nested models. Results in panel B show tests that the discrete changes are equal across models. The only independent variable in model 1 is having a college degree. The ADC indicates that, on average, the probability of being happy is 0.072 higher for individuals with a college degree (
Effect of Having a College Education on Happiness Using Average Discrete Changes from Binary Logit Model (n = 9,216)
Note: Controls include age, age squared, marital status, parental status, gender, political views, religious affiliation, and survey year. Standard errors are in parentheses.
p < .01 and ***p < .001 (two-tailed test).
6.3. Variable Comparisons: Predictions and Marginal Effects Using Alternative Predictors
Researchers often perform specification checks on important variables to ensure their findings are robust. Our framework provides a way to systematically compare the magnitude of effects across alternative operationalizations of a predictor. For example, when comparing sexual orientation groups, a researcher may want to see if different ways of measuring sexual orientation influence substantive conclusions. How someone identifies and how someone behaves are distinct dimensions of sexual orientation (Mize 2015), and these factors can be the basis of different measurement strategies. We consider whether classifying someone’s sexual orientation on the basis of sexual orientation identity versus history of sexual behavior leads to different conclusions.
Data for this example come from the GSS pooled from 2008 to 2016 (Smith et al. 2016). The outcome of interest is whether a person views same-sex relationships as “not wrong at all” (coded 0) or as “sometimes,”“almost always,” or “always” wrong (coded 1). For simplicity, category 1 is referred to as viewing same-sex relationships as wrong. Both sexual orientation identity and sexual orientation behavior are coded into three categories: heterosexual, bisexual, and gay/lesbian. We fit two binary logit models predicting views of same-sex relationships on the basis of a person’s sexual orientation identity (model 1) or sexual orientation behavior (model 2) along with some control variables.
Figure 5 shows predicted probabilities from the models. Views of same-sex relationships are nearly identical across models for individuals classified as heterosexual and are similar for those classified as gay/lesbian. For individuals classified as bisexual, however, the probability of viewing same-sex relationships as wrong is substantially lower when they are classified on the basis of their sexual identity rather than their past sexual behavior. Panel A of Table 4 presents the same information shown in Figure 5 (the predicted probabilities of thinking same-sex relationships are wrong). Column 1 shows probabilities from model 1 using sexual orientation identity, column 2 from model 2 using sexual behavior, and column 3 shows tests of the cross-model difference. The formal tests support the general inferences described earlier: there is a significant difference in opinions of same-sex relationships for bisexual individuals depending on whether classification is based on identity or behavior.

Predicted probabilities of thinking same-sex relationships are sometimes wrong on the basis of sexual orientation identity and behavior (
Predicted Probabilities and Average Discrete Changes for Effects of Sexual Orientation on Thinking Same-Sex Relationships Are Sometimes Wrong (n = 4,921)
Note: All models include controls for gender, education, age, race, and year of the survey. Standard errors are in parentheses.
p < .01 and ***p < .001 (two-tailed test).
Columns 1 and 2 of panel B in Table 4 present pairwise comparisons among the three sexual orientation groups in the probability of viewing same-sex relationships as wrong. Column 3 shows the cross-model difference in these effects. The contrasts between heterosexual and gay/lesbian and between bisexual and gay/lesbian do not differ significantly across the two models. However, there is a significantly larger difference between heterosexual and bisexual individuals when using the identity measure, compared with using the sexual behavior measure. In this example, different ways of measuring sexual orientation change the effect size.
6.4. Variable Comparisons: Marginal Effects on Different Outcomes
This example uses negative binomial regression to model two count outcomes: (1) the number of days in the past month a person’s mental health was not good and (2) the number of days in the past month a person’s physical health was not good. Independent variables include standard demographic characteristics. The data come from the 2002, 2006, 2010, and 2014 GSS (Smith et al. 2016). Typically, to compare effects across outcomes, the outcomes need to have the same level of measurement. For example, it would be difficult to compare a marginal effect of a predictor on a continuous outcome to the marginal effect for the same predictor on a binary outcome. For our example, days of poor mental and days of physical health are counts measured with identical response options (select a number between 0 and 30 days). Therefore, we are comfortable comparing whether the effect of a predictor differs across the outcomes. For example, we can compare whether the effect of age on the number of days reporting poor mental health is different from the effect of age on days of poor physical health.
Coefficients from a negative binomial regression model are in the metric of the log of the expected count (when exponentiated these coefficients are multiplicative effects on the expected count or rate). By exponentiating the predictions using the formula
The first column of Table 5 presents ADCs for the effects of each predictor on days of poor mental health, column 2 contains the effects on physical health, and column 3 shows the difference in ADCs across the two outcomes. We find, for example, that women report
Average Discrete Changes for the Number of Days Reporting Poor Mental and Physical Health (n = 5,062)
Note: Average discrete changes for continuous variables are for a standard deviation increase. All models also include a control for survey year. Standard errors are in parentheses.
p < .05, **p < .01, and ***p < .001 (two-tailed test).
6.5. Model Comparison: Predictions and Marginal Effects across Nominal and Ordinal Models
A researcher might prefer an ordinal model instead of a nominal model because the ordinal model requires estimating far fewer parameters. However, if the relationship between an independent variable and the outcome does not conform to the constraints imposed by an ordinal model, an ordinal model can produce results that do not accurately describe the relationships in the data (Long 2014). Several statistical tests can be used to examine the assumptions of ordinal logistic regression (e.g., Brant 1990; Wolfe and Gould 1998). Here we focus on whether the substantive conclusions one would draw from predicted probabilities and marginal effects differ across the two models. The dependent variable is party affiliation, coded 0 = strong Democrat, 1 = Democrat, 2 = independent, 3 = Republican, and 4 = strong Republican. Age is the focal independent variable, with age and age-squared included in the models. Controls for education, parental status, marital status, family income, employment status, and region of the United States are also included. This example uses pooled GSS data from 2010 to 2016 (Smith et al. 2016).
To compare how age is associated with party affiliation across the ordinal logit model and the multinomial logit model, we begin by computing the predicted probabilities of each political party affiliation as age changes from 20 to 80, holding other variables at their means. For both the ordinal and multinomial models, we make predictions for all
where
Plotting the predictions, Figure 6 shows clear differences in the effect of age across the two models. For example, age has almost no effect on the probability of being independent in the ordinal model (left panel), but it has a large negative effect in the multinomial model (right panel). As another example, in the ordinal model the effect of age on being a strong Republican is slightly negative, but it has a stronger and positive effect in the multinomial model. Similarly, age has a much stronger effect on being a strong Democrat in the nominal model than in the ordinal model. Overall, the effects of age are weaker in the ordinal logit model than in the multinomial logit model.

Comparing predicted probabilities of political party affiliation by age from ordinal logit and multinomial logit models (
Figure 6 also shows that the effects of age vary across the age range. To illustrate this point, we estimate discrete changes for a 10-year increase in age for someone who is 20 years old and for someone who is 60 years old. Other variables are held at their means. Table 6 shows these effects along with tests of the equality of the effects across models. For someone who is 20 years old, the effect of a 10-year increase in age is significantly different across the ordinal and nominal models for three of the five outcome categories (top panel of Table 6). For example, the effect of aging on the probability of identifying as a strong Democrat is positive in both models, but it is significantly larger in the nominal model. Even more striking, the effects of age on being a strong Republican are in opposite directions across the two models.
Comparing Marginal Effects of Age on Political Party Affiliation from Ordinal Logit and Multinomial Logit Models (n = 8,179)
Note: All models control for race, income, education, marital status, parental status, and employment status. Standard errors are in parentheses.
p < .05, **p < .01, and ***p < .001 (two-tailed test).
For someone who is 60 years old, the effects of age are nonsignificant for all party affiliations in the ordinal model (bottom panel of Table 6). In stark contrast, in the nominal model, the effects of age are significant for four of the five outcomes. Cross-model differences of the effects are significant for these same four outcome categories. It is clear that the ordinal and multinomial models lead to different substantive conclusions: Figure 6 shows quite different patterns across the two models, and Table 6 shows these differences are often statistically significant. Long (2014) explained how the constraints implicit in ordinal models can lead to these differences.
6.6. Group Differences: Marginal Effects on Nonoverlapping Observations
A special case of our general framework is comparing effects across nonoverlapping or mutually exclusive sets of observations. For example, suppose a question is asked in different years of a repeated, cross-sectional survey. A researcher may wish to fit separate models for each year, with different respondents being interviewed at each time point. Another common situation in which observations do not overlap is when fitting models across groups, such as separate models for men and women or separate models for different religious groups. In these cases, we can fit the models separately for each group/sample or fit a single model with interactions between the group/sample indicator and each independent variable. Although these approaches may seem different, they are statistically equivalent (see Long and Mustillo forthcoming). It is tempting to assume that the cross-model covariances are zero when models use nonoverlapping observations, which is often done in the literature. However, as explained in Section 5.1, there are common situations in which mutually exclusive observations across models do not imply that the cross-model covariances are zero. To illustrate this point, we treat the region that respondents were sampled from as a source of clustering and use the cluster-robust variance estimator. Because of this, the cross-model covariances are not zero, and thus
For our example, we are interested in whether political polarization surrounding the role government should play in providing health care increased over the past 30 years. Our outcome is whether a respondent thinks the government is responsible for providing health care (coded 1) or believes it is an individual’s responsibility (coded 0). Our focal independent variable is a binary measure of political views indicating if a respondent identifies as conservative or not. All models include controls for gender, race, age, income, education, marital status, parental status, and employment status. Although this question has been asked regularly in the GSS, our example compares responses from only the 1986 and 2016 surveys.
Table 7 presents results from binary logit models fit using the 1986 sample and the 2016 sample. All predictions and marginal effects are computed using only the sample-specific observations. The first column presents the predicted probabilities for respondents who do not identify as conservative. From 1986 to 2016, the probability of thinking health care is the government’s responsibility increased by 0.073 for respondents who do not identify as conservative (
Views of Government’s Responsibility in Providing Health Care Using the 1986 (n = 1,254) and 2016 (n = 1,670) General Social Survey Samples
Note: Standard errors are in parentheses. Models control for gender, race, age, income, education, marital status, parental status, and employment status. Standard errors are corrected for clustering within geographic regions. Predictions and average discrete changes (ADCs) are calculated using only the sample-specific observations.
p < .05, **p < .01, and ***p < .001 (two-tailed test).
7. Software Implementation
To test the equality of effects across models, it is often necessary to compute covariances across models. Even in the special case where cross-model covariances are zero, the software needed to test the equality of estimates generally requires combined covariance matrices for both models, including explicit zeros for covariances constrained to be 0. In Section 4 we explained how this can be done either by stacking data sets or by using equation-level scores as Stata’s suest command does. Canette (2014) explained that the SUEST method can also be implemented using generalized structural equation modeling software, such as Stata’s gsem command (see also Lindsey 2016).
As discussed earlier, stacking has some limitations. First, it can be used only when the models being jointly fit are of the same type (e.g., both are binary logit models). Second, stacking forces ancillary parameters to be equal across models, which is too limiting for many applications. Although identical results for most of our examples can be obtained from either
Overall, the specific software used to implement our approach is a matter of convenience, because identical results can, with few exceptions, be obtained with either approach. For those who wish to use
Finally, as demonstrated in Section 5, bootstrapping might be another way to compute tests of cross-model differences that account for nonzero covariances across models. However, we caution that more work needs to be done to confirm that bootstrapping returns results similar to those from the SUEST method we advocate. One advantage of the SUEST approach is that it is much less computationally intensive than bootstrapping. For example, for the estimates shown in Figure 2, we used 1,000 bootstrap replications, which took roughly 150 times longer than obtaining the comparable estimates and cross-model comparisons using the SUEST approach.
8. Conclusions
Researchers almost always estimate more than one model in the course of examining a research question. Our article presents a general framework for comparing predictions and effects across models. We emphasize the utility of this approach for comparing marginal effects, as it provides a useful way to summarize an independent variable’s effect across many types of linear and nonlinear models and across outcomes measured in different metrics. In addition, marginal effects avoid the rescaling problems of the regression coefficients in logit- and probit-based models, making them appropriate summary measures to compare effect sizes across a range of models.
When cross-model comparisons are of interest, it is important to provide a statistical test of whether the effect size is the same across models. This is easily accomplished using SUEST. SUEST is an extremely general method for obtaining cross-model covariances for any model that produces equation-level scores. General methods for estimating marginal effects are also available for most common regression models. Our examples illustrate a variety of situations in which comparing effects across models provides valuable substantive insights. Our approach is not, however, limited to the applications we considered; we suspect many other cases of comparing predictions and effects across models could fruitfully use the general framework we advance in this article.
Footnotes
Acknowledgements
We thank David Dalenberg and Josh Doyle for their suggestions and the editor and reviewers at Sociological Methodology for their instrumental feedback. Jeff Pitblado and David Drukker provided valuable help on using Stata to implement our framework.
