The MVPMONITOR Procedure

Examples: MVPMONITOR Procedure

The following examples use an airline flight delay data set similar to the one described in the section Getting Started: MVPMONITOR Procedure. The following statements create a data set named flightDelays, which contains average flight delays for each region of the continental United States:

data flightDelays;
   label flightDate='Date';
   format flightDate MMDDYY8.;
   input flightDate :MMDDYY8. region $ AA CO DL F9 FL NW UA US WN; 
   datalines; 
02/01/07 MW 14.9  7.1  7.9  8.5 14.8  4.5  5.1 13.4  5.1
02/01/07 NE 15.7  7.1  8.6  6.3 14.6  6.2  7.0 11.0  6.4
02/01/07 NW 17.8  2.6  6.1 28.8 11.6  6.1 11.6 27.3  3.7
02/01/07 SC 19.9  8.3 13.9  4.9 25.8 15.3  9.0 15.1 12.8
02/01/07 SE 16.1  1.9  8.7  8.7 15.1 18.3  4.0 10.4  6.5
02/01/07 SW 19.3  7.8  4.8 11.5 34.7  7.4  7.3 12.0  5.6
02/02/07 MW 14.3  9.6 14.1  6.2 12.8  6.0  3.9 15.3 11.4

   ... more lines ...   

02/16/07 SE 29.4 13.5 16.8 19.7 11.4 10.4 27.7 34.2 20.8
02/16/07 SW 28.1 18.4 17.1 25.5  8.0 15.2 30.4 26.6 20.8
;