Entering edit mode

6.6 years ago

I'm already done in conducting the whole LAR Algorithm using lars() function in R Studio. But my problem is how to extract or use AIC in R Studio for choosing enough the number of variable that will explain my model. If i will use the predict.lars() function, only the Cp Criterion will appear. Anybody? Thank you in advance.