Input File and SAS Data Set for Examples

The examples in this section are based on data from university test scores. The data contains test scores for entering university classes from 2005 to 2011. For a complete listing of the input data, see The UNIVERSITY_TEST_SCORES Data Set. The input file has the following structure:
Verbal f 2009 503
Verbal m 2010 507 
Verbal f 2010 503
Verbal m 2011 509 
Verbal f 2011 502
Math   m 2005 521 
Math   f 2005 484
Math   m 2006 524 
Math   f 2006 484
The input file contains the following values from left to right:
  • type of test
  • gender of student
  • year of the exam
  • average score
The following program creates the data set that this section uses:
data test_scores;
   input Test $ Gender $ Year TestScore;
   datalines;
Verbal m 2005 504 
Verbal f 2005 496
Verbal m 2006 504 
Verbal f 2006 497
Verbal m 2007 501 
Verbal f 2007 497
   ... more data lines ...
Math   f 2009 492
Math   m 2010 530 
Math   f 2010 494
Math   m 2011 531 
Math   f 2011 496
;
   
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.136.249