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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1 reply
  • 386 views
  • 1 like
  • 2 in conversation