Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-08T05:10:32.698Z Has data issue: false hasContentIssue false

Enhancing Validity in Observational Settings When Replication is Not Possible*

Published online by Cambridge University Press:  05 April 2017

Rights & Permissions [Opens in a new window]

Abstract

We argue that political sciexntists can provide additional evidence for the predictive validity of observational and quasi-experimental research designs by minimizing the expected prediction error or generalization error of their empirical models. For observational and quasi-experimental data not generated by a stochastic mechanism under the researcher’s control, the reproduction of statistical analyses is possible but replication of the data-generating procedures is not. Estimating the generalization error of a model for this type of data and then adjusting the model to minimize this estimate—regularization—provides evidence for the predictive validity of the study by decreasing the risk of overfitting. Estimating generalization error also allows for model comparisons that highlight underfitting: when a model generalizes poorly due to missing systematic features of the data-generating process. Thus, minimizing generalization error provides a principled method for modeling relationships between variables that are measured but whose relationships with the outcome(s) are left unspecified by a deductively valid theory. Overall, the minimization of generalization error is important because it quantifies the expected reliability of predictions in a way that is similar to external validity, consequently increasing the validity of the study’s conclusions.

Information

Type
Research Notes
Copyright
© The European Political Science Association 2017 
Figure 0

Fig. 1 Here Y=sin(X)+є, where X~U(−5, 5) and $${\epsilon}\,\sim\,{\cal N}(0,1)$$Note: The blue line shows the Monte Carlo estimate of $${\Bbb E}[Y\!\mid\!X\,{\equals}\,x]$$ across (x, y) drawn from the data-generating process. The red lines in each panel indicate the fit of the model to a particular sample. Each sample has 100 observations and the process is repeated 1000 times (75 randomly drawn examples shown in the figure). The linear case (fit by ordinary least squares) on the top left panel clearly underfits (the bias is high), though this estimator for f* has the lowest variance. The top-right panel shows a linear model with a degree 3 orthogonal polynomial expansion of x, which has much lower bias but a higher variance. The bottom left shows a linear model with a degree 10 orthogonal polynomial. The bias is smaller but the variance has increased relative to the top two panels due to overfitting. The model shown in the bottom right introduces a penalty term (a scalar λ) multiplied by the sum of the absolute values of the coefficients (the L1 norm of the coefficient vector), where λ is estimated by finding the value which minimizes an estimate of the generalization error using 10-fold cross-validation (Efron et al. 2004; see also Kenkel and Signorino 2013 for a similar approach). This substantially reduces the variance of the predictions at the cost of a relatively small amount bias, producing a fit similar to that in the upper right. This fit has the smallest risk or generalization error. Table 1 gives further details.

Figure 1

Fig. 2 A learning curve for boosted regression trees (Hothorn et al. 2010; Hothorn et al. 2014) Note: On the x-axis the complexity parameter ν is shown, increasing from left to right (higher is more complex). ν controls the “learning rate”: how quickly the model adapts to the data. On the y-axis the mean squared error of a series of fits to independent and identically distributed training data (n=100). Each fit is used to predict on the training set and the test set and is averaged over 1000 Monte Carlo iterations. At low levels of complexity, variance is low and bias is high: the expected and empirical risk is similar. As the complexity of the model increases, however, the difference between the empirical and expected risk diverges, with the former decreasing below the Bayes error rate (the theoretical minimum expected risk): overfitting the data. Minimizing the expected risk prevents overfitting that occurs when the empirical risk is minimized: the complexity parameter ν which minimizes the expected risk is denoted by the dashed vertical line (ν=0.08).

Figure 2

Table 1 Monte Carlo (1000 Samples) Estimates of the Expected Risk $$R(\hat{f})$$, Empirical Risk $$\hat{R}_{n} (\hat{f})$$, Excess Risk $R(\hat{f}){\minus}R(f^{{\asterisk}} )$, and the Bayes Risk, R(f*) of Linear Models With Orthogonal Polynomials of Degree (1, 3, or 10), and a L1 Regularized Linear Model Fit to Training Samples of Length n=100 Drawn From Y=sin (X)+є Where $${\epsilon}\,\sim\,{\cal N}(0,1)$$ and X~U(−5, 5)

Figure 3

Table 2 Advantages of Using Flexible, Regularized Methods Across Distinct Analytical Goals

Supplementary material: Link

Fariss and Jones Dataset

Link