Chapter 5 Sta404
Chapter 5 Sta404
Chapter 5 Sta404
5.1 CORRELATION
1. Correlation is statistical measure that indicates the extent to which two or more
variables fluctuate together.
Correlation Coeficient
1. It is a plot of 2 variables.
LECTURER: U. H LAU 1
STA 404 : STATISTICS FOR BUSINESS AND SOCIAL SCIENCES CHAPTER 5
y y
x
x (b) r = 0 x
(a) r = 0 (b) r = 0
(c) & (e) positive relationship (d) & (f) negative linear relationship
y y
y
x x
(c) r = 0.8 (d) r = - 0.6
y y y
x x
(e) r = 1 (f) r = - 1
LECTURER: U. H LAU 2
STA 404 : STATISTICS FOR BUSINESS AND SOCIAL SCIENCES CHAPTER 5
n xy- x y
r=
[n x 2 -( x)2 ][n y 2 -( y)2 ]
or
xy- n
x y
r=
[ x - ][ y -
2 2
( x)
2 ( y) 2
]
n n
-1 r 1
-1 0 1
Strength
decreases
LECTURER: U. H LAU 3
STA 404 : STATISTICS FOR BUSINESS AND SOCIAL SCIENCES CHAPTER 5
x= Monthly salary
y= Entertainment expenditure
2. Dependent Variable
– depends on other variables
Example 3:
LECTURER: U. H LAU 4
STA 404 : STATISTICS FOR BUSINESS AND SOCIAL SCIENCES CHAPTER 5
∆y Δy
b=
∆x Δx a
a=
y - b x = y -bx b=
n xy - x y
n n n x 2 - x
2
y - b x = y -bx
xy - n
a= x y
n n
=
x
2
x - n2
LECTURER: U. H LAU 5
STA 404 : STATISTICS FOR BUSINESS AND SOCIAL SCIENCES CHAPTER 5
y- intercept, a
Intercept a
Slope, b
change in y Δy
b= =
change in x Δx
LECTURER: U. H LAU 6
STA 404 : STATISTICS FOR BUSINESS AND SOCIAL SCIENCES CHAPTER 5
Example 5:
Example 6:
Refering to the following regression line, interpret the intercept and slope
coefficients.
5.2.3 PREDICTION
Example 7:
Example 8:
By using the regression line below, predict the sales volume if the
corporation has budgeted RM10,000 for advertising in a month.
LECTURER: U. H LAU 7
STA 404 : STATISTICS FOR BUSINESS AND SOCIAL SCIENCES CHAPTER 5
Example 9:
Refering to example 2,
r = 0.911
r2 = 0.9112 = 0.829
This implies that 82.9% of the variations in entertainment expenditure (y) among
respondents is mainly due to their monthly income (x).
LECTURER: U. H LAU 8
STA 404 : STATISTICS FOR BUSINESS AND SOCIAL SCIENCES CHAPTER 5
A car dealer wants to find the relationship between the odometer reading (in
miles) and the selling price (in $) of used cars. A random sample of 100 cars is
selected, and the data recorded. Performed the analysis based on the following
SPSS ouput.
Model Summaryb
Coefficientsa
Unstandardized Standardized
Coefficients Coefficients
Model B Std. Error Beta t Sig.
1 (Constant) 6533.383 84.512 77.307 .000
odometer -.031 .002 -.806 -13.495 .000
a. Dependent Variable: price
a) Find the regression equation for that relates the two variables.
b) Interpret the regression coefficient.
c) Determine and interpret the coefficient of determination.
f) Predict the selling price of a used car if its odometer reading is 35 000miles.
LECTURER: U. H LAU 9
STA 404 : STATISTICS FOR BUSINESS AND SOCIAL SCIENCES CHAPTER 5
The SPSS output for the regression analysis produce the following output:
Model Summaryb
Coefficientsa
Unstandardized Standardized
Coefficients Coefficients
Model B Std. Error Beta t Sig.
1 (Constant) 1.010 .258 3.914 .002
Speed (km/h) 7.568E-02
X .002 .996 40.192 .000
a. Dependent Variable: Fuel Consumption (lit/100km)
LECTURER: U. H LAU 10