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 open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.