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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.