proc reg data=allindq outest=a; model maxe = x disper2 rev me btm tradvol Alpha car ar ivmaxe; quit;
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;
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.
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.
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.