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 .

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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