Least squares regression lines
This presentation is the property of its rightful owner.
Sponsored Links
1 / 18

Least Squares Regression Lines PowerPoint PPT Presentation


  • 58 Views
  • Uploaded on
  • Presentation posted in: General

Least Squares Regression Lines. Text: Chapter 3.3 Unit 4: Notes page 58. x – variable: is the independent or explanatory variable y - variable: is the dependent or response variable Use x to predict y. Bivariate data. b – is the slope

Download Presentation

Least Squares Regression Lines

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Least squares regression lines

Least Squares Regression Lines

Text: Chapter 3.3

Unit 4: Notes page 58


Bivariate data

x – variable: is the independent or explanatory variable

y- variable: is the dependent or response variable

Use x to predict y

Bivariate data


Least squares regression lines

b – is the slope

it is the approximate amount by which y increases when x increases by 1 unit

a – is the y-intercept

it is the approximate height of the line when x = 0

in some situations, the y-intercept has no meaning

- (y-hat) means the predictedy

Be sure to put the hat on the y


Least squares regression line lsrl

The line that gives the best fit to the data set

The line that minimizes the sum of the squares of the deviations from the line

Least Squares Regression LineLSRL


Least squares regression lines

Sum of the squares = 61.25

(-4)2 + (4.5)2 + (-5)2 = 61.25

(3,10)

y =.5(6) + 4 = 7

2 – 7 = -5

4.5

y =.5(0) + 4 = 4

0 – 4 = -4

-5

y =.5(3) + 4 = 5.5

10 – 5.5 = 4.5

-4

(6,2)

(0,0)

(0,0)


Least squares regression lines

(3,10)

6

Find y - y

-3

(6,2)

-3

(0,0)

Sum of the squares = 54

What is the sum of the deviations from the line?

Will it always be zero?

Use a calculator to find the line of best fit

STAT EDIT L1, L2

STAT CALC

4 LinReg (ax+b)

The line that minimizes the sum of the squares of the deviations from the line is the LSRL.


Interpretations

Interpretations

Slope:

For each unit increase in x, there is an approximateincrease/decrease of b in y.

Correlation coefficient:

There is a direction, strength, and linear association between x and y.


Least squares regression lines

The ages (in months) and heights (in inches) of seven children are given.

x1624426075102120

y24303540485660

Find the LSRL.

Interpret the slope and correlation coefficient in the context of the problem.


Least squares regression lines

Ans: r = .994,

Correlation coefficient:

There is a strong, positive, linear association between the age and height of children.

Slope:

For an increase in age of one month, there is an approximateincrease of .34 inches in heights of children.


Least squares regression lines

The ages (in months) and heights (in inches) of seven children are given.

x1624426075102120

y24303540485660

Predict the height of a child who is 4.5 years old. (4.5 yrs = 54 months)

Predict the height of someone who is 20 years old. (240 months)


Extrapolation

The LSRL should not be used to predict y for values of xoutsidethe data set.

It is unknown whether the pattern observed in the scatterplot continues outside this range.

Extrapolation


Least squares regression lines

The ages (in months) and heights (in inches) of seven children are given.

The LSRL is

Can this equation be used to estimate the age of a child who is 50 inches tall?

Calculate: LinReg L2,L1

For these data, this is the best equation to predict y from x.

Do you get the same LSRL?

However, statisticians will always use this equation to predict x from y


Least squares regression lines

The ages (in months) and heights (in inches) of seven children are given.

x1624426075102120

y24303540485660

Calculate x & y.

62.71, 41.86

Plot the point (x, y) on the LSRL.

Will this point always be on the LSRL?

YES!


Least squares regression lines

The correlation coefficient and the LSRL are both non-resistant measures.


Formulas on chart

Formulas – on chart


Least squares regression lines

The following statistics are found for the variables posted speed limit and the average number of accidents.

Find: the LSRL & predict the number of accidents for a posted speed limit of 50 mph.

(Hint: Find b1, then b0, then LSRL)


Least squares regression lines

Predict the number of accidents for a posted speed limit of 50 mph.


Least squares regression lines

Homework:

  • Packet page 64, “Linear Regression Activity”

  • Packet page 68


  • Login