Hi! I am new to SAS and I was trying to implement GMM method in the model PROC.
The documentation specifies the instruments to be cross product of real valued function q and vector of instruments z.
Is there a way I can specify which particular instrument z_i to be applied to particular function q_j, instead of kronecker product all of them all at once?
Thanks in advance!
You can specify different set of instruments for different equations using the following syntax in INSTRUMENTS statement:
INSTRUMENTS (equation, variables)(equation, variables)…;
This is discussed in the Syntax-->INSTRUMENTS Statement section of PROC MODEL documentation:
https://go.documentation.sas.com/doc/en/etsug/15.2/etsug_model_sect045.htm
in particular, the third form of the INSTRUMENTS statement syntax in the documentation corresponds to the case with different instruments specified for different equations.
I hope this helps.
Thread retitled and moved.
where it is moved ?
It was moved to the procedures community in an effort to help since you did not get any reply on the programming community.
Thanks for your quick reply, will check it. wendy's lunch time surveyzop.com
You can specify different set of instruments for different equations using the following syntax in INSTRUMENTS statement:
INSTRUMENTS (equation, variables)(equation, variables)…;
This is discussed in the Syntax-->INSTRUMENTS Statement section of PROC MODEL documentation:
https://go.documentation.sas.com/doc/en/etsug/15.2/etsug_model_sect045.htm
in particular, the third form of the INSTRUMENTS statement syntax in the documentation corresponds to the case with different instruments specified for different equations.
I hope this helps.
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.