Say we have some model, $f(x) = \hat{Y}$, such as linear regression, that estimates an output dependent value for some set of input data.
We want to do inference on the coefficients of the model to estimate features' influence on the dependent variable.
We also want to properly evaluate the predictive accuracy of the model.
Would a suitable work flow go as follows:
- Model feature selection using measures such as AIC, BIC etc.. and regularization
- Inference on coefficients
- Finally, k-fold cross-validation to estimate predictive accuracy (such as MSE).
It seems to me we need to not do any cross-validation or parameter tuning until inference is complete. Otherwise, our p values will not be valid. Our predictive assessment must be made independently of our model selection.
Does this make sense?