BookmarkSubscribeRSS Feed
Fluorite | Level 6
Dear All,

I am attempting to run a VAR model with the PROC VARMAX function with my dataset. My data are all modulus transformed and have two dummy variables and I want to output 1-4 lags. I noticed that some failed at the second lag onwards with the error message: "The model is not full rank. The VARMAX procedure stopped processing further steps." even without the dummy variables.

For example, I have quarterly data from March 2007 to December 2021 and I have 2 variables (including dependent without dummy) I will be able to get output up to 4 lags, but after including the two dummies I can only get 1 lag VAR model with the above error message for the remaining lags.

The second dummy is the subset of the first dummy, i.e. dummy #2 can be 0 or 1 when dummy #1 is 1

Appreciate any kind assistance, thank you.



It seems to me you have a redundant variable (or variableS), no?


Using the default METHOD=ML, you probably have to comment out the XLAG= option and reduce the P= option from higher to lower in order to estimate the model error-free. Correct?


You can also try the newer CML estimation method. 
The parameter estimates associated with redundant terms generated by the XLAG= option are then set to 0, I believe.  

However, you still might need to omit some redundant regressors from the MODEL statement to be able to submit error-free. 




Diamond | Level 26

@sbxkoenk wrote:

It seems to me you have a redundant variable (or variableS), no?

Or much less likely, but also a possible cause, a linear combination of some of the x-variables is perfectly correlated with a linear combination of other x-variables. Example: if x1+x2 is always exactly equal to x3–7*x4, the same error message would likely appear.

Paige Miller


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
  • 2 replies
  • 3 in conversation