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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1668 views
  • 1 like
  • 2 in conversation