BookmarkSubscribeRSS Feed
SASdevAnneMarie
Rhodochrosite | Level 12

Hello Experts,

 

I'm wondering if, for performing 10-fold cross-validation with the proc pls method=pcr method, I should use cv=split(10) cvtest(seed=12345)?

 

Thank you for your help!

1 REPLY 1
Ksharp
Super User

I think "cv=split(10)" is good enough.

and I quoted:

CV=TESTSET(SAS-data-set)
specifies a test set of observations to be used for validation (formally, this is called “test set validation”
rather than “cross validation”).

or using "CV=ONE" or "CV=BLOCK(10)" 

 

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
  • 1 reply
  • 66 views
  • 0 likes
  • 2 in conversation