BookmarkSubscribeRSS Feed
dan12345
Calcite | Level 5

HI

 

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? 

 

1 REPLY 1
Reeza
Super User
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:

http://support.sas.com/kb/24/982.html

There will also be lots of papers on Lexjansen.com

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.

http://www.lexjansen.com/wuss/2009/anl/ANL-Cassell.pdf

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 664 views
  • 0 likes
  • 2 in conversation