尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
Chap 12-1
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc.
Chapter 12
Simple Regression
Statistics for
Business and Economics
6th Edition
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-2
Chapter Goals
After completing this chapter, you should be
able to:
 Explain the correlation coefficient and perform a
hypothesis test for zero population correlation
 Explain the simple linear regression model
 Obtain and interpret the simple linear regression
equation for a set of data
 Describe R2 as a measure of explanatory power of the
regression model
 Understand the assumptions behind regression
analysis
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-3
Chapter Goals
After completing this chapter, you should be
able to:
 Explain measures of variation and determine whether
the independent variable is significant
 Calculate and interpret confidence intervals for the
regression coefficients
 Use a regression equation for prediction
 Form forecast intervals around an estimated Y value
for a given X
 Use graphical analysis to recognize potential problems
in regression analysis
(continued)
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-4
Correlation Analysis
 Correlation analysis is used to measure
strength of the association (linear relationship)
between two variables
 Correlation is only concerned with strength of the
relationship
 No causal effect is implied with correlation
 Correlation was first presented in Chapter 3
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-5
Correlation Analysis
 The population correlation coefficient is
denoted ρ (the Greek letter rho)
 The sample correlation coefficient is
y
x
xy
s
s
s
r 
1
n
)
y
)(y
x
(x
s i
i
xy





where
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-6
 To test the null hypothesis of no linear
association,
the test statistic follows the Student’s t
distribution with (n – 2 ) degrees of freedom:
Hypothesis Test for Correlation
0
ρ
:
H0 
)
r
(1
2)
(n
r
t
2



Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-7
Lower-tail test:
H0: ρ  0
H1: ρ < 0
Upper-tail test:
H0: ρ ≤ 0
H1: ρ > 0
Two-tail test:
H0: ρ = 0
H1: ρ ≠ 0
Hypothesis Test for Correlation
Decision Rules
a a/2 a/2
a
-ta -ta/2
ta ta/2
Reject H0 if t < -tn-2, a Reject H0 if t > tn-2, a Reject H0 if t < -tn-2, a/2
or t > tn-2, a/2
Where has n - 2 d.f.
)
r
(1
2)
(n
r
t
2



Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-8
Introduction to
Regression Analysis
 Regression analysis is used to:
 Predict the value of a dependent variable based on
the value of at least one independent variable
 Explain the impact of changes in an independent
variable on the dependent variable
Dependent variable: the variable we wish to explain
(also called the endogenous variable)
Independent variable: the variable used to explain
the dependent variable
(also called the exogenous variable)
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-9
Linear Regression Model
 The relationship between X and Y is
described by a linear function
 Changes in Y are assumed to be caused by
changes in X
 Linear regression population equation model
 Where 0 and 1 are the population model
coefficients and  is a random error term.
i
i
1
0
i ε
x
β
β
Y 


Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-10
i
i
1
0
i ε
X
β
β
Y 


Linear component
Simple Linear Regression
Model
The population regression model:
Population
Y intercept
Population
Slope
Coefficient
Random
Error
term
Dependent
Variable
Independent
Variable
Random Error
component
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-11
(continued)
Random Error
for this Xi value
Y
X
Observed Value
of Y for Xi
Predicted Value
of Y for Xi
i
i
1
0
i ε
X
β
β
Y 


Xi
Slope = β1
Intercept = β0
εi
Simple Linear Regression
Model
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-12
i
1
0
i x
b
b
y 

ˆ
The simple linear regression equation provides an
estimate of the population regression line
Simple Linear Regression
Equation
Estimate of
the regression
intercept
Estimate of the
regression slope
Estimated
(or predicted)
y value for
observation i
Value of x for
observation i
The individual random error terms ei have a mean of zero
)
)
ˆ
( i
1
0
i
i
i
i x
b
(b
-
y
y
-
y
e 


Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-13
Least Squares Estimators
 b0 and b1 are obtained by finding the values
of b0 and b1 that minimize the sum of the
squared differences between y and :
2
i
1
0
i
2
i
i
2
i
)]
x
b
(b
[y
min
)
y
(y
min
e
min
SSE
min









ˆ
ŷ
Differential calculus is used to obtain the
coefficient estimators b0 and b1 that minimize SSE
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-14
 The slope coefficient estimator is
 And the constant or y-intercept is
 The regression line always goes through the mean x, y
X
Y
xy
n
1
i
2
i
n
1
i
i
i
1
s
s
r
)
x
(x
)
y
)(y
x
(x
b 








x
b
y
b 1
0 

x
x
Least Squares Estimators
(continued)
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-15
Finding the Least Squares
Equation
 The coefficients b0 and b1 , and other
regression results in this chapter, will be
found using a computer
 Hand calculations are tedious
 Statistical routines are built into Excel
 Other statistical analysis software can be used
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-16
Linear Regression Model
Assumptions
 The true relationship form is linear (Y is a linear function
of X, plus random error)
 The error terms, εi are independent of the x values
 The error terms are random variables with mean 0 and
constant variance, σ2
(the constant variance property is called homoscedasticity)
 The random error terms, εi, are not correlated with one
another, so that
n)
,
1,
(i
for
σ
]
E[ε
and
0
]
E[ε 2
2
i
i 



j
i
all
for
0
]
ε
E[ε j
i 

Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-17
 b0 is the estimated average value of y
when the value of x is zero (if x = 0 is
in the range of observed x values)
 b1 is the estimated change in the
average value of y as a result of a
one-unit change in x
Interpretation of the
Slope and the Intercept
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-18
Simple Linear Regression
Example
 A real estate agent wishes to examine the
relationship between the selling price of a home
and its size (measured in square feet)
 A random sample of 10 houses is selected
 Dependent variable (Y) = house price in $1000s
 Independent variable (X) = square feet
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-19
Sample Data for House Price
Model
House Price in $1000s
(Y)
Square Feet
(X)
245 1400
312 1600
279 1700
308 1875
199 1100
219 1550
405 2350
324 2450
319 1425
255 1700
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-20
0
50
100
150
200
250
300
350
400
450
0 500 1000 1500 2000 2500 3000
Square Feet
House
Price
($1000s)
Graphical Presentation
 House price model: scatter plot
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-21
Regression Using Excel
 Tools / Data Analysis / Regression
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-22
Excel Output
Regression Statistics
Multiple R 0.76211
R Square 0.58082
Adjusted R Square 0.52842
Standard Error 41.33032
Observations 10
ANOVA
df SS MS F Significance F
Regression 1 18934.9348 18934.9348 11.0848 0.01039
Residual 8 13665.5652 1708.1957
Total 9 32600.5000
Coefficients Standard Error t Stat P-value Lower 95% Upper 95%
Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386
Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580
The regression equation is:
feet)
(square
0.10977
98.24833
price
house 

Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-23
0
50
100
150
200
250
300
350
400
450
0 500 1000 1500 2000 2500 3000
Square Feet
House
Price
($1000s)
Graphical Presentation
 House price model: scatter plot and
regression line
feet)
(square
0.10977
98.24833
price
house 

Slope
= 0.10977
Intercept
= 98.248
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-24
Interpretation of the
Intercept, b0
 b0 is the estimated average value of Y when the
value of X is zero (if X = 0 is in the range of
observed X values)
 Here, no houses had 0 square feet, so b0 = 98.24833
just indicates that, for houses within the range of
sizes observed, $98,248.33 is the portion of the
house price not explained by square feet
feet)
(square
0.10977
98.24833
price
house 

Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-25
Interpretation of the
Slope Coefficient, b1
 b1 measures the estimated change in the
average value of Y as a result of a one-
unit change in X
 Here, b1 = .10977 tells us that the average value of a
house increases by .10977($1000) = $109.77, on
average, for each additional one square foot of size
feet)
(square
0.10977
98.24833
price
house 

Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-26
Measures of Variation
 Total variation is made up of two parts:
SSE
SSR
SST 

Total Sum of
Squares
Regression Sum
of Squares
Error Sum of
Squares
 
 2
i )
y
(y
SST  
 2
i
i )
y
(y
SSE ˆ
 
 2
i )
y
y
(
SSR ˆ
where:
= Average value of the dependent variable
yi = Observed values of the dependent variable
i = Predicted value of y for the given xi value
ŷ
y
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-27
 SST = total sum of squares
 Measures the variation of the yi values around their
mean, y
 SSR = regression sum of squares
 Explained variation attributable to the linear
relationship between x and y
 SSE = error sum of squares
 Variation attributable to factors other than the linear
relationship between x and y
(continued)
Measures of Variation
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-28
(continued)
xi
y
X
yi
SST = (yi - y)2
SSE = (yi - yi )2

SSR = (yi - y)2

_
_
_
y

Y
y
_
y

Measures of Variation
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-29
 The coefficient of determination is the portion
of the total variation in the dependent variable
that is explained by variation in the
independent variable
 The coefficient of determination is also called
R-squared and is denoted as R2
Coefficient of Determination, R2
1
R
0 2


note:
squares
of
sum
total
squares
of
sum
regression
SST
SSR
R2


Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-30
r2 = 1
Examples of Approximate
r2 Values
Y
X
Y
X
r2 = 1
r2 = 1
Perfect linear relationship
between X and Y:
100% of the variation in Y is
explained by variation in X
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-31
Examples of Approximate
r2 Values
Y
X
Y
X
0 < r2 < 1
Weaker linear relationships
between X and Y:
Some but not all of the
variation in Y is explained
by variation in X
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-32
Examples of Approximate
r2 Values
r2 = 0
No linear relationship
between X and Y:
The value of Y does not
depend on X. (None of the
variation in Y is explained
by variation in X)
Y
X
r2 = 0
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-33
Excel Output
Regression Statistics
Multiple R 0.76211
R Square 0.58082
Adjusted R Square 0.52842
Standard Error 41.33032
Observations 10
ANOVA
df SS MS F Significance F
Regression 1 18934.9348 18934.9348 11.0848 0.01039
Residual 8 13665.5652 1708.1957
Total 9 32600.5000
Coefficients Standard Error t Stat P-value Lower 95% Upper 95%
Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386
Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580
58.08% of the variation in
house prices is explained by
variation in square feet
0.58082
32600.5000
18934.9348
SST
SSR
R2



Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-34
Correlation and R2
 The coefficient of determination, R2, for a
simple regression is equal to the simple
correlation squared
2
xy
2
r
R 
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-35
Estimation of Model
Error Variance
 An estimator for the variance of the population model
error is
 Division by n – 2 instead of n – 1 is because the simple regression
model uses two estimated parameters, b0 and b1, instead of one
is called the standard error of the estimate
2
n
SSE
2
n
e
s
σ
n
1
i
2
i
2
e
2







ˆ
2
e
e s
s 
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-36
Excel Output
Regression Statistics
Multiple R 0.76211
R Square 0.58082
Adjusted R Square 0.52842
Standard Error 41.33032
Observations 10
ANOVA
df SS MS F Significance F
Regression 1 18934.9348 18934.9348 11.0848 0.01039
Residual 8 13665.5652 1708.1957
Total 9 32600.5000
Coefficients Standard Error t Stat P-value Lower 95% Upper 95%
Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386
Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580
41.33032
se 
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-37
Comparing Standard Errors
Y
Y
X X
e
s
small e
s
large
se is a measure of the variation of observed y
values from the regression line
The magnitude of se should always be judged relative to the size
of the y values in the sample data
i.e., se = $41.33K is moderately small relative to house prices in
the $200 - $300K range
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-38
Inferences About the
Regression Model
 The variance of the regression slope coefficient
(b1) is estimated by
2
x
2
e
2
i
2
e
2
1)s
(n
s
)
x
(x
s
s 1
b





where:
= Estimate of the standard error of the least squares slope
= Standard error of the estimate
1
b
s
2
n
SSE
se


Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-39
Excel Output
Regression Statistics
Multiple R 0.76211
R Square 0.58082
Adjusted R Square 0.52842
Standard Error 41.33032
Observations 10
ANOVA
df SS MS F Significance F
Regression 1 18934.9348 18934.9348 11.0848 0.01039
Residual 8 13665.5652 1708.1957
Total 9 32600.5000
Coefficients Standard Error t Stat P-value Lower 95% Upper 95%
Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386
Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580
0.03297
s 1
b 
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-40
Comparing Standard Errors of
the Slope
Y
X
Y
X
1
b
S
small 1
b
S
large
is a measure of the variation in the slope of regression
lines from different possible samples
1
b
S
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-41
Inference about the Slope:
t Test
 t test for a population slope
 Is there a linear relationship between X and Y?
 Null and alternative hypotheses
H0: β1 = 0 (no linear relationship)
H1: β1  0 (linear relationship does exist)
 Test statistic
1
b
1
1
s
β
b
t


2
n
d.f. 

where:
b1 = regression slope
coefficient
β1 = hypothesized slope
sb1 = standard
error of the slope
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-42
House Price
in $1000s
(y)
Square Feet
(x)
245 1400
312 1600
279 1700
308 1875
199 1100
219 1550
405 2350
324 2450
319 1425
255 1700
(sq.ft.)
0.1098
98.25
price
house 

Estimated Regression Equation:
The slope of this model is 0.1098
Does square footage of the house
affect its sales price?
Inference about the Slope:
t Test
(continued)
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-43
Inferences about the Slope:
t Test Example
H0: β1 = 0
H1: β1  0
From Excel output:
Coefficients Standard Error t Stat P-value
Intercept 98.24833 58.03348 1.69296 0.12892
Square Feet 0.10977 0.03297 3.32938 0.01039
1
b
s
t
b1
3.32938
0.03297
0
0.10977
s
β
b
t
1
b
1
1





Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-44
Inferences about the Slope:
t Test Example
H0: β1 = 0
H1: β1  0
Test Statistic: t = 3.329
There is sufficient evidence
that square footage affects
house price
From Excel output:
Reject H0
Coefficients Standard Error t Stat P-value
Intercept 98.24833 58.03348 1.69296 0.12892
Square Feet 0.10977 0.03297 3.32938 0.01039
1
b
s t
b1
Decision:
Conclusion:
Reject H0
Reject H0
a/2=.025
-tn-2,α/2
Do not reject H0
0
a/2=.025
-2.3060 2.3060 3.329
d.f. = 10-2 = 8
t8,.025 = 2.3060
(continued)
tn-2,α/2
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-45
Inferences about the Slope:
t Test Example
H0: β1 = 0
H1: β1  0
P-value = 0.01039
There is sufficient evidence
that square footage affects
house price
From Excel output:
Reject H0
Coefficients Standard Error t Stat P-value
Intercept 98.24833 58.03348 1.69296 0.12892
Square Feet 0.10977 0.03297 3.32938 0.01039
P-value
Decision: P-value < α so
Conclusion:
(continued)
This is a two-tail test, so
the p-value is
P(t > 3.329)+P(t < -3.329)
= 0.01039
(for 8 d.f.)
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-46
Confidence Interval Estimate
for the Slope
Confidence Interval Estimate of the Slope:
Excel Printout for House Prices:
At 95% level of confidence, the confidence interval for
the slope is (0.0337, 0.1858)
1
1 b
α/2
2,
n
1
1
b
α/2
2,
n
1 s
t
b
β
s
t
b 
 



Coefficients Standard Error t Stat P-value Lower 95% Upper 95%
Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386
Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580
d.f. = n - 2
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-47
Since the units of the house price variable is
$1000s, we are 95% confident that the average
impact on sales price is between $33.70 and
$185.80 per square foot of house size
Coefficients Standard Error t Stat P-value Lower 95% Upper 95%
Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386
Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580
This 95% confidence interval does not include 0.
Conclusion: There is a significant relationship between
house price and square feet at the .05 level of significance
Confidence Interval Estimate
for the Slope
(continued)
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-48
F-Test for Significance
 F Test statistic:
where
MSE
MSR
F 
1
k
n
SSE
MSE
k
SSR
MSR




where F follows an F distribution with k numerator and (n – k - 1)
denominator degrees of freedom
(k = the number of independent variables in the regression model)
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-49
Excel Output
Regression Statistics
Multiple R 0.76211
R Square 0.58082
Adjusted R Square 0.52842
Standard Error 41.33032
Observations 10
ANOVA
df SS MS F Significance F
Regression 1 18934.9348 18934.9348 11.0848 0.01039
Residual 8 13665.5652 1708.1957
Total 9 32600.5000
Coefficients Standard Error t Stat P-value Lower 95% Upper 95%
Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386
Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580
11.0848
1708.1957
18934.9348
MSE
MSR
F 


With 1 and 8 degrees
of freedom
P-value for
the F-Test
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-50
H0: β1 = 0
H1: β1 ≠ 0
a = .05
df1= 1 df2 = 8
Test Statistic:
Decision:
Conclusion:
Reject H0 at a = 0.05
There is sufficient evidence that
house size affects selling price
0
a = .05
F.05 = 5.32
Reject H0
Do not
reject H0
11.08
MSE
MSR
F 

Critical
Value:
Fa = 5.32
F-Test for Significance
(continued)
F
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-51
Prediction
 The regression equation can be used to
predict a value for y, given a particular x
 For a specified value, xn+1 , the predicted
value is
1
n
1
0
1
n x
b
b
y 
 

ˆ
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-52
317.85
0)
0.1098(200
98.25
(sq.ft.)
0.1098
98.25
price
house





Predict the price for a house
with 2000 square feet:
The predicted price for a house with 2000
square feet is 317.85($1,000s) = $317,850
Predictions Using
Regression Analysis
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-53
0
50
100
150
200
250
300
350
400
450
0 500 1000 1500 2000 2500 3000
Square Feet
House
Price
($1000s)
Relevant Data Range
 When using a regression model for prediction,
only predict within the relevant range of data
Relevant data range
Risky to try to
extrapolate far
beyond the range
of observed X’s
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-54
Estimating Mean Values and
Predicting Individual Values
Y
X
xi
y = b0+b1xi

Confidence
Interval for
the expected
value of y,
given xi
Prediction Interval
for an single
observed y, given xi
Goal: Form intervals around y to express
uncertainty about the value of y for a given xi
y

Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-55
Confidence Interval for
the Average Y, Given X
Confidence interval estimate for the
expected value of y given a particular xi
Notice that the formula involves the term
so the size of interval varies according to the distance
xn+1 is from the mean, x


















2
i
2
1
n
e
α/2
2,
n
1
n
1
n
1
n
)
x
(x
)
x
(x
n
1
s
t
y
:
)
X
|
E(Y
for
interval
Confidence
ˆ
2
1
n )
x
(x 

Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-56
Prediction Interval for
an Individual Y, Given X
Confidence interval estimate for an actual
observed value of y given a particular xi
This extra term adds to the interval width to reflect
the added uncertainty for an individual case


















2
i
2
1
n
e
α/2
2,
n
1
n
1
n
)
x
(x
)
x
(x
n
1
1
s
t
y
:
y
for
interval
Confidence
ˆ
ˆ
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-57
Estimation of Mean Values:
Example
Find the 95% confidence interval for the mean price
of 2,000 square-foot houses
Predicted Price yi = 317.85 ($1,000s)

Confidence Interval Estimate for E(Yn+1|Xn+1)
37.12
317.85
)
x
(x
)
x
(x
n
1
s
t
y 2
i
2
i
e
α/2
2,
-
n
1
n 







ˆ
The confidence interval endpoints are 280.66 and 354.90,
or from $280,660 to $354,900
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-58
Estimation of Individual Values:
Example
Find the 95% confidence interval for an individual
house with 2,000 square feet
Predicted Price yi = 317.85 ($1,000s)

Confidence Interval Estimate for yn+1
102.28
317.85
)
X
(X
)
X
(X
n
1
1
s
t
y 2
i
2
i
e
α/2
1,
-
n
1
n 








ˆ
The confidence interval endpoints are 215.50 and
420.07, or from $215,500 to $420,070

Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-59
Finding Confidence and
Prediction Intervals in Excel
 In Excel, use
PHStat | regression | simple linear regression …
 Check the
“confidence and prediction interval for x=”
box and enter the x-value and confidence level
desired
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-60
Input values
Finding Confidence and
Prediction Intervals in Excel
(continued)
Confidence Interval Estimate
for E(Yn+1|Xn+1)
Confidence Interval Estimate
for individual yn+1
y


Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-61
Graphical Analysis
 The linear regression model is based on
minimizing the sum of squared errors
 If outliers exist, their potentially large squared
errors may have a strong influence on the fitted
regression line
 Be sure to examine your data graphically for
outliers and extreme points
 Decide, based on your model and logic, whether
the extreme points should remain or be removed
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-62
Chapter Summary
 Introduced the linear regression model
 Reviewed correlation and the assumptions of
linear regression
 Discussed estimating the simple linear
regression coefficients
 Described measures of variation
 Described inference about the slope
 Addressed estimation of mean values and
prediction of individual values

More Related Content

Similar to Newbold_chap12.ppt

Chap12 simple regression
Chap12 simple regressionChap12 simple regression
Chap12 simple regression
Uni Azza Aunillah
 
chap12.pptx
chap12.pptxchap12.pptx
chap12.pptx
SoujanyaLk1
 
lecture No. 3a.ppt
lecture No. 3a.pptlecture No. 3a.ppt
lecture No. 3a.ppt
HamidUllah50
 
linear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annovalinear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annova
Mansi Rastogi
 
Newbold_chap14.ppt
Newbold_chap14.pptNewbold_chap14.ppt
Newbold_chap14.ppt
cfisicaster
 
metod linearne regresije
 metod linearne  regresije metod linearne  regresije
metod linearne regresije
univerzitet u beogradu
 
Newbold_chap06.ppt
Newbold_chap06.pptNewbold_chap06.ppt
Newbold_chap06.ppt
cfisicaster
 
Msb12e ppt ch11
Msb12e ppt ch11Msb12e ppt ch11
Msb12e ppt ch11
Subas Nandy
 
Applied Business Statistics ,ken black , ch 3 part 2
Applied Business Statistics ,ken black , ch 3 part 2Applied Business Statistics ,ken black , ch 3 part 2
Applied Business Statistics ,ken black , ch 3 part 2
AbdelmonsifFadl
 
Chapter 14 Part I
Chapter 14 Part IChapter 14 Part I
Chapter 14 Part I
Matthew L Levy
 
Chap02 describing data; numerical
Chap02 describing data; numericalChap02 describing data; numerical
Chap02 describing data; numerical
Judianto Nugroho
 
Business statistics homework help
Business statistics homework helpBusiness statistics homework help
Business statistics homework help
Statistics Help Desk
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regression
dessybudiyanti
 
Presentasi Tentang Regresi Linear
Presentasi Tentang Regresi LinearPresentasi Tentang Regresi Linear
Presentasi Tentang Regresi Linear
dessybudiyanti
 
Regression Presentation.pptx
Regression Presentation.pptxRegression Presentation.pptx
Regression Presentation.pptx
MuhammadMuslim25
 
Reg
RegReg
201977 1-1-4-pb
201977 1-1-4-pb201977 1-1-4-pb
201977 1-1-4-pb
AssociateProfessorKM
 
Regression
Regression  Regression
Lecture - 8 MLR.pptx
Lecture - 8 MLR.pptxLecture - 8 MLR.pptx
Lecture - 8 MLR.pptx
iris765749
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
Tara Kissel, M.Ed
 

Similar to Newbold_chap12.ppt (20)

Chap12 simple regression
Chap12 simple regressionChap12 simple regression
Chap12 simple regression
 
chap12.pptx
chap12.pptxchap12.pptx
chap12.pptx
 
lecture No. 3a.ppt
lecture No. 3a.pptlecture No. 3a.ppt
lecture No. 3a.ppt
 
linear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annovalinear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annova
 
Newbold_chap14.ppt
Newbold_chap14.pptNewbold_chap14.ppt
Newbold_chap14.ppt
 
metod linearne regresije
 metod linearne  regresije metod linearne  regresije
metod linearne regresije
 
Newbold_chap06.ppt
Newbold_chap06.pptNewbold_chap06.ppt
Newbold_chap06.ppt
 
Msb12e ppt ch11
Msb12e ppt ch11Msb12e ppt ch11
Msb12e ppt ch11
 
Applied Business Statistics ,ken black , ch 3 part 2
Applied Business Statistics ,ken black , ch 3 part 2Applied Business Statistics ,ken black , ch 3 part 2
Applied Business Statistics ,ken black , ch 3 part 2
 
Chapter 14 Part I
Chapter 14 Part IChapter 14 Part I
Chapter 14 Part I
 
Chap02 describing data; numerical
Chap02 describing data; numericalChap02 describing data; numerical
Chap02 describing data; numerical
 
Business statistics homework help
Business statistics homework helpBusiness statistics homework help
Business statistics homework help
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regression
 
Presentasi Tentang Regresi Linear
Presentasi Tentang Regresi LinearPresentasi Tentang Regresi Linear
Presentasi Tentang Regresi Linear
 
Regression Presentation.pptx
Regression Presentation.pptxRegression Presentation.pptx
Regression Presentation.pptx
 
Reg
RegReg
Reg
 
201977 1-1-4-pb
201977 1-1-4-pb201977 1-1-4-pb
201977 1-1-4-pb
 
Regression
Regression  Regression
Regression
 
Lecture - 8 MLR.pptx
Lecture - 8 MLR.pptxLecture - 8 MLR.pptx
Lecture - 8 MLR.pptx
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
 

More from cfisicaster

slidesWaveRegular.pdf
slidesWaveRegular.pdfslidesWaveRegular.pdf
slidesWaveRegular.pdf
cfisicaster
 
WavesNotesAnswers.pdf
WavesNotesAnswers.pdfWavesNotesAnswers.pdf
WavesNotesAnswers.pdf
cfisicaster
 
WavesLoading.pdf
WavesLoading.pdfWavesLoading.pdf
WavesLoading.pdf
cfisicaster
 
WavesTransformation.pdf
WavesTransformation.pdfWavesTransformation.pdf
WavesTransformation.pdf
cfisicaster
 
WavesAppendix.pdf
WavesAppendix.pdfWavesAppendix.pdf
WavesAppendix.pdf
cfisicaster
 
WavesLinear.pdf
WavesLinear.pdfWavesLinear.pdf
WavesLinear.pdf
cfisicaster
 
WavesExamplesAnswers.pdf
WavesExamplesAnswers.pdfWavesExamplesAnswers.pdf
WavesExamplesAnswers.pdf
cfisicaster
 
slidesWaveTransformation.pdf
slidesWaveTransformation.pdfslidesWaveTransformation.pdf
slidesWaveTransformation.pdf
cfisicaster
 
WavesStatistics.pdf
WavesStatistics.pdfWavesStatistics.pdf
WavesStatistics.pdf
cfisicaster
 
slidesWaveLoading.pdf
slidesWaveLoading.pdfslidesWaveLoading.pdf
slidesWaveLoading.pdf
cfisicaster
 
WavesExamples.pdf
WavesExamples.pdfWavesExamples.pdf
WavesExamples.pdf
cfisicaster
 
slidesWaveStatistics.pdf
slidesWaveStatistics.pdfslidesWaveStatistics.pdf
slidesWaveStatistics.pdf
cfisicaster
 
WavesSchedule.pdf
WavesSchedule.pdfWavesSchedule.pdf
WavesSchedule.pdf
cfisicaster
 
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
cfisicaster
 
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdfMario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
cfisicaster
 
David R. Anderson - Estadistica para administracion y economia (2010) - libge...
David R. Anderson - Estadistica para administracion y economia (2010) - libge...David R. Anderson - Estadistica para administracion y economia (2010) - libge...
David R. Anderson - Estadistica para administracion y economia (2010) - libge...
cfisicaster
 
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
cfisicaster
 
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
cfisicaster
 
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
cfisicaster
 
Fisica2.pdf
Fisica2.pdfFisica2.pdf
Fisica2.pdf
cfisicaster
 

More from cfisicaster (20)

slidesWaveRegular.pdf
slidesWaveRegular.pdfslidesWaveRegular.pdf
slidesWaveRegular.pdf
 
WavesNotesAnswers.pdf
WavesNotesAnswers.pdfWavesNotesAnswers.pdf
WavesNotesAnswers.pdf
 
WavesLoading.pdf
WavesLoading.pdfWavesLoading.pdf
WavesLoading.pdf
 
WavesTransformation.pdf
WavesTransformation.pdfWavesTransformation.pdf
WavesTransformation.pdf
 
WavesAppendix.pdf
WavesAppendix.pdfWavesAppendix.pdf
WavesAppendix.pdf
 
WavesLinear.pdf
WavesLinear.pdfWavesLinear.pdf
WavesLinear.pdf
 
WavesExamplesAnswers.pdf
WavesExamplesAnswers.pdfWavesExamplesAnswers.pdf
WavesExamplesAnswers.pdf
 
slidesWaveTransformation.pdf
slidesWaveTransformation.pdfslidesWaveTransformation.pdf
slidesWaveTransformation.pdf
 
WavesStatistics.pdf
WavesStatistics.pdfWavesStatistics.pdf
WavesStatistics.pdf
 
slidesWaveLoading.pdf
slidesWaveLoading.pdfslidesWaveLoading.pdf
slidesWaveLoading.pdf
 
WavesExamples.pdf
WavesExamples.pdfWavesExamples.pdf
WavesExamples.pdf
 
slidesWaveStatistics.pdf
slidesWaveStatistics.pdfslidesWaveStatistics.pdf
slidesWaveStatistics.pdf
 
WavesSchedule.pdf
WavesSchedule.pdfWavesSchedule.pdf
WavesSchedule.pdf
 
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
 
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdfMario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
 
David R. Anderson - Estadistica para administracion y economia (2010) - libge...
David R. Anderson - Estadistica para administracion y economia (2010) - libge...David R. Anderson - Estadistica para administracion y economia (2010) - libge...
David R. Anderson - Estadistica para administracion y economia (2010) - libge...
 
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
 
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
 
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
 
Fisica2.pdf
Fisica2.pdfFisica2.pdf
Fisica2.pdf
 

Recently uploaded

Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
yarusun
 
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
biruktesfaye27
 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
MJDuyan
 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
ShwetaGawande8
 
Talking Tech through Compelling Visual Aids
Talking Tech through Compelling Visual AidsTalking Tech through Compelling Visual Aids
Talking Tech through Compelling Visual Aids
MattVassar1
 
How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17
Celine George
 
Non-Verbal Communication for Tech Professionals
Non-Verbal Communication for Tech ProfessionalsNon-Verbal Communication for Tech Professionals
Non-Verbal Communication for Tech Professionals
MattVassar1
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapitolTechU
 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
BiplabHalder13
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Kalna College
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Quiz Club IIT Kanpur
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
TechSoup
 
Post init hook in the odoo 17 ERP Module
Post init hook in the  odoo 17 ERP ModulePost init hook in the  odoo 17 ERP Module
Post init hook in the odoo 17 ERP Module
Celine George
 
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT KanpurDiversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Quiz Club IIT Kanpur
 
8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity
RuchiRathor2
 
Keynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse CityKeynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse City
PJ Caposey
 
220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
Kalna College
 
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
heathfieldcps1
 
Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024
khabri85
 
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
 
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
 
Talking Tech through Compelling Visual Aids
Talking Tech through Compelling Visual AidsTalking Tech through Compelling Visual Aids
Talking Tech through Compelling Visual Aids
 
How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17
 
Non-Verbal Communication for Tech Professionals
Non-Verbal Communication for Tech ProfessionalsNon-Verbal Communication for Tech Professionals
Non-Verbal Communication for Tech Professionals
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
 
Post init hook in the odoo 17 ERP Module
Post init hook in the  odoo 17 ERP ModulePost init hook in the  odoo 17 ERP Module
Post init hook in the odoo 17 ERP Module
 
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT KanpurDiversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT Kanpur
 
8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity
 
Keynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse CityKeynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse City
 
220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
 
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
 
Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024
 
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
 

Newbold_chap12.ppt

  • 1. Chap 12-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 12 Simple Regression Statistics for Business and Economics 6th Edition
  • 2. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-2 Chapter Goals After completing this chapter, you should be able to:  Explain the correlation coefficient and perform a hypothesis test for zero population correlation  Explain the simple linear regression model  Obtain and interpret the simple linear regression equation for a set of data  Describe R2 as a measure of explanatory power of the regression model  Understand the assumptions behind regression analysis
  • 3. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-3 Chapter Goals After completing this chapter, you should be able to:  Explain measures of variation and determine whether the independent variable is significant  Calculate and interpret confidence intervals for the regression coefficients  Use a regression equation for prediction  Form forecast intervals around an estimated Y value for a given X  Use graphical analysis to recognize potential problems in regression analysis (continued)
  • 4. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-4 Correlation Analysis  Correlation analysis is used to measure strength of the association (linear relationship) between two variables  Correlation is only concerned with strength of the relationship  No causal effect is implied with correlation  Correlation was first presented in Chapter 3
  • 5. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-5 Correlation Analysis  The population correlation coefficient is denoted ρ (the Greek letter rho)  The sample correlation coefficient is y x xy s s s r  1 n ) y )(y x (x s i i xy      where
  • 6. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-6  To test the null hypothesis of no linear association, the test statistic follows the Student’s t distribution with (n – 2 ) degrees of freedom: Hypothesis Test for Correlation 0 ρ : H0  ) r (1 2) (n r t 2   
  • 7. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-7 Lower-tail test: H0: ρ  0 H1: ρ < 0 Upper-tail test: H0: ρ ≤ 0 H1: ρ > 0 Two-tail test: H0: ρ = 0 H1: ρ ≠ 0 Hypothesis Test for Correlation Decision Rules a a/2 a/2 a -ta -ta/2 ta ta/2 Reject H0 if t < -tn-2, a Reject H0 if t > tn-2, a Reject H0 if t < -tn-2, a/2 or t > tn-2, a/2 Where has n - 2 d.f. ) r (1 2) (n r t 2   
  • 8. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-8 Introduction to Regression Analysis  Regression analysis is used to:  Predict the value of a dependent variable based on the value of at least one independent variable  Explain the impact of changes in an independent variable on the dependent variable Dependent variable: the variable we wish to explain (also called the endogenous variable) Independent variable: the variable used to explain the dependent variable (also called the exogenous variable)
  • 9. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-9 Linear Regression Model  The relationship between X and Y is described by a linear function  Changes in Y are assumed to be caused by changes in X  Linear regression population equation model  Where 0 and 1 are the population model coefficients and  is a random error term. i i 1 0 i ε x β β Y   
  • 10. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-10 i i 1 0 i ε X β β Y    Linear component Simple Linear Regression Model The population regression model: Population Y intercept Population Slope Coefficient Random Error term Dependent Variable Independent Variable Random Error component
  • 11. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-11 (continued) Random Error for this Xi value Y X Observed Value of Y for Xi Predicted Value of Y for Xi i i 1 0 i ε X β β Y    Xi Slope = β1 Intercept = β0 εi Simple Linear Regression Model
  • 12. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-12 i 1 0 i x b b y   ˆ The simple linear regression equation provides an estimate of the population regression line Simple Linear Regression Equation Estimate of the regression intercept Estimate of the regression slope Estimated (or predicted) y value for observation i Value of x for observation i The individual random error terms ei have a mean of zero ) ) ˆ ( i 1 0 i i i i x b (b - y y - y e   
  • 13. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-13 Least Squares Estimators  b0 and b1 are obtained by finding the values of b0 and b1 that minimize the sum of the squared differences between y and : 2 i 1 0 i 2 i i 2 i )] x b (b [y min ) y (y min e min SSE min          ˆ ŷ Differential calculus is used to obtain the coefficient estimators b0 and b1 that minimize SSE
  • 14. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-14  The slope coefficient estimator is  And the constant or y-intercept is  The regression line always goes through the mean x, y X Y xy n 1 i 2 i n 1 i i i 1 s s r ) x (x ) y )(y x (x b          x b y b 1 0   x x Least Squares Estimators (continued)
  • 15. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-15 Finding the Least Squares Equation  The coefficients b0 and b1 , and other regression results in this chapter, will be found using a computer  Hand calculations are tedious  Statistical routines are built into Excel  Other statistical analysis software can be used
  • 16. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-16 Linear Regression Model Assumptions  The true relationship form is linear (Y is a linear function of X, plus random error)  The error terms, εi are independent of the x values  The error terms are random variables with mean 0 and constant variance, σ2 (the constant variance property is called homoscedasticity)  The random error terms, εi, are not correlated with one another, so that n) , 1, (i for σ ] E[ε and 0 ] E[ε 2 2 i i     j i all for 0 ] ε E[ε j i  
  • 17. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-17  b0 is the estimated average value of y when the value of x is zero (if x = 0 is in the range of observed x values)  b1 is the estimated change in the average value of y as a result of a one-unit change in x Interpretation of the Slope and the Intercept
  • 18. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-18 Simple Linear Regression Example  A real estate agent wishes to examine the relationship between the selling price of a home and its size (measured in square feet)  A random sample of 10 houses is selected  Dependent variable (Y) = house price in $1000s  Independent variable (X) = square feet
  • 19. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-19 Sample Data for House Price Model House Price in $1000s (Y) Square Feet (X) 245 1400 312 1600 279 1700 308 1875 199 1100 219 1550 405 2350 324 2450 319 1425 255 1700
  • 20. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-20 0 50 100 150 200 250 300 350 400 450 0 500 1000 1500 2000 2500 3000 Square Feet House Price ($1000s) Graphical Presentation  House price model: scatter plot
  • 21. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-21 Regression Using Excel  Tools / Data Analysis / Regression
  • 22. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-22 Excel Output Regression Statistics Multiple R 0.76211 R Square 0.58082 Adjusted R Square 0.52842 Standard Error 41.33032 Observations 10 ANOVA df SS MS F Significance F Regression 1 18934.9348 18934.9348 11.0848 0.01039 Residual 8 13665.5652 1708.1957 Total 9 32600.5000 Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386 Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580 The regression equation is: feet) (square 0.10977 98.24833 price house  
  • 23. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-23 0 50 100 150 200 250 300 350 400 450 0 500 1000 1500 2000 2500 3000 Square Feet House Price ($1000s) Graphical Presentation  House price model: scatter plot and regression line feet) (square 0.10977 98.24833 price house   Slope = 0.10977 Intercept = 98.248
  • 24. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-24 Interpretation of the Intercept, b0  b0 is the estimated average value of Y when the value of X is zero (if X = 0 is in the range of observed X values)  Here, no houses had 0 square feet, so b0 = 98.24833 just indicates that, for houses within the range of sizes observed, $98,248.33 is the portion of the house price not explained by square feet feet) (square 0.10977 98.24833 price house  
  • 25. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-25 Interpretation of the Slope Coefficient, b1  b1 measures the estimated change in the average value of Y as a result of a one- unit change in X  Here, b1 = .10977 tells us that the average value of a house increases by .10977($1000) = $109.77, on average, for each additional one square foot of size feet) (square 0.10977 98.24833 price house  
  • 26. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-26 Measures of Variation  Total variation is made up of two parts: SSE SSR SST   Total Sum of Squares Regression Sum of Squares Error Sum of Squares    2 i ) y (y SST    2 i i ) y (y SSE ˆ    2 i ) y y ( SSR ˆ where: = Average value of the dependent variable yi = Observed values of the dependent variable i = Predicted value of y for the given xi value ŷ y
  • 27. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-27  SST = total sum of squares  Measures the variation of the yi values around their mean, y  SSR = regression sum of squares  Explained variation attributable to the linear relationship between x and y  SSE = error sum of squares  Variation attributable to factors other than the linear relationship between x and y (continued) Measures of Variation
  • 28. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-28 (continued) xi y X yi SST = (yi - y)2 SSE = (yi - yi )2  SSR = (yi - y)2  _ _ _ y  Y y _ y  Measures of Variation
  • 29. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-29  The coefficient of determination is the portion of the total variation in the dependent variable that is explained by variation in the independent variable  The coefficient of determination is also called R-squared and is denoted as R2 Coefficient of Determination, R2 1 R 0 2   note: squares of sum total squares of sum regression SST SSR R2  
  • 30. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-30 r2 = 1 Examples of Approximate r2 Values Y X Y X r2 = 1 r2 = 1 Perfect linear relationship between X and Y: 100% of the variation in Y is explained by variation in X
  • 31. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-31 Examples of Approximate r2 Values Y X Y X 0 < r2 < 1 Weaker linear relationships between X and Y: Some but not all of the variation in Y is explained by variation in X
  • 32. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-32 Examples of Approximate r2 Values r2 = 0 No linear relationship between X and Y: The value of Y does not depend on X. (None of the variation in Y is explained by variation in X) Y X r2 = 0
  • 33. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-33 Excel Output Regression Statistics Multiple R 0.76211 R Square 0.58082 Adjusted R Square 0.52842 Standard Error 41.33032 Observations 10 ANOVA df SS MS F Significance F Regression 1 18934.9348 18934.9348 11.0848 0.01039 Residual 8 13665.5652 1708.1957 Total 9 32600.5000 Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386 Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580 58.08% of the variation in house prices is explained by variation in square feet 0.58082 32600.5000 18934.9348 SST SSR R2   
  • 34. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-34 Correlation and R2  The coefficient of determination, R2, for a simple regression is equal to the simple correlation squared 2 xy 2 r R 
  • 35. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-35 Estimation of Model Error Variance  An estimator for the variance of the population model error is  Division by n – 2 instead of n – 1 is because the simple regression model uses two estimated parameters, b0 and b1, instead of one is called the standard error of the estimate 2 n SSE 2 n e s σ n 1 i 2 i 2 e 2        ˆ 2 e e s s 
  • 36. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-36 Excel Output Regression Statistics Multiple R 0.76211 R Square 0.58082 Adjusted R Square 0.52842 Standard Error 41.33032 Observations 10 ANOVA df SS MS F Significance F Regression 1 18934.9348 18934.9348 11.0848 0.01039 Residual 8 13665.5652 1708.1957 Total 9 32600.5000 Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386 Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580 41.33032 se 
  • 37. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-37 Comparing Standard Errors Y Y X X e s small e s large se is a measure of the variation of observed y values from the regression line The magnitude of se should always be judged relative to the size of the y values in the sample data i.e., se = $41.33K is moderately small relative to house prices in the $200 - $300K range
  • 38. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-38 Inferences About the Regression Model  The variance of the regression slope coefficient (b1) is estimated by 2 x 2 e 2 i 2 e 2 1)s (n s ) x (x s s 1 b      where: = Estimate of the standard error of the least squares slope = Standard error of the estimate 1 b s 2 n SSE se  
  • 39. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-39 Excel Output Regression Statistics Multiple R 0.76211 R Square 0.58082 Adjusted R Square 0.52842 Standard Error 41.33032 Observations 10 ANOVA df SS MS F Significance F Regression 1 18934.9348 18934.9348 11.0848 0.01039 Residual 8 13665.5652 1708.1957 Total 9 32600.5000 Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386 Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580 0.03297 s 1 b 
  • 40. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-40 Comparing Standard Errors of the Slope Y X Y X 1 b S small 1 b S large is a measure of the variation in the slope of regression lines from different possible samples 1 b S
  • 41. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-41 Inference about the Slope: t Test  t test for a population slope  Is there a linear relationship between X and Y?  Null and alternative hypotheses H0: β1 = 0 (no linear relationship) H1: β1  0 (linear relationship does exist)  Test statistic 1 b 1 1 s β b t   2 n d.f.   where: b1 = regression slope coefficient β1 = hypothesized slope sb1 = standard error of the slope
  • 42. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-42 House Price in $1000s (y) Square Feet (x) 245 1400 312 1600 279 1700 308 1875 199 1100 219 1550 405 2350 324 2450 319 1425 255 1700 (sq.ft.) 0.1098 98.25 price house   Estimated Regression Equation: The slope of this model is 0.1098 Does square footage of the house affect its sales price? Inference about the Slope: t Test (continued)
  • 43. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-43 Inferences about the Slope: t Test Example H0: β1 = 0 H1: β1  0 From Excel output: Coefficients Standard Error t Stat P-value Intercept 98.24833 58.03348 1.69296 0.12892 Square Feet 0.10977 0.03297 3.32938 0.01039 1 b s t b1 3.32938 0.03297 0 0.10977 s β b t 1 b 1 1     
  • 44. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-44 Inferences about the Slope: t Test Example H0: β1 = 0 H1: β1  0 Test Statistic: t = 3.329 There is sufficient evidence that square footage affects house price From Excel output: Reject H0 Coefficients Standard Error t Stat P-value Intercept 98.24833 58.03348 1.69296 0.12892 Square Feet 0.10977 0.03297 3.32938 0.01039 1 b s t b1 Decision: Conclusion: Reject H0 Reject H0 a/2=.025 -tn-2,α/2 Do not reject H0 0 a/2=.025 -2.3060 2.3060 3.329 d.f. = 10-2 = 8 t8,.025 = 2.3060 (continued) tn-2,α/2
  • 45. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-45 Inferences about the Slope: t Test Example H0: β1 = 0 H1: β1  0 P-value = 0.01039 There is sufficient evidence that square footage affects house price From Excel output: Reject H0 Coefficients Standard Error t Stat P-value Intercept 98.24833 58.03348 1.69296 0.12892 Square Feet 0.10977 0.03297 3.32938 0.01039 P-value Decision: P-value < α so Conclusion: (continued) This is a two-tail test, so the p-value is P(t > 3.329)+P(t < -3.329) = 0.01039 (for 8 d.f.)
  • 46. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-46 Confidence Interval Estimate for the Slope Confidence Interval Estimate of the Slope: Excel Printout for House Prices: At 95% level of confidence, the confidence interval for the slope is (0.0337, 0.1858) 1 1 b α/2 2, n 1 1 b α/2 2, n 1 s t b β s t b       Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386 Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580 d.f. = n - 2
  • 47. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-47 Since the units of the house price variable is $1000s, we are 95% confident that the average impact on sales price is between $33.70 and $185.80 per square foot of house size Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386 Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580 This 95% confidence interval does not include 0. Conclusion: There is a significant relationship between house price and square feet at the .05 level of significance Confidence Interval Estimate for the Slope (continued)
  • 48. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-48 F-Test for Significance  F Test statistic: where MSE MSR F  1 k n SSE MSE k SSR MSR     where F follows an F distribution with k numerator and (n – k - 1) denominator degrees of freedom (k = the number of independent variables in the regression model)
  • 49. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-49 Excel Output Regression Statistics Multiple R 0.76211 R Square 0.58082 Adjusted R Square 0.52842 Standard Error 41.33032 Observations 10 ANOVA df SS MS F Significance F Regression 1 18934.9348 18934.9348 11.0848 0.01039 Residual 8 13665.5652 1708.1957 Total 9 32600.5000 Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Intercept 98.24833 58.03348 1.69296 0.12892 -35.57720 232.07386 Square Feet 0.10977 0.03297 3.32938 0.01039 0.03374 0.18580 11.0848 1708.1957 18934.9348 MSE MSR F    With 1 and 8 degrees of freedom P-value for the F-Test
  • 50. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-50 H0: β1 = 0 H1: β1 ≠ 0 a = .05 df1= 1 df2 = 8 Test Statistic: Decision: Conclusion: Reject H0 at a = 0.05 There is sufficient evidence that house size affects selling price 0 a = .05 F.05 = 5.32 Reject H0 Do not reject H0 11.08 MSE MSR F   Critical Value: Fa = 5.32 F-Test for Significance (continued) F
  • 51. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-51 Prediction  The regression equation can be used to predict a value for y, given a particular x  For a specified value, xn+1 , the predicted value is 1 n 1 0 1 n x b b y     ˆ
  • 52. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-52 317.85 0) 0.1098(200 98.25 (sq.ft.) 0.1098 98.25 price house      Predict the price for a house with 2000 square feet: The predicted price for a house with 2000 square feet is 317.85($1,000s) = $317,850 Predictions Using Regression Analysis
  • 53. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-53 0 50 100 150 200 250 300 350 400 450 0 500 1000 1500 2000 2500 3000 Square Feet House Price ($1000s) Relevant Data Range  When using a regression model for prediction, only predict within the relevant range of data Relevant data range Risky to try to extrapolate far beyond the range of observed X’s
  • 54. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-54 Estimating Mean Values and Predicting Individual Values Y X xi y = b0+b1xi  Confidence Interval for the expected value of y, given xi Prediction Interval for an single observed y, given xi Goal: Form intervals around y to express uncertainty about the value of y for a given xi y 
  • 55. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-55 Confidence Interval for the Average Y, Given X Confidence interval estimate for the expected value of y given a particular xi Notice that the formula involves the term so the size of interval varies according to the distance xn+1 is from the mean, x                   2 i 2 1 n e α/2 2, n 1 n 1 n 1 n ) x (x ) x (x n 1 s t y : ) X | E(Y for interval Confidence ˆ 2 1 n ) x (x  
  • 56. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-56 Prediction Interval for an Individual Y, Given X Confidence interval estimate for an actual observed value of y given a particular xi This extra term adds to the interval width to reflect the added uncertainty for an individual case                   2 i 2 1 n e α/2 2, n 1 n 1 n ) x (x ) x (x n 1 1 s t y : y for interval Confidence ˆ ˆ
  • 57. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-57 Estimation of Mean Values: Example Find the 95% confidence interval for the mean price of 2,000 square-foot houses Predicted Price yi = 317.85 ($1,000s)  Confidence Interval Estimate for E(Yn+1|Xn+1) 37.12 317.85 ) x (x ) x (x n 1 s t y 2 i 2 i e α/2 2, - n 1 n         ˆ The confidence interval endpoints are 280.66 and 354.90, or from $280,660 to $354,900
  • 58. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-58 Estimation of Individual Values: Example Find the 95% confidence interval for an individual house with 2,000 square feet Predicted Price yi = 317.85 ($1,000s)  Confidence Interval Estimate for yn+1 102.28 317.85 ) X (X ) X (X n 1 1 s t y 2 i 2 i e α/2 1, - n 1 n          ˆ The confidence interval endpoints are 215.50 and 420.07, or from $215,500 to $420,070 
  • 59. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-59 Finding Confidence and Prediction Intervals in Excel  In Excel, use PHStat | regression | simple linear regression …  Check the “confidence and prediction interval for x=” box and enter the x-value and confidence level desired
  • 60. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-60 Input values Finding Confidence and Prediction Intervals in Excel (continued) Confidence Interval Estimate for E(Yn+1|Xn+1) Confidence Interval Estimate for individual yn+1 y  
  • 61. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-61 Graphical Analysis  The linear regression model is based on minimizing the sum of squared errors  If outliers exist, their potentially large squared errors may have a strong influence on the fitted regression line  Be sure to examine your data graphically for outliers and extreme points  Decide, based on your model and logic, whether the extreme points should remain or be removed
  • 62. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 12-62 Chapter Summary  Introduced the linear regression model  Reviewed correlation and the assumptions of linear regression  Discussed estimating the simple linear regression coefficients  Described measures of variation  Described inference about the slope  Addressed estimation of mean values and prediction of individual values
  翻译: