Stat 411/511 Inclass Assignment

advertisement
Stat 411/511 Inclass Assignment
Regression October 12, 2015
Describe these relationships:
Men Rate Women
Women Rate Men
●
●
mostAttractive
40
●
●
● ● ●
● ● ●
●
●
●
●
●
●
● ●
● ●
30
●
● ●
●
●
●
● ●
●
●
●
●
● ● ● ●
20
● ●
20
●
● ●
●
●
●
● ●
● ● ● ● ● ● ● ● ●
30
● ●
●
●
● ●
40
●
50
20
30
40
50
selfAge
1. Big Bang: Nebula are receeding from Earth at some velocity, and each is a certain distance
away. (Data summary and plot)
##
##
##
##
##
##
##
velocity
Min.
:-220
1st Qu.: 165
Median : 295
Mean
: 373
3rd Qu.: 538
Max.
:1090
distance
Min.
:0.030
1st Qu.:0.408
Median :0.900
Mean
:0.911
3rd Qu.:1.175
Max.
:2.000
1
Recession Velocity vs. Distance
3
2
●
●
●
●
distance
●
●
●
1
●
●
●
●
●
●
●
●
●
● ●
●
●
0
−500
●●
●
●
0
500
1000
velocity
Model: µ{Y |X} = β0 + β1 X
Y is response, X is explanatory variable. This is simple linear regression (SLR).
Add a line to the plot which best fits these data.
If all matter started at one point, the line should go through the origin. How close is your
line to the point (0, 0)?
Compare lines with a neighbor. How do we determine the line of best fit?
µ{Distance} = β0 + β1 Velocity. Is β0 = 0?
●
●
6.5
7.0
2. Meat Processing and pH.
●
pH
●
6.0
●
●
●
5.5
●
●
●
1
2
3
4
5
6
7
8
time
Again draw your guess of the best line fitting these data. Guess pH when time = 3 hours
(interpolating doesn’t work with an ANOVA model).
Guess how long it takes to bring pH down to 6.
Sampling Distribution:
Consider repeating the study all over again. We would get new slope and intercept estimates.
How different might they be?
Might we get β0 = 0 for big bang?
Might we get 3 hours is long enough to bring pH down to 6?
2
Download