Chap 013
Chap 013
Chap 013
Alghamdi
Statistics Department
Faculty of Sciences
Building 90, Room 26F41
King Abdulaziz University
http://saalghamdy.kau.edu.sa
Statistical Techniques in
Business & Economics
Fourteenth Edition
Douglas A. Lind
William G. Marchal
Samuel A.Wathen
McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Learning Objectives
LO1 Define the terms used in correlation analysis.
LO2 Calculate, test, and interpret the relationship between two
variables using the correlation coefficient.
LO3 Apply regression analysis to estimate the linear relationship
between two variables
LO4 Interpret the regression analysis.
LO5 Calculate and interpret confidence and prediction intervals.
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-4
LO1 Define the terms used in correlation analysis.
Correlation Analysis
EXAMPLES
1. Is there a relationship between the amount Healthtex spends per month on advertising
and its sales in the month?
2. Can we base an estimate of the cost to heat a home in January on the number of square
feet in the home?
3. Is there a relationship between the miles per gallon achieved by large pickup trucks and
the size of the engine?
4. Is there a relationship between the number of hours that students studied for an exam
and the score earned?
Scatter Diagram is a chart that portrays the relationship between the two variables. It
is the usual first step in correlations analysis
The Independent Variable provides the basis for estimation. It is the predictor
variable.
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-5
LO1 Define the terms used in correlation analysis.
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-6
LO2 Calculate, test and interpret the relationship between two variables using the correlation coefficient.
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-7
LO2 Calculate, test and interpret the relationship between two variables using the correlation coefficient.
It ranges from 0 to 1.
It does not give any information on the direction of the relationship between
the variables.
EXAMPLE
Using the Copier Sales of America data in the pervious example, compute and
interpret the coefficient of determination.
Regression Analysis
r² 0.576
r 0.759
Since the correlation coefficient is 0.759, then the coefficient of determination is
0.579 which means that 57.6% of the variation in the number of copiers sold is
explained or accounted for by the variation in the number of sales calls.
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-9
LO2 Calculate, test and interpret the relationship between two variables using the correlation coefficient.
EXAMPLE
Using the Copier Sales of America data in the pervious example, test the significance of the
correlation coefficient at 5% significance level.
Regression output
variables coefficients std. error t (df=8) p-value
Intercept 18.9474 8.4988 2.229 .0563
c 1.1842 0.3591 3.297 .0109
The p-value is 0.0109 which is less than 0.05 indicating the rejection of H0. This means
that the correlation in the population is not zero. From a practical standpoint, it indicates to
the sales manager that there is a correlation with respect to the number of sales calls made
and the number of copiers sold in the population of salespeople.
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-10
LO3 Apply regression analysis to estimate the linear relationship between two variables.
Regression Analysis
In regression analysis we use the independent variable (X) to estimate the dependent
variable (Y).
The relationship between the variables is linear.
Both variables must be at least interval scale.
The least squares criterion is used to determine the equation.
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-11
LO3 Apply regression analysis to estimate the linear relationship between two variables.
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-12
LO4 Interpret the regression analysis.
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-13
LO4 Interpret the regression analysis.
The means of these normal distributions of Y values all lie on the straight line of
regression.
The standard deviations of these normal distributions are equal, and the best
estimate for it is the standard error of the estimate s y . x .
The Y values are statistically independent. This means that in the selection of
a sample, the Y values chosen for a particular X value do not depend on the Y
values for any other X values.
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-14
LO4 Interpret the regression analysis.
standard error: Σ( Y − Y )2
s y .x =
n−2
784.211
= = 9.901
ΣY − aΣY − bΣXY
2
10 − 2
s y. x =
n−2
Std. Error 9.901
^
Σ(Y − Y ) 2
s y. x = Determine the standard error of estimate as a measure
n−2 of how well the values fit the regression line.
Compute the estimated y values using the regression
equation: ^
Y = 18.9476 + 1.1842 X
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-15
LO5 Calculate and interpret confidence and prediction intervals..
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-16
LO5 Calculate and interpret confidence and prediction intervals..
Thus, if Sheila Baker makes 25 sales calls, the number of copiers she will sell will be
between about 24 and 73 copiers.
Predicted values for: s
95% Confidence Interval 95% Prediction Interval
Number Sales Calls Predicted lower upper lower upper
25 48.553 40.917 56.188 24.478 72.627
Modified by Dr. Saeed A. D. Alghamdi, Statistics Department, Faculty of Sciences, KAU 13-18