BookmarkSubscribeRSS Feed
angelvisa
Calcite | Level 5
Hello Everyone,
 
I found a potential inconsistent estimation or am I missing anything here? I was estimating a 2SLS model with just-identify number of instrumental variables (SAS 9.3 M2). I first use :
 
 
proc reg data=allindq outest=a;
model  maxe = x disper2 rev me btm tradvol Alpha car ar ivmaxe;
quit;
I also ran :
 
proc syslin data=allindq 2sls first;
endogenous maxe;
instruments x disper2 rev me btm tradvol Alpha car ar ivmaxe;
model y=  x disper2 rev me btm tradvol Alpha car ar maxe;
run;
However, the first stage results from proc syslin and the results from proc reg are very different (different from each other from 0.01). 
 
In theory, the first stage of 2sls is an ols. Therefore the proc reg should give the same results as the first stage of proc syslin. However it didnt happen.
 
Could anybody please help with this? Thank you!
 
 
2 REPLIES 2
angelvisa
Calcite | Level 5
Btw, the endogous variable is maxe, the exogenous variables are x disper2 rev me btm tradvol Alpha car ar ; the IV is ivmaxe
ballardw
Super User

Different procs often use slightly different approximations or assumptions. So I would not be surprised to see different results.

 

For extra added fun try changing the order of independent variables in a model, especially when using one of the selection methods. See if the same variables are kept or if the parameters remain the same.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 2 replies
  • 1953 views
  • 0 likes
  • 2 in conversation