BookmarkSubscribeRSS Feed
SASdevAnneMarie
Rhodochrosite | Level 12

Hello Expert!

I'm wondering how to perform a 10-fold cross-validation to retrieve the parameter for Ridge regression.

Indeed, when I apply this code :

proc glmselect data=train plots=all;
	model Y= X1 X2 X3 /
		selection=elasticnet(choose=cv  l1=0 l2search=grid stop=l1)
		cvmethod=split(10);
run;

The Ridge shrinkage criterion is not displayed in the output.

Thank you for your help.

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 33 views
  • 0 likes
  • 1 in conversation