HC3 invalid post selection inference
📚 HC3 invalid post selection inference.pdf
Brief overview
This document addresses the critical statistical challenge of performing inference after selecting a model or variables from data. It highlights how common data-driven practices lead to invalid inferential conclusions and outlines methods to achieve reliable statistical results.
Key points
- Overview of the problem of invalid post-selection inference (PoSI).
- How data-driven variable selection distorts statistical distributions.
- The practical consequences of invalid inference in data analysis.
- Methods for conducting valid post-selection inference, including data splitting.
- Exploration of philosophical approaches like simultaneous and conditional inference.
1. Introduction to post-selection inference challenges
1.1 The post-selection inference problem
- Post-selection inference (PoSI) refers to performing statistical inference (e.g., hypothesis testing, confidence intervals) on a dataset that has also been used to select the statistical model.
- This practice violates classical assumptions, as the inference is conditioned on the selection process, leading to invalid conclusions.
- Textbook statistical workflows present a simplified process: model selection, then inference. In practice, these steps are often intertwined, as data exploration influences model choice.
1.2 Textbook vs. practical data analysis workflows
- Textbook workflow:
- Step 1: Select a statistical model (e.g., a linear regression with specific predictors).
- Step 2: Define the dataset to be used.
- Step 3: Fit the selected model using methods like Ordinary Least Squares (OLS).
- Step 4: Conduct hypothesis tests on the regression coefficients, assuming the test statistic follows a known distribution (e.g., t-distribution) under the null hypothesis 12.
The sampling distribution of an OLS estimator under textbook assumptions shows a clear central tendency.

- Practical workflow:
- Step 1: Fit numerous models across all possible subsets of independent variables using OLS.
- Step 2: Employ a model selection criterion, such as the Akaike Information Criterion (AIC), to choose the "best" model from the candidates 16.
- Step 3: Perform hypothesis tests on the coefficients of the selected model.
- The critical issue is whether the assumptions for the hypothesis test (e.g., the distribution of the test statistic) still hold after the model has been chosen based on the data itself.
1.3 Illustrative example: predictors of concentration impairment
-
Research question: Does concentration impairment (Y) correlate with sleep-onset insomnia (X1), early-morning awakening (X2), or hypersomnia (X3) 8?
-
Data: A dataset is provided with participants' Y values and their corresponding X1,X2,X3 values.
| Participant | Y | X1 | X2 | X3 |
|---|---|---|---|---|
| 1 | y1 | x11 | x12 | x13 |
| 2 | y2 | x21 | x22 | x23 |
| 3 | y3 | x31 | x32 | x33 |
| ... | ... | ... | ... | ... |
| n | yn | xn1 | xn2 | xn3 |

- Model fitting and selection in practice: Multiple linear regression models are fitted for all combinations of predictors. The model that minimizes AIC is selected 15.
| Model Specification | Coefficients | AIC Values |
|---|---|---|
| Y=θ0+U | θ^0=1.48 | 1044.32 |
| Y=θ0+θ1X1+U | θ^1=0.15 | 1031.54 |
| Y=θ0+θ2X2+U | θ^2=0.17 | 1028.64 |
| Y=θ0+θ3X3+U | θ^3=0.06 | 1044.13 |
| Y=θ0+θ1X1+θ2X2+U | θ^1=0.11,θ^2=0.13 | 1023.20 |
| Y=θ0+θ1X1+θ3X3+U | θ^1=0.15,θ^3=−0.06 | 1031.31 |
| Y=θ0+θ2X2+θ3X3+U | θ^2=0.18,θ^3=0.09 | 1026.10 |
| Y=θ0+θ1X1+θ2X2+θ3X3+U | θ^1=0.11,θ^2=0.15,θ^3=0.09 | 1021.14 |

- Hypothesis testing on the selected model: After selecting the full model (Y=θ0+θ1X1+θ2X2+θ3X3+U) based on AIC, a hypothesis test for θ1=0 is performed. The question arises: is the standard test statistic distribution assumption (T0∼Tn−p−1) still valid 17?
The process for conducting a hypothesis test on regression coefficients typically involves:
- Null Hypothesis (H0): The coefficient is zero.
- Alternative Hypothesis (H1): The coefficient is not zero.
- Type I Error Rate (α): The pre-defined significance level (e.g., 0.05).
- Test Statistic Formula: T0=SE(θ^1)θ^1.

The core challenge of post-selection inference is that model selection based on data biases the subsequent statistical inference, invalidating standard probability statements 18.
2. Consequences of invalid post-selection inference
2.1 Tendency to select statistically significant variables
Invalid post-selection inference (PoSI) procedures exhibit a critical tendency to favor the selection of variables that appear statistically significant, even when their true population coefficients are close to zero. This selection bias means that covariates with genuinely small or zero true effects are frequently excluded by model selection criteria, such as AIC, unless their estimated coefficients are substantially over- or underestimated by chance 19.
This leads to an inherent selection bias towards variables that show a spurious association in the observed data, rather than those with true explanatory power.
2.2 Distortion of estimator distributions
A fundamental consequence of invalid PoSI is that the sampling distribution of an Ordinary Least Squares (OLS) estimator, after post-selection, is no longer a simple, well-behaved distribution like the normal distribution guaranteed by the Central Limit Theorem. Instead, it transforms into a complex mixture of multiple conditional distributions.
Each of these conditional distributions corresponds to a specific model that could have been selected, and they are weighted by the probability of selecting that particular model31.
This mixture distribution arises because the selection process itself is data-dependent. The shape and location of the post-selection estimator's distribution are thus conditional on the outcome of the selection procedure, leading to a departure from classical asymptotic normality 21.

The figure illustrates the empirical distribution of an estimator (θ^1) across many replicates, with data generated under a null hypothesis (θ1=0). The superimposed normal curve represents the expected distribution under classical inference, highlighting the deviation observed in PoSI settings 22.
2.3 Lack of uniform consistency
The mixture distribution of post-selection estimators is not uniformly consistent. This means that the distribution does not converge to a fixed form uniformly across all possible true parameter values (θ1) as the sample size (n) increases.
In classical inference, the estimator converges uniformly to its true value under mild conditions. However, in invalid PoSI, the selection probabilities themselves depend on the true value of θ1 and the specific data realization.
Consequently, the resulting sampling distribution's behavior varies across different true parameter values, negating uniform asymptotic normality 23.
This lack of uniform consistency implies that standard error estimates derived from classical inference post-selection will be systematically underestimated. The uncertainty introduced by the model selection step is not adequately captured, leading to an inflated Type I error rate 32.
The standard error of the OLS estimator of θ1 is consistently underestimated in invalid PoSI.
2.4 Inflation of Type I error rates
A direct and critical consequence of invalid PoSI is the substantial inflation of Type I error rates. When classical hypothesis tests are conducted on parameters within a model selected using the same data, the rejection probability under the null hypothesis (H0) far exceeds the nominal significance level (e.g., α=0.05).
This inflation does not diminish even as the sample size approaches infinity (N→∞), meaning the problem is asymptotic and persistent.
This effect holds true regardless of the specific model selection criterion used, including AIC, BIC, adjusted R2, bootstrap methods, or cross-validation 33.
The following table summarizes the difference in rejection rates between textbook analysis (no selection) and practical analysis (with data-driven selection):
| Scenario | Nominal α | Rejection Rate |
|---|---|---|
| Textbook analysis (no selection) | 0.05 | 5.09% |
| Practical analysis (with selection) | 0.05 | 30.98% |
This significant disparity highlights how invalid PoSI can lead to erroneous conclusions, such as falsely rejecting a true null hypothesis 28 30.

The figure depicts the distribution of a test statistic, showing the count of data sets falling into regions where the null hypothesis would be rejected. In a valid inference scenario, this rejection rate should align with the nominal α level.

This visual representation contrasts two scenarios of test statistic distributions. The shaded areas signify the regions of rejection for the null hypothesis.
The presence of inflated rejection rates in PoSI scenarios suggests that the observed test statistics are more likely to fall into these critical regions due to the underlying flawed inference process.
Invalid PoSI leads to inflated Type I error rates that do not asymptotically vanish.
🔑 Important: Performing classical statistical inference on models selected using the same data fundamentally distorts estimator distributions and inflates Type I error rates, invalidating standard inferential procedures.
3. Methods for conducting valid post-selection inference
3.1 Introduction to post-selection inference solutions
Post-selection inference aims to address the statistical invalidity arising from performing inference after model selection procedures. Various methods exist, broadly categorized into practical approaches like data splitting and more philosophically grounded techniques such as simultaneous and conditional selective inference 35 36.
3.2 Data splitting for inference
3.2.1 The data splitting methodology
A common, pragmatic approach involves partitioning the dataset into distinct training and testing sets. A substantial portion (e.g., 30-70%) serves as the training set, used for model selection.
The remaining data forms the testing set, upon which inference is conducted using the model chosen from the training phase 37 38 39.
📝 Example: A researcher trains multiple regression models on 70% of their data and selects the best model based on training set performance. Inference (e.g., hypothesis testing, confidence intervals) is then performed on the remaining 30% of the data using the selected model.
3.2.2 Limitations of data splitting
While straightforward, data splitting has inherent limitations:
- Reduced efficiency in model selection: Using a smaller training set may bias selection towards simpler models due to diminished statistical power for detecting complex relationships.
- Loss of statistical power in testing: The testing set, being smaller than the full dataset, can result in reduced power for hypothesis testing and wider confidence intervals.
- Study design implications: These limitations must be considered during the initial design of a study to ensure adequate sample sizes for both selection and inference 40.
3.3 Advanced methods for valid inference
Beyond data splitting, more complex philosophical approaches offer robust solutions for valid post-selection inference. These methods acknowledge the entire model exploration process when constructing inferential statements.
3.3.1 Simultaneous inference
Simultaneous inference aims to control the overall error rate across all models considered during the selection process. It constructs confidence intervals that account for the probability of making any inferential error among all the hypotheses tested.
- Methodology: It formulates simultaneous (1−α) confidence intervals based on least-squares estimates.
- Scope: These intervals are valid for parameters within all linear regression models that were examined during the selection stage.
3.3.2 Conditional selective inference
Conditional selective inference focuses inferential procedures on a single selected model. This approach conditions the inference on the specific event of the model being chosen, thereby accounting for the selection mechanism.
- Conditional focus: Inference is conditional on the selected hypothesis or model.
- Example: A confidence interval for a specific parameter θ1 is constructed under the condition that only the predictor X1 was selected.
🔑 Important: While data splitting is a practical first step, simultaneous and conditional selective inference represent more rigorous frameworks for achieving valid inference after model selection, by formally incorporating the selection process into the inferential procedure.
🔑 Important: The choice between simultaneous and conditional selective inference depends on the inferential goal: controlling overall error rates across all considered models (simultaneous) versus obtaining valid inferences for a single, selected model given its selection (conditional) 41 42 43.
© 2026 Maeve. All rights reserved. This content is protected by copyright.