Questions on HW? Read
answers, Canadian/U.S. Births? Keep HW
questions till next class.
Exam a week from today. Will cover thru what we do Monday. Sample exam handed out today. After today's class you should be able to do all but 2, 3, 7; 10, 11, 12. Solutions linked here. See Day5 or Monday for more info.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
In Computer Lab, Mac 101.
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.
and Here: Page 1 , Data Editor (p.2),
Tables & Graphs: Numerical summaries (p.3), Graphs (p.4) Comparing Subgroups (p.5) , Pre-piled data and Two-way tables (p.6), Importing Data (p.7) , Timeplot & Index (p.8)
Also Paper copy of this page.
Also Morganstore handout
In class: Files are in Math151-Moore5e folder. Where?.
Some machines: Class Material. Others: \\Morganstore. See Morganstore handout.
Files for Moore text problems are also on your book 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 BPS5e. PCDatasets is one of the 4 "top" folders. See SPSSInfo for more...
Links here for files from SPSS for Class BPS5e: Pp.2-5 Studat-in-SPSS.sav. Same file as it should be after doing p. 2: Studat-Completer.sav. P.7 Studat-as-text.dat
HANDOUTS: Open Morganstore. (Practice making Shortcut, connecting.) Go down menus, look in PC-SPSS.
Read page 1. Open SPSS, File>Open>Data. find Desktop, Morganstore. Go down menus to SPSS for class BPS5e, and open Studat in SPSS; 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 (see p.1), using Print Preview. (Don't print.) Be sure to Select output beforehand.
Page 4: Graphs. Do Bar as shown, Histogram (with height) .
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: (This just in: Cleveland can print SPSS to the HP printer in Cleveland room 206 (Study Abroad Library). Just for us, this term.)
--You can Copy a graph or table and Paste it into a Word document, save and print that elsewhere..
(Highlight the desired objects in the outline panel to the left, Edit>Copy)
Help can give more printing tricks.
HW Day 6: Please at least start the SPSS. Due Dates below. Monday, BRING QUESTIONS, & for Day 5.
PLEASE read ahead in Ch.3, Normal Distributions 73-86: There's a lot there, and will need repetition. I will cover a good chunk Monday.
|Finish going through the Handout
for In class, as
above: pages 1,2,3,4,7 (nothing to hand in.) Then use
the Handout to
help as you do the following.
Note the Index on the back page. Work together; but each submit your own paper.
Hand in each problem as you complete it: A is due Wednesday, Day 8 (Feb. 8). The rest are due Wed. Day 11 (Feb. 15 ) but try to get them done earlier!
A is the one to start with. Also reading the output tables that you make there is a skill needed for Exam 1. Do the others in any order.
Use SPSS unless otherwise instructed.
Print all graphs; copy down numbers onto the paper instead of printing those big tables.
A. p. 34, 1.37 Rock sole. (This is file ex01-37.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.
B. p. 35, 1.39 Timeplot of rock sole. (The file is still the one from 1.37; files are not always under the problem number.) Which method (Handout p. 8) should you use for your timeplot? Check and see that the years are in order and none are missing, so either method is OK. Get at least one graph, and if you're feeling brave, try them both! Note: Your graph may not have labels on the axes, and it should! Sometimes SPSS doesn't label the graphs unless the Variable View, Label column has labels in it! If needed, Go back and label your variables, now do your graph again..
C. p.65, 2.48, 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). Another column (group) identifies each case as "Other" and "Breast" (check that's right: look at the data in the book) Put in Labels, check that Measure is right. I suggest side by side histograms, or parallel dotplots (handout p. 5) to start with. A Who-Where-etc. Question about the data: Are these First-world women who dutifully take 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 BPS5e\ Studat Completer is what you should have gotten; use that one if you don't have yours. Link above.. Studat complete has no Labels.)
Make a dot plot and a histogram of Pulse. Now change the Measure for Pulse to Ordinal, in the Variable View in the Data Editor.
Make 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.
The Histogram procedure just looks at the "Type" of the variable (Numeric/String) but the Dot procedure looks at the Measure! and treats Ordinal and Nominal data as if they are just Names, not numbers at all! No telling what a particular procedure will do!!
Can this happen to you? Load the file for 1.38 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-BPSBigData (next to PC-SPSS folder) and open class.dat. 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
Height in inches
Study Time spent studying on a typical week night (minutes) Beware outliers! [is this the source of ex1-38?]
Coins How much money in coins (not bills) are you carrying?
Income Guess the income of a "typical American family" (Actual Median at this time was about $30,000.)
Use the Import Wizard (p.7). This file imports cleanly. Tabs were used between columns.
Check the Measure, put in appropriate labels. Make a histogram just of Height, and side-by-side or in-a-column 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 ?