Hi,
Previously I used the proc model procedure to get newey west corrected standard errors. However at my new employer the proc model procudure is not recognised (we are running SAS 9.4 / SAS Enterprise Guide 7.1). Can anyone recommend an alternative procedure? Here is the codeI was running:
ods trace on;
proc model data=WORK.GFC_COMMONALITY_DATA;
endo ChgPropBidAsk;
exog WeightedChgPropBidAsk_Sum;
instruments _exog_;
parms b0 b1;
ChgPropBidAsk =b0 + b1*WeightedChgPropBidAsk_Sum;
fit ChgPropBidAsk / gmm kernel=(bart,3,0) vardef=n;
by LXID;
run;
ods trace off;
ods output ParameterEstimates=want;
proc model data=WORK.GFC_COMMONALITY_DATA;
endo ChgPropBidAsk;
exog WeightedChgPropBidAsk_Sum;
instruments _exog_;
parms b0 b1;
ChgPropBidAsk =b0 + b1*WeightedChgPropBidAsk_Sum;
fit ChgPropBidAsk / gmm kernel=(bart,3,0) vardef=n;
by LXID;
run;
ods output close;
Many Thanks!
John
To clarify: PROC MODEL is part of SAS/ETS software. It sounds like your new employee does not have a license for SAS/ETS.
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.