Skip to content

Instantly share code, notes, and snippets.

@JoostImpink
Created May 17, 2016 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoostImpink/6eccf1d8a5a05e6e4604addd8086c303 to your computer and use it in GitHub Desktop.
Save JoostImpink/6eccf1d8a5a05e6e4604addd8086c303 to your computer and use it in GitHub Desktop.
Hayn 1995 replicate table 4b assignment
proc sort data=g_sample_wins; by gvkey;run;
proc reg data= g_sample_wins;
model ret = e_p ;
ods output ParameterEstimates = regout_1a FitStatistics = regout_1b;
/* adding by gvkey will result in separate regressions for each firm */
by gvkey;
quit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment