Function used internally by compute_ci_with_specified_interval for calculating valid confidence intervals post-selection.
The cumulative distribution function of a truncated gaussian distribution evaluated in the observed test statistic
The intervals of type "list" where the OLS estimator gets selected: can be obtained from function "solve_selection_event"
The OLS estimator of the j'th selected coefficient in the selected model of type "matrix" and dimension 1x1
Integer for the mean of the truncated sampling distribution of the test statistic (updated iteratively in compute_ci_with_specified_interval)
Integer for the variance of the truncated sampling distribution of the test statistic
Pirenne, S. and Claeskens, G. (2024). Exact Post-Selection Inference for Adjusted R Squared.