chap13-19-12-11

Upload: tilahunthm

Post on 03-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Chap13-19-12-11

    1/23

    The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin

    Chapter 13

    Linear Regression and Correlation

  • 7/28/2019 Chap13-19-12-11

    2/23

    Regression Analysis - Uses

    2

    Some examples.

    Is there a relationship between the amount Healthtex spends per

    month on advertising and its sales in the month? Can we base an estimate of the cost to heat a home in January on

    the number of square feet in the home?

    Is there a relationship between the miles per gallon achieved by

    large pickup trucks and the size of the engine? Is there a relationship between the number of hours that students

    studied for an exam and the score earned?

  • 7/28/2019 Chap13-19-12-11

    3/23

    Correlation Analysis

    3

    Correlation Analysisis the study of the relationship

    between variables. It is also defined as group of techniquesto measure the association between two variables.

    A Scatter Diagram is a chart that portrays the relationship

    between the two variables. It is the usual first step incorrelations analysis

    The Dependent Variable is the variable being predicted orestimated.

    The Independent Variable provides the basis for estimation. Itis the predictor variable.

  • 7/28/2019 Chap13-19-12-11

    4/23

    Regression Example

    The sales manager of Copier Sales of

    America, which has a large sales forcethroughout the United States and

    Canada, wants to determine whetherthere is a relationship between the

    number of sales calls made in a month

    and the number of copiers sold thatmonth. The manager selects a randomsample of 10 representatives and

    determines the number of sales callseach representative made last month

    and the number of copiers sold.

    4

  • 7/28/2019 Chap13-19-12-11

    5/23

    Scatter Diagram

    5

  • 7/28/2019 Chap13-19-12-11

    6/23

    The Coefficient of Correlation, r

    6

    The Coefficient of Correlation (r) is a measure of the strength of therelationship between two variables. It requires interval or ratio-scaled

    data.

    It can range from -1.00 to 1.00.

    Values of -1.00 or 1.00 indicate perfect and strong correlation. Values close to 0.0 indicate weak correlation.

    Negative values indicate an inverse relationship and positive values

    indicate a direct relationship.

  • 7/28/2019 Chap13-19-12-11

    7/23

    Perfect Correlation

    7

  • 7/28/2019 Chap13-19-12-11

    8/23

    Correlation Coefficient - Interpretation

    8

  • 7/28/2019 Chap13-19-12-11

    9/23

    Correlation Coefficient - Formula

    9

  • 7/28/2019 Chap13-19-12-11

    10/23

    Coefficient of Determination

    10

    The coefficient of determination (r2) is the proportion of

    the total variation in the dependent variable (Y) that is

    explained or accounted for by the variation in the

    independent variable (X). It is the square of the coefficient

    of correlation. It does not give any information on the direction of the

    relationship between the variables.

  • 7/28/2019 Chap13-19-12-11

    11/23

    Correlation Coefficient - Example

    Using the Copier Sales ofAmerica data which a

    scatterplot was developed

    earlier, compute the

    correlation coefficient andcoefficient of determination.

    11

  • 7/28/2019 Chap13-19-12-11

    12/23

    Correlation Coefficient - Example

    12

  • 7/28/2019 Chap13-19-12-11

    13/23

    Correlation Coefficient - Example

    13

    It is positive relationship

  • 7/28/2019 Chap13-19-12-11

    14/23

    Coefficient of Determination (r2) - Example

    14

    The coefficient of determination, r2 ,is 0.576,found by (0.759)2

    This is a proportion or a percent; we can say that

    57.6 percent of the variation in the number ofcopiers sold is explained, or accounted for, by the

    variation in the number of sales calls.

  • 7/28/2019 Chap13-19-12-11

    15/23

    Linear Regression Model

    15

  • 7/28/2019 Chap13-19-12-11

    16/23

    Computing the Slope of the Line

    16

  • 7/28/2019 Chap13-19-12-11

    17/23

    Computing the Y-Intercept

    17

  • 7/28/2019 Chap13-19-12-11

    18/23

    Regression Analysis Least Squares

    Principle

    18

    The least squares principle is used to obtain aand b.

    The equations to determine a and b are:

    bn XY X Y

    n X X

    a Yn

    b Xn

    =

    =

    ( ) ( )( )

    ( ) ( )

    2 2

  • 7/28/2019 Chap13-19-12-11

    19/23

    Illustration of the Least Squares Regression

    Principle

    19

  • 7/28/2019 Chap13-19-12-11

    20/23

    Regression Equation - Example

    Recall the example involving Copier Sales

    of America. The sales manager gatheredinformation on the number of sales calls

    made and the number of copiers soldfor a random sample of 10 sales

    representatives. Use the least squaresmethod to determine a linear equationto express the relationship between the

    two variables.

    What is the expected number of copierssold by a representative who made 20

    calls?

    20

  • 7/28/2019 Chap13-19-12-11

    21/23

    Finding the Regression Equation - Example

    6316.42

    )20(1842.19476.18

    1842.19476.18

    :isequationregressionThe

    ^

    ^

    ^

    ^

    =

    +=

    +=

    +=

    Y

    Y

    XY

    bXaY

    21

  • 7/28/2019 Chap13-19-12-11

    22/23

    Plotting the Estimated and the Actual Ys

    22

  • 7/28/2019 Chap13-19-12-11

    23/23

    End of Chapter 13

    23