Fit the CPSS-guided exact-null submodel endpoint
Source:R/fit-cpss-ridge-shrinkage.R
fit_cpss_sm.RdThe selected core is refitted from scratch using an economy-SVD Moore–Penrose operator. All coefficients outside the core are set exactly to zero. The function never copies full-model coefficients and never forms an OLS Gram inverse.
Arguments
- X
Numeric analysis-sample design matrix.
- y
Numeric analysis-sample response.
- core_set
One-based selected core indices, or a
cpss_core_selectionobject.- selection
Alternatively, an object returned by
cpss_select_core(). Named features are aligned toXby identity.- rank_tolerance
Relative economy-SVD rank tolerance.
References
Belloni, A. and Chernozhukov, V. (2013). Least squares after model selection in high-dimensional sparse models. Bernoulli, 19, 521–547. doi:10.3150/11-BEJ410