BookmarkSubscribeRSS Feed
anna_e
Calcite | Level 5

Hi,

I would like to do a rolling regression for my historical financial data, 10 years monthly data 2005-2015, 120 obs. 4 factor regression. I only use SAS EG and there is no pre-programmed function for rolling regression. Is there anyone who knows how to code this? I would really appreciate any help.

Thanks!

1 REPLY 1
Ksharp
Super User

I am afraid you need to write some code .  Using  CALL EXECUTE() + a macro .

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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