BookmarkSubscribeRSS Feed
Stat_user345
Calcite | Level 5
Hi everyone, I am trying to take the parameters from an ARIMAX model calculated using PROC Arima, and build a forecasting model in excel. I am using variable Y_d (already differenced) as my response variable. And I am using x_d (already differenced) as an explanatory variable. I am using the following code: proc arima data=test; identify var=x_d; estimate p=1 noint; run; identify var=y_d crosscorr=(x_d) ; estimate input= (1 $ x_d) p=1 q=1; forecast lead=1 out=n; run; quit; According to this http://support.sas.com/documentation/cdl/en/etsug/60372/HTML/default/viewer.htm#etsug_arima_sect012.... (regression with ARMA error), this should measure the following mathematical formula: y_d(t)= constant + B1 x_d(t) + ((1-theta(1)B)/(1-fie(1)B)) *Error(t) As I want to import the parameter in the excel and build a forecasting model in the excel, is it the following model in regression form? y_d(t)=(constant *(1-fie(1)B) +(1-fie(1)B) * B1 x_d(t) +(1-theta(1)B)* Error(t))/(1-fie(1)B) or the final form... y_d(t)=constant_estimate(from SAS)+ fie(1) y_d(t-1)+ B1 x_d(t) - B1*fie(1)*x_d(t-1) + Error (t)-theta(1)* Error(t-1) ? However using the above final form does not produce the correct forecast in Excel using the parameters from PROC ARIMA. If anyone can help me, it would be grealy appreciated. Thanks.
1 REPLY 1

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
  • 1 reply
  • 932 views
  • 0 likes
  • 2 in conversation