BookmarkSubscribeRSS Feed
adnany
Calcite | Level 5

Dear SAS statistical procedures community members,

I am using instrumental variables in my model and want to get the Hansen's J statistic for my 1st stage regression to determine if the model is overidentified. Could you please guide me how I can do it in SAS? 

I am using proc reg procedure for my regression. 

 

Thanks,

Adnan 

1 REPLY 1
sbxkoenk
SAS Super FREQ

Hello,

 

Instrumental variables and multi-stage least squares regression should be dealt with in the econometric procedures of SAS/ETS. I would use SAS/ETS PROC MODEL (and NOT SAS/Stat PROC REG).

PROC MODEL contains Hansen’s J test statistic for Testing Overidentifying Restrictions.

Here's the PROC MODEL doc (SAS/ETS 15.2):

https://go.documentation.sas.com/?docsetId=etsug&docsetTarget=etsug_model_toc.htm&docsetVersion=15.2...

 

Good luck,

Koen

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1104 views
  • 3 likes
  • 2 in conversation