BookmarkSubscribeRSS Feed
Dcicantab5
Obsidian | Level 7
How to perform cross validation (cv) with replication in proc logistic? Anyone has views on cv with replication vs cv without replication?
4 REPLIES 4
Ksharp
Super User

INFLUENCE option of model can do Regress Diagnoise. Especially check DFBETAS diagnostic .

proc glmselect can do CV, but I don't know if it could do some logistic regression.

Dcicantab5
Obsidian | Level 7
Sorry, maybe i got the terminology wrong, what i meant was how to do, say 10-fold cross validation with resampling with proc logistic (which apparently is as good as bootstrap with replacements, "..We also carried out cross-validation with replication. Here the cross-validation was replicated r times, with a different random split into k groups each time..." - this is the article, http://m.aje.oxfordjournals.org/content/early/2014/06/24/aje.kwu140.full.pdf ). Help most appreciated!
Ksharp
Super User

HoHo. That is really a big problem.

proc glmselect/hpgenselect  can do "10-fold cross validation with resampling" .

I think your best choice is leveraging the power of SAS/IML and mixed PROC like:

 

proc iml;

x=sample().

.........

submit;

proc logistic.....

......

endsubmit;

......

quit;

 

Post it at IML forum, maybe Rick can give you something.

Dcicantab5
Obsidian | Level 7
ok, will do, thanks!

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 4 replies
  • 1984 views
  • 1 like
  • 2 in conversation