Read the SUAVe Open Problem into a SAS dataset

From sasCommunity
Jump to: navigation, search

Here's some SAS code you can use to read the SUAVe Open Problem data into a SAS dataset

data dates_for_problem;
     length id 8;
     infile cards4  truncover;
     informat date_1-date_8 yymmdd10.;
     format   date_1-date_8 yymmdd10.;
     input ID date_1-date_8;
cards4;
8001 2009-02-11 1962-09-03 2004-12-12 1992-02-12 2008-04-24 1988-06-16                      
8002 2004-01-13 2007-03-24 1989-09-13 1976-03-12 1961-11-02 1975-08-12 1970-10-08 1975-11-24
8003 2010-03-31 2008-02-15 1962-12-17 2005-06-12 2010-03-31 2010-03-31 1966-08-28 2010-03-31
8004 1983-10-18 2009-11-07 1995-11-24 1970-12-29 1987-07-31 1970-06-14 1960-11-06 2008-05-04
8005 1996-08-02 1983-09-19 2000-01-02 2009-10-01 2009-10-01 1982-12-27 2009-10-01 2002-11-10
8006 2010-03-29 2010-03-29 1973-10-02 1999-06-12 1974-03-12 2010-03-29 1996-07-19 1977-09-25
8007 1999-09-24 2006-05-13 1993-05-02 1961-01-31 2004-10-11 1996-08-22 1964-08-16 1996-10-09
8008 2005-05-03 1964-03-28 2004-08-01 1991-03-01 1981-07-27                                 
8009 1971-12-30 2010-01-26 1968-02-27 1997-02-20 2008-06-01 2009-07-02 2009-07-02 2010-01-26
8010 1981-05-01 1962-02-15 1964-11-02 2003-04-04 2005-09-20 1999-03-08 1965-02-02           
8011 1966-01-01 1985-06-22 1987-12-20 1986-06-12 1983-03-02 1985-05-18                      
8012 1990-04-05 1998-06-24 2010-12-03 2010-12-03 2010-12-03 2010-12-03 1979-04-10 2010-12-03
8013 2001-05-18 1999-07-11 1984-04-22 1992-03-04 1963-02-09 1963-08-12 1967-05-04           
8014 2010-03-19 2010-03-19 1981-08-29 1988-03-07 1962-01-20 2010-03-19 1997-07-28 1987-05-20
8015 2010-05-18 2010-05-18 1975-05-23 2010-02-07 2010-05-18 2010-02-07 2010-02-07 1973-03-04
;;;;
run;


Back to the SUAVe Open Problem


The SUAVe meeting agenda is here: Victoria SAS Users Group