BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Khaladdin
Quartz | Level 8
Surely. So, I have a datasets that time period is one year. Each group represents each second for this datasets.
Rick_SAS
SAS Super FREQ

How many observations in each BY group? What do you hope to learn from your analysis?

 

Khaladdin
Quartz | Level 8
It works very well. Thanks a lot.
Khaladdin
Quartz | Level 8
each group has at least 10 observations. I will just apply state space model for a variable that I want to examine.
Rick_SAS
SAS Super FREQ

Can you summarize the improvement? Run time went from three months to ... what? Three hours?

Khaladdin
Quartz | Level 8

As you advised, I run the following codes: 

 

     proc printto log="F:\mylog\log.log"; 
     run;

 

     proc ucm data=work
     noprint;
     by group; 
     model price:
     irregular;
     level;
     estimate outest=work1;
     run;

 

     proc transpose data=work1 (keep=group component estimate)
     out=work2;
     by group;
     id component;
     run;

 

And it takes just three hours 🙂 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 20 replies
  • 1225 views
  • 3 likes
  • 4 in conversation