| Hand in: Normal quantiles: Normal quantile plot Handout p. 92ff. 1.121 (distances: granularity) 1.122 (match the quantile plots) Use SPSS to make histograms or stemplots, Q-Q plots, and Method 2 Normal quantile plots (like IPS's) for the following. Comment on what you see. 1.125 (logging) To use each group of data separately, Data>Select Cases (SPSS handout p.5 bottom) 1.127 To create the data, put a number in the 100th row of a data file (so SPSS will create 100 numbers in your new variable.) Transform>Compute: RV.Uniform(0,1) (SPSS handout p. 8 bottom) = = = = = = = = = = Scatterplots (ch2.1) p. 112ff, mostly Continue to watch for data variables with the wrong Measure in SPSS. Using SPSS: Handout: Scatterplots pp.1-3, 2.6 Muslim literacy (note, table 1.2) But use the data file given for ex2.6, because the file at ta1.2 in not in a form that allows an SPSS scatterplot! 2.14 speed/fuel Also Insert>FitLine>Smoother for this set. 2.13 body mass M//F (use sex as the Legend Variable) 2.16 icicles 2.18 nematodes Use Dot-line (Scatterplot handout p.2 top) to get means line. Sometimes by hand it's convenient to use medians instead of means; easy to estimate in the picture. BY HAND, Mark the medians for each nematode level and connect with a dotted line. How different are the two lines? On a separarate sheet:
Begin the Governors' Salaries HW (p.3, Scatterplot
handout.)
You can
do 1-5 now. KEEP till all questions have been answered. 2.29 dates' heights. 2.32 speed/fuel again. and 2.40 a,b (Transform/compute will make your new variables. SPSS Intro handout, p. 8). 2.33 brand and mileage--outlier 2.28 bio vs. physics Do 2.10 also. To get the separate correlations for the 2 icicle groups, you need to select each subgroup (See Scatterplot handout p. 4 top, SPSS intro p. 5 bottom) Governors' Salaries HW sheet: add #6 to 1 thru 5, keep it. |
Read, discuss p. 112, 2.1, 2.2 Normal quantiles: p. 90, 1.119, 1.120 = = = = = = = = Correlation 2.2 , p. 127ff 2.22 a perch. Look at the bottom of the assignment table for the actual r. 2.31, 2.34, (Applet on CD or website) Use mean x and mean y lines to help "see" r. 2.35 (Marriage ages) 2.37 Teach/research 2.38 blunders |
Optional = = = = 2.7 breeding merlins, Make the scatterplot by hand if you need the practice. = = = = More r practice p. 128 2.23 |
Section 2.2
The
correlation
coefficient r is a numerical measure for how strongly
linear
(and in what direction) the relationship is. Doesn't
substitute
for a scatterplot.
Observe
some correlations with applet
Ahead:
Regression
line: Section 2.3, Predicts or estimates a y
(vertical)
value for a given x (horizontal) value: Straight line!
Formula yhat = a + b x.
To predict
a y-value for a given x-value, plug the x value into the formula and
calculate.
To do it graphically, use the Up-and-Over method (Fig. 2.12, p.134):
Find the x, go straight up to the line, then go over to the y-axis;
that
y-value is the predicted y.
a is
y-intercept.
b
is slope (b multiplies x, the horizontal value):
If
x increases one unit, yhat increases b
units.
RegressionSlope.xls
or
in ClassMaterial\Math251 IPS5e\RegressionDemosExcel
We all get the same line from a batch of data because we use the
"least-squares
best fit" criterion (pp. 135-6): we'll investigate this more closely
later.
| Sievers home | Math251-Fall07/Day2s9.htm | 3pm | 9/12/07 |