CS 103 Day 19 Monday May 7, 2001

Class notes: Get this page as a handout
 Chapter 4, Graphing Learning SPSS: Chart Editor: Another window! You change the looks of a chart in the Chart Editor . Get this page as a handout
Assignment 14  Due Friday, Day 21, May 12 
     A, B, C  all use Height.sav.
  • A. String variable, Text file.  Add to Height.sav a new variable "Name"; in the Variable View window, New stuff: set the Type as String. (another word for alphabetical).  Give the 16 people short names (A, B, C,...O, P will do)  Save as Height-names.sav.  New stuff: Now "Save as" a Tab-delimited (.dat) file.  (This is an ASCII, text, file, with tabs between the items.)  Open Notepad (Start menu>Accessories), find and open your file, (you'll need  the type "All files" to find it), and print it to hand in.

  •  
  • B. New stuff: Boxplots (side by side). ( Before doing this, Add a case to Height, a 6-foot (72 inch) 140 pound female "Q".)

  • You may have noticed that other dialog boxes have offered Chart (=Plot) possibilities.  Do Analyze>Descriptive Statistics>Explore:  Plot: check  Boxplots, factor levels together. Use "Height" as the independent variable and "Sex" as the Factor. New stuff: Label Cases by "Name".    Print  your side-by-side boxplots to Hand in. (How does the "Label Cases" option get used?) 
     
  • C. Scatterplot  Redo the scatterplot with "height" on the x-axis and "weight" on the y-axis. As before, Set markers by "Sex", and  Label Cases by "Name" (The predictor or explanatory variable should go on the x-axis, the dependent on the y-axis.  Height can cause weight, but not usually the other way around.)   Now open the Chart Editor. (See notes)

  • a)  Add your name to your chart in a footnote (Chart/Footnote menu).
    b)  Label any points that stand away from the herd.
    c)  Add Fit lines to the males and females separately.
    d)  Change the Markers and one of the lines so they can be distinguished in black and white printing.
    Close the Chart Editor and print the chart to Hand in.

    D.  Clustered bar chart for means:  Follow along with pp. 37-8, "Advanced Bar Charts" 
    The data is shown and explained on p. 59.  I have entered it and it is in 
    Class Material\CS103\SPSS Stuff\GRADES.SAV.
    Hand in the graph shown on p. 38. Answer this:  Which instructor seems to have done the best job?



To Sievers Home Page
CS103-Sp01/day19.htm   5/3/01
This page belongs to Sally Sievers who is solely responsible for its content. Please see our statement of responsibility.