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.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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