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
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.