BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Baolinhdo
Calcite | Level 5

Hi,

 

I am building a decision tree model using proc hpsplit. As I am dealing with time-series data, I want to do a walk-forward validation as suggested instead of 10-fold cross-validation or random sampling as validation set. Validation of the trained decision tree model is done in sliding window:

  1. Starting at the beginning of the time series, 10-year window is used to train a model.
  2. The model makes a prediction for the next year.
  3. The prediction is stored or evaluated against known value
  4. Next sliding 10-year window to include the known value and the process is repeated (back to step 1.)

How can we do this in SAS?

Thank you.

1 ACCEPTED SOLUTION
2 REPLIES 2

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 742 views
  • 0 likes
  • 2 in conversation