View source: R/Nested_LPM_AIC_CV_50Split.R
Nested_LPM_AIC_CV_50Split | R Documentation |
Nested_LPM_AIC_CV_50Split
estimates the error variance with the test set RMSE across 1000 data splits
Nested_LPM_AIC_CV_50Split(XMat, yVec, numSim_Outer = 20, numCV_Inner = 30)
XMat |
a n by p numeric matrix |
yVec |
a n by 1 numeric vector |
numSim_Outer |
number of times to select a best AIC model (default is 20) |
numCV_Inner |
number of cross validation splits per selected AIC model (default is 100) The best way to understand how the function is to break apart the name.
This is very similar to the refitted cross validation method from \insertCitefan2012varianceMAIL |
fan2012varianceMAIL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.