HW questions?
SPSS--regression lines for multiple groups: (9RMW-2--Arby's
sandwiches)
When making the Interactive scatterplot, put in the Legend
(grouping)variable,
choose the Fit tab, and Regression.
At the bottom is Fit lines for Total, Subgroups.
(Total is the default) Choose Subgroups also.
The labels will come out all on top of one another.
Click and drag them to better locations.
To alter? Double click any
line, get the Regression Parameters menu. (Options allows
changing line styles)
(Noninteractive graphs: In Chart Editor: Chart>Options:
Fit Line, checkmark Total & Subgroups. Read equations for lines
from (dotless) interactive graph.)
- - - - - - - - - - -
Regression line: Moore
Section 2.3, ACT Ch.9. Predicts or estimates a y (vertical)
value for a given x (horizontal) value. "Regressing y on x" .
Formula yhat= a + b x.
a is y-intercept.
b is slope: If x
increases one unit, yhat increases b units.
Facts (Moore pp. 112-14)
| Next time I'll discuss the least squares criterion (Moore,
p. 108, ACTp. 9-3, 1st 2 activities)
Residuals (Moore, p. 116-119, ACTp. 9-3, 1st activity), and Influential Observations and Outliers (Moore, p. 119-122) I hope to start Moore sec. 2.4: Extrapolation, Averaged data, Lurking variables, Association is not Causation. |
HW assignment Day 16, Monday March 4,
ACT: From Activstats Homework, Moore, from The Basic Practice of
Statistics
Reading: Reread Moore 2.3 thru p. 114. (Read ahead, see
above. We'll skip Moore 2.5, start Ch. 3 =ACT10 next.)
| Hand in
Multiple groups ACT Ch9 RMW-2--Arby's sandwiches Repeat class work: Get total and subgroup lines and formulas, and arrange so they're legible. (If you do the noninteractive graph, you won't get a line for the 2 turkeys--there is only one possible line and that is thru both points. Pencil it in. Write the other formulas on the graph) For the data of Moore, p103, 2.22 (metabolism),
Print out a graph with the regression line for all the people, and another
with 2 separate lines (M and F: Fit line:Subgroups). Use the equations
to predict the metabolic rate for
p. 111, 2.30 heating degree days, checking
formulas on p. 104. Import the dataset
p. 116, 2.35 beavers (prop. explained.) Do parts a and b on SPSS, c is just to answer. p. 128, 2.47 Julie's grade (Not SPSS, just calculator)
A. Look at your lines from the Arby's sandwiches above.
Note the R-Squared for the line thru the two turkey sandwiches = 1.
Why does this make sense? (What proportion of variability in calories is
explained or predicted by the line, for turkey sandwiches?)
|
Read | Optional
|
| Sievers home | Math151-Sp02/Day16.htm | 8pm | 3/3/02 |