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
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.