Hi @niam ,
Yes, your idea of including your indicator variable, Z, in the equation for Y1 along with your other input variable, X, in your Y1 and Y2 equations is a reasonable approach. For example, you can specify the following MODEL statement in PROC VARMAX, where <options> is your list of desired options:
model y1=x z , y2=x / <options> ;
For more details on the MODEL statement syntax when a different set of input variables is used in each equation, please see the following link:
I hope this helps!
DW
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.