pod 09/19/20132005b #5p a)describe the relationship between speed and pulse as shown in the...

Post on 21-Jan-2016

216 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

POD 09/19/2013 2005B #5P

a)Describe the relationship between speed and pulse as shown in the scatterplot to the right.

b)The correlation coefficient, r, was found to be r = 0.993. Explain why this correlation makes sense.

Linear Regression

AP Statistics

Chapter 8 Day 1

Learning Targets

What is the LSRL?

Why do we compute the LSRL?

How do we use formulas to compute the LSRL?

What does “Least Squares” Mean?

The “Line of Best Fit” – called the LSRL is the line that minimizes the sum of the squared errors

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

EstimateMeters

0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0

ActualMeters = 0.992EstimateMeters - 0.11; r^2 = 0.95; Sum of squares = 1.020

Collection 1 Scatter Plot

The “error” (distance the data point is from the line is called a residual.

Residual = Actual – Predicted

LSRL (linear model)

Least squares regression line of y on x is the line that makes the sum of the squares of the vertical distances of the data points from the line as small as possible.

Line of Best Fit!

0 1y b b x

1y

x

Sb r

S

0 1b y b x

1. Y-hat is the predicted response

2. As correlation grows weaker, the prediction y-hat moves less in response to changes in x. (prediction gets worse!)

3. Conditions are the same as correlation

Steps for Regression1. Identify the variables and check the

conditions (always look at the scatterplot)

2. Report summary statistics for x and y (mean and std. deviation)

3. Find the slope, b1.

4. Find the intercept, b0.

5. Write the regression equation using the variable names.

6. Conclusion: interpret the equation in context.

Interpreting slope:For every increase in __x__, the model predicts on average an __inc/dec__ of

slope value units in ___y___.

Interpreting the Y-intercept… In GeneralY-Intercept:

When x-variable is zero, the y-variable is predicted to be y-intercept value.

*** Note: this value does not always make sense!!

Find the LSRL. 613

4.6579

8

102.4

3.1955

8

0.6296

x

y

x

S

n

y

S

n

r

Find the LSRLX-values: Mean = 10, St Dev = 2

Y-values: Mean = 20, St Dev = 3

r = 0.5

Slope:

Y-intercept:

Equation:

75.02

35.0

x

y

s

sr

5.12)10(75.020)( xslopey

)(75.05.12ˆ xy

X-bar Sx Y-bar Sy r LSRLa 12 6 -0.8 Y=200 - 4x

b 2.5 1.2 100 Y=-100 + 50x

The following data is on x= age in years and

y = weight in kg for 12 black bears.

A. Find the LSRL using the formulas.

B. Interpret the slope of the LSRL.

Age 10.5 6.5 28.5 10.5 6.5 7.5 6.5 5.5 7.5 11.5 9.5 5.5

WT 54 40 62 51 55 56 62 42 40 59 51 50

Verbal SAT vs Math SATV: mean=596.3 st.dev=99.5M: mean=612.2 st.dev=96.1r = 0.685Write the equation of the LSRL

Interpret the slope of this line

Interpret the intercept of this line.

Slope = 0.685(96.1/99.5) = 0.662

Y-int = 612.2 – (0.662*596.3) =217.45

Math SAT = 217.45 + 0.662 (Verbal SAT)

For every point on the Verbal SAT, your Math SAT increases by approx 0.662 pts

If you get a zero Verbal score, you are predicted to get a 217.45 on the Math

Homework

P. 192 # 1, 5, 7, 36

top related