Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. data lawgrads; set lawgrads;
  2. if gradyr = 2007 then recession=0;
  3. if gradyr = 2008 then recession=0;
  4. if gradyr = 2009 then recession=0;
  5. if gradyr = 2010 then recession=1;
  6. if gradyr = 2011 then recession=1;
  7. if gradyr = 2012 then recession=1;
  8. if gradyr = 2013 then recession=1;
  9. if gradyr = 2014 then recession=1;
  10. if gradyr > 2010 then afterY10=1;
  11. if gradyr <= 2010 then afterY10=0;
  12. earlygrads = y2+y25;
  13. normallategrads = y3+y35+y4+y45;
  14. earlypct=earlygrads/(normallategrads+earlygrads);
  15. run;
  16.  
  17. proc genmod data=lawgrads ;
  18. model earlypct= afterY10 ;
  19. quit;
  20.  
  21. proc npar1way wilcoxon correct=no data=lawgrads;
  22. class afterY10;
  23. var earlypct;
  24. exact wilcoxon;
  25. run;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement