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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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