Computes the incremental explanatory power (delta R-squared) contributed by X factors in predicting Y factors, both in-sample and out-of-sample.
deltaR2_ou(
results_robust,
lag = 1,
oos = TRUE,
seed = 123,
ridge = 1e-08,
verbose = TRUE
)List with components:
in_sampleData frame with R2_full, R2_baseline, and deltaR2.
per_equationVector of deltaR2 for each Y factor equation.
OOSList with out-of-sample RMSE and deltaR2 (if oos = TRUE).
Output from run_complete_factor_analysis_robust()
Number of lags for the model (default: 1)
Logical, perform out-of-sample validation (default: TRUE)
Random seed for reproducibility (default: 123)
Ridge regularization parameter (default: 1e-08)
Logical, print progress messages (default: TRUE)