Math 151 , Day 6 Fri., Feb.9, Spring 07 Hit reload to get most current version Sunday, link to sol's at end.

First hourly exam Day 9 (Feb.16), a week from today . Sample exam available Today, solutions are linked here,  outside my door & on reserve. 
Exam will cover thru what is assigned Monday--part of Chapter 3.

Questions on HW?  Keep them (& your paper) till Monday.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
In Computer Lab, Mac 101.  Bring text; medium to save on .
Handout:
8 sides with Index on the 8th.  Extras will be in the white folder outside my door.  Links off index page at SPSS Info.
In class: (what I wish you'd done...Mac 101 works now (4pm Fri) but Mac110 doesn't.  Other computers around campus probably work.)
Read page 1, Work through page 2, at least to Changing properties + + +,
Page 3:  Start by putting pulse only into Dependent list: OK.  Examine output. 
  Then add height to Dependent list.  Open the Statistics button, Check Percentiles. (Quartiles among others)    OK.  Examine output.
  (Optional: Open Options button.  Explore the difference between listwise and pairwise exclusion (there are 25 pulses & 26 heights) by getting and examining the output each way.)
  Move hair (coded) to Factors box, OK, examine output.
Start to print (p.1), using print preview. (Don't print.) Be sure to Select output beforehand.
Page 4: Interactive graphs.  Do histogram, dotplot shown.
Page 7: Import a file--do it with the file used there
More time?  Page 6, top third,  Pre-piled data, with eg01-02.por.   Use filetype "All files" to find it.

Printing,  alternatives to printing direct from SPSS:
--You can Copy a graph or table and Paste it into a Word document, save and print that.
(Highlight the desired objects in the outline panel to the left, Edit>Copy)
Help can give more printing tricks.
Files on CD:  The files for Moore's text are also on your CD, in the folder PCDatasets.  (You can't get there easily from the "weblike" menu.) When in SPSS do File>Open, find the CD drive labeled BPS4e.  PCDatasets is one of the 4 "top" folders.
HW Day 6:  PLEASE read ahead  in Ch.3,  64-9 density curves, & ahead Normal Distributions 70-84:  There's a lot there, and I will cover a good chunk  Monday
Hand in each problem as you complete it:  A is  due Wednesday, Day 8 (Feb.14).  The rest are due Monday Day 10 (Feb. 19)
You don't need to complete them in order, but A is probably the one to start with.
Use SPSS unless otherwise instructed.
Print all graphs; copy down numbers onto the paper instead of printing those big tables.

A.  p. 33, 1.36 Rock sole .  (This is file ex01-36.por; use filetype "All files" to find it.) To hand in: the SPSS stemplot, also a histogram, and find and write on your paper the mean, s.d. and 5-number summary.  Also Describe as instructed in the book.  Note:  your histogram may not have a label on the X-axis, and it should!   SPSS v. 14 on doesn't label the graphs unless the Variable View, Label column has labels in it!  Go back and label your variables, now do your graph again..

B. p. 34, 1.38 Timeplot of rock sole.  (the file is still the one from 1.36; files are not always under the problem number.) 

C.   p.60, 2.36, breastfeeding and bones, comparing 2 groups. (Old saying: You lose a tooth with every child.  Truth in it??) Note the form of the data file: all the change in mineral content values are in one column (bone) and a column (group) identifies each case with 1 for  "other" and 2 for "breastfeeding" (check that's right by looking at the data in the book)   Put in Labels, check that Measure is right.  (Optional, add Value labels; like handout p. 2 bottom, to identify the 2 groups).  I suggest side by side histograms, or parallel dotplots (handout p. 5) to start with.  Who-Where-etc. Question about the data:  Are these First-world women who are dutifully taking their calcium pills? No clue.

D.   Investigate the issue with data wrongly labeled Nominal or Ordinal. Use the file Studat for SPSS (Which you changed and saved after working p. 2)
(SPSS for class \ Studat Completer is what you should have gotten; use that one if you don't have yours. Some computers don't have it.. Studat complete doesn't have labels.)
Make a dot plot and a histogram of Pulse. Now change the Measure for Pulse to Ordinal, in the Data Editor.
Try making a dot plot and a histogram of Pulse again. (The icon for Pulse should now not be a ruler. If it is, hit Reset, so the icon becomes the 3 towers. Then proceed.) Print the graph(s), compare to the first graph(s),  and write on your paper what has happened, and what is wrong with the Ordinal graph(s).  Hint: look at the "ruler scale" of the dotplot. 
Can this happen to you? 
Load the file for 1.37 study hours (You did this problem by hand.)  What are the Measure values for these variables, and what should they be?

E.  Import a file:  Go into the folder PC-BCSBigData (there next to PC-SPSS) and open class.dat. (The Text Import wizard messed up variable names for me, I had to fix them afterward. ) From the README file:    DATA: class.dat
Data provided by students (n=270) in a freshman-level course.
   SEX 0=Male, 1=Female
   HAND 0=Right-handed, 1=Left-handed
   HGTH Height in inches
   STDY Time spent studying on a typical week night (minutes)     Beware outliers! [is this the source of ex1-37?]
   COIN How much money in coins (not bills) are you carrying?
   INC  Guess the income of a "typical American family"
Check the Measure, put in appropriate labels.  Make a histogram just of Height (using Count), and side-by-side histograms of Female and Male heights.  Are the single-sex histograms roughly bell-shaped?  Describe the shape of the mixed sex (total) histogram.  The "Living Histogram" photo passed around in class with mixed sexes showed two clear equally high humps.  Does the mixed-sex (total) histogram here show the same pattern?  Why not ?  (Comment: if you did the Female and Male heights with Percent on the vertical axis, you wouldn't be able to see as well what causes the problem.)

My Solutions are posted on the bulletin board in Mac 101, and  linked here.. !

Sievers home  Math151-Sp07/DaySp6.htm  8pm 2/11/07
This page belongs to Sally Sievers who is solely responsible for its content. Please see our statement of responsibility.