Algebra Review - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

Algebra Review

Description:

If the plot is a random scatter of points, then the linear model is the best we can do. * * Interpretation of the Plot The residuals appear to have a pattern. – PowerPoint PPT presentation

Number of Views:32
Avg rating:3.0/5.0
Slides: 25
Provided by: wrst
Category:
Tags: algebra | plot | review | scatter

less

Transcript and Presenter's Notes

Title: Algebra Review


1
Algebra Review
  • The equation of a straight line
  • y mx b
  • m is the slope the change in y over the change
    in x or rise over run.
  • b is the y-intercept the value where the line
    cuts the y axis.

2
(No Transcript)
3
Review
  • y 3x 2
  • x 0 y 2 (y-intercept)
  • x 3 y 11
  • Change in y (9) divided by the change in x (3)
    gives the slope, 3.

4
Linear Regression
  • Example Tar (mg) and CO (mg) in cigarettes.
  • y, Response CO (mg).
  • x, Explanatory Tar (mg).
  • Cases 25 brands of cigarettes.

5
Correlation Coefficient
  • Tar and nicotine
  • r 0.9575

6
Linear Regression
  • There is a strong positive linear association
    between tar and nicotine.
  • What is the equation of the line that models the
    relationship between tar and nicotine?

7
Linear Model
  • The linear model is the equation of a straight
    line through the data.
  • A point on the straight line through the data
    gives a predicted value of y, denoted .

8
Residual
  • The difference between the observed value of y
    and the predicted value of y, , is called the
    residual.
  • Residual

9
Residual
10
Line of Best Fit
  • There are lots of straight lines that go through
    the data.
  • The line of best fit is the line for which the
    sum of squared residuals is the smallest the
    least squares line.

11
Line of Best Fit
Least squares slope intercept
12
Summary of the Data
Tar, x
CO, y
13
Least Squares Estimates
14
Interpretations
  • Slope for every 1 mg increase in tar, the CO
    content increases, on average, 0.801 mg.
  • Intercept there is not a reasonable
    interpretation of the intercept in this context
    because one wouldnt see a cigarette with 0 mg of
    tar.

15
Predicted CO 2.743 0.801Tar
16
Prediction
  • Least squares line

17
Residual
  • Tar, x 16.0 mg
  • CO, y 16.6 mg
  • Predicted, 15.56 mg
  • Residual, 16.615.56
  • 1.04 mg

18
Residuals
  • Residuals help us see if the linear model makes
    sense.
  • Plot residuals versus the explanatory variable.
  • If the plot is a random scatter of points, then
    the linear model is the best we can do.

19
(No Transcript)
20
Interpretation of the Plot
  • The residuals appear to have a pattern. For
    values of Tar between 0 and 20 the residuals tend
    to increase. The brand with Tar 30, appears to
    have a large residual.

21
(r)2 or R2
  • The square of the correlation coefficient gives
    the amount of variation in y, that is accounted
    for or explained by the linear relationship with
    x.

22
Tar and Nicotine
  • r 0.9575
  • (r)2 (0.9575)2 0.917 or 91.7
  • 91.7 of the variation in CO content can be
    explained by the linear relationship with Tar
    content.

23
Regression Conditions
  • Quantitative variables both variables should be
    quantitative.
  • Linear model does the scatter plot show a
    reasonably straight line?
  • Outliers watch out for outliers as they can be
    very influential.

24
Regression Cautions
  • Beware of extraordinary points.
  • Dont extrapolate beyond the data.
  • Dont infer x causes y just because there is a
    good linear model relating the two variables.
  • Dont choose a model based on R2 alone.
Write a Comment
User Comments (0)
About PowerShow.com