Hi, thanks for bringing me this space to ask my doubts.
I want to make a regression model to explain one variable with 4 other macroeconomic variables.
I have month period data from 2011 to 2018 of the variable I want to explain, lets suppose Y.
And then I have four explanatory variables to explain the behaviour of the Y variable. Suppose Z, X, C and V.
I was thinking to use a VAR model, with the proc varmax model but I do not really know how it works on SAS.
If someone could help me it would be great.
Thank you so much!
Have you checked out the examples in the documentation?
Specific example
https://documentation.sas.com/api/docsets/etsug/15.1/content/etsug_code_varex01.htm?locale=en
List of all examples
They seem to be exactly what you're trying to do.
@lauticisterna wrote:
Hi, thanks for bringing me this space to ask my doubts.
I want to make a regression model to explain one variable with 4 other macroeconomic variables.
I have month period data from 2011 to 2018 of the variable I want to explain, lets suppose Y.
And then I have four explanatory variables to explain the behaviour of the Y variable. Suppose Z, X, C and V.
I was thinking to use a VAR model, with the proc varmax model but I do not really know how it works on SAS.
If someone could help me it would be great.
Thank you so much!
Hello thank you so much for your answers!
I have already checked those examples. The examples are pretty good for illustrative and operational objectives. The problem is that there is no explanation about the lags selection, or any statistical significance. Also the example of US does not show the p-value for the Dickey-Fuller test for testing stationarity.
But I think that maybe I can handle with those examples.
Anyway, thank you so much for the quick respond!
Thank you Reeza! One last question, Do you know an specific proc for find the lags for a var model? I couldn't find it in the proc time series and autores.
Autoreg was great for granger causality.
Thanks again and sorry for bothering!
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.