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

Hello, 

I am trying to make an Arima Model to predict how many positive cases will occur the next week based on all previous number of labs performed in previous weeks Example:

 

Week_Start     Labs_Performed  Number_of_Positive_Cases

11/04/2018.         230                        31

11/11/2018.             260                    45

 

There is about 6 months worth of data but all put into a weekly format. How do I make an arima model to accomplish this. Thank you for any help you can give! 

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

A great place to start is the Getting Started example for the ARIMA procedure in SAS/ETS software. Work your way through the example, but use your real data. When you get the FORECAST statement for making predictions, it sounds like you want to make a 1-step forecast for the next week:
forecast lead=1 interval=week id=week_start out=results;

 

View solution in original post

1 REPLY 1
Rick_SAS
SAS Super FREQ

A great place to start is the Getting Started example for the ARIMA procedure in SAS/ETS software. Work your way through the example, but use your real data. When you get the FORECAST statement for making predictions, it sounds like you want to make a 1-step forecast for the next week:
forecast lead=1 interval=week id=week_start out=results;

 

sas-innovate-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

Register now!

Discussion stats
  • 1 reply
  • 759 views
  • 1 like
  • 2 in conversation