Skip to content

Instantly share code, notes, and snippets.

@joosti
Last active August 29, 2015 14:13
Show Gist options
  • Save joosti/461641af593c96169a54 to your computer and use it in GitHub Desktop.
Save joosti/461641af593c96169a54 to your computer and use it in GitHub Desktop.
SAS assignment week 1 - ratings
data ratingdata;
input @01 id 1.
@03 startyr 4.
@08 endyr 4.
@13 rating $1.
;
datalines;
1 2002 2004 A
1 2005 2007 A
1 2007 2009 B
1 2009 2010 A
2 2002 2004 A
3 2001 2003 B
3 2003 2004 B
3 2005 2007 B
run;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment