*********************************************************

PCLAB #1
Note: You may want to have a blank diskette so you can save your work on it.

(1) Turn on the computer.
(2) Launch MINITAB by double clicking on its icon (or use menus START -> PROGRAMS
     -> MINITAB -> MINITAB).
(3) You will see a "session window" on top for line commands and output and a "data
    window" on bottom containing the spreadsheet for data. 
    Commands to the program can be typed in the session window or selected from the
    menu bar at the top. Click on some selections in the menu bar to see some options. 
(4) Click on the session window to select it and in the EDITOR menu find a choice of
    “enable command language” and select it to activate this window.
(5) Enter the following data on the year of a sample of quarters that was collected:
    81 96 98 65 98 79 99 85 78 84 99 75 99 65 78 65 77 65 90 83 90 94 95 70
    95 93 81 94 83 73 96 90 94 90 87 95 93 78 .
    Do this in column C1 and insert a name of "year" at the top. NOTE: the name goes
    in the top space, not in row 1.
    Use the session window command:   Describe C1   to produce some descriptive stats
    or use the menu selection of STAT ?> BASIC STATISTICS ?> DESCRIPTIVE STATISTICS .
    Try both ways and see the same results. 
    Use the GRAPH menu to produce a histogram, a dotplot and a boxplot for this data.
    The dotplot is also in the character graph submenu – select this and type in the
    variable name C1 in the window that opens.
(6) The above results can be sent to the printer to get a hard copy (each window
    individually). It's better to work with a word processing program to do this. Open 
    WORD or WORDPERFECT. MINITAB is running in the background ? to get back to it use
    the buttons on the bottom of the screen. You can move back and forth between the
    two programs in this way. Copy a selection from the session window by dragging
    across it to make the selection and then use the EDIT menu to copy it to the
    clipboard. Then switch to WORD and paste it there. In MINITAB, you can also
    copy a graph window using the EDIT menu and then paste it on a WORD page. Use
    “paste special” so that the graph can be moved and resized in the usual way on
    your WORD page. Prepare and print your work from part (5). 

(7) Now consider another data set. Put the following data in columns C1 C2 C3.

 
1 125 1666        This is real data from
1 124 1666        a trial on sex
1 124 1666        discrimination.
1 120 1666
1 113 1548
1 116 1548
1 117 1548
1  95 1548
1  69 1306
1  73 1548
1  51 1157
1  47 1157
1  46 1157
1  41 1000
1  18 1157
1  17 1000
2 128 1474
2 121 1403
2 117 1403
2 114 1403
2  96 1474
2  89 1336

 
 
C1 is sex ( 1=male   2=female )
C2 is months of employment
C3 is salary per pay period
Put names at the tops of the columns.
Get descriptive stats on both C2 and C3
 (use session command of    
     Describe  C2 C3 
 or use the menus as before.)
Get descriptive stats for each sex separately using the session command
     Describe C2 C3 ;
     By C1 .
(note this is typed on two lines and must end in the semicolon and period.)
Get the correlation of C2 and C3 with the session command
     Corr C2 C3
(you can alternately find correlation in the STAT menu.)
Make a scatterplot or plot of C2 and C3 using the GRAPH menu selection.
Get the regression equation using the menus STAT -> REGRESSION  .
(note the y or vertical axis variable is called “response” and the x or
horizontal axis variable is called a “predictor” .
Finally, paste all this stuff nicely to a WORD page and print it.