DATA Step, Macro, Functions and more

MSEP for crossvalidation "leaving one out"

Occasional Contributor
Posts: 8

MSEP for crossvalidation "leaving one out"



Could someone show me/help me how to get the MSEP (mean square error of prediction) using crossvalidation "leaving one out" for a model linear model? 


Super User
Posts: 23,663

Re: MSEP for crossvalidation "leaving one out"

I don't think there's an easy way, I think you need to write a macro to do it. Here's an example of bootstrap or Jackknife and your request would be very similar:

There will also be lots of papers on

David Cassell's paper is well written and has good sample code on the Jackknife method (leave one out) that will also work for you.
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation