Escolar Documentos
Profissional Documentos
Cultura Documentos
Simple Linear
Regression and
Correlation
CHAPTER OUTLINE
1
Chapter 11 Table of Contents 1
Learning Objectives for
Chapter 11
After careful study of this chapter, you should be able to
do the following:
1. Use simple linear regression for building empirical models to
engineering and scientific data.
2. Understand how the method of least squares is used to estimate
the parameters in a linear regression model.
3. Analyze residuals to determine if the regression model is an
adequate fit to the data or to see if any underlying assumptions
are violated.
4. Test the statistical hypotheses and construct confidence intervals
on the regression model parameters.
5. Use the regression model to make a prediction of a future
observation and construct an appropriate prediction interval on
the future observation.
6. Apply the correlation model.
7. Use simple transformations to achieve a linear regression model.
3
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-1: Empirical Models
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-1: Empirical Models
where the slope and intercept of the line are called regression coefficients.
The simple linear regression model is given by
6
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-1: Empirical Models
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-1: Empirical Models
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
The case of simple linear regression
considers a single regressor or predictor
x and a dependent or response variable
Y.
The expected value of Y at each level of x
is a random variable:
10
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
Suppose that we have n pairs of
observations (x1, y1), (x2, y2), , (xn, yn).
Figure 11-3
Deviations of the data
from the estimated
regression model.
11
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
The method of least squares is used to
estimate the parameters, 0 and 1 by
minimizing the sum of the squares of the
vertical deviations in Figure 11-3.
Figure 11-3
Deviations of the data
from the estimated
regression model.
12
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
Using Equation 11-2, the n observations in the
sample can be expressed as
13
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
14
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
15
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
Definition
16
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
17
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
Notation
18
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
Example 11-1
19
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
Example 11-1
20
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
Example 11-1
21
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
Example 11-1
22
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
23
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
Estimating 2
The error sum of squares is
24
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-2: Simple Linear
Regression
Estimating 2
An unbiased estimator of 2 is
25
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-3: Properties of the Least
Squares Estimators
Slope Properties
Intercept Properties
26
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
27
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
28
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
29
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
30
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
31
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
32
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
33
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
Example 11-2
34
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
Symbolically,
35
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
36
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
37
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-4: Hypothesis Tests in Simple
Linear Regression
Example 11-3
38
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
Interpretation of the P-value
40
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-5: Confidence Intervals
41
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-5: Confidence Intervals
Example 11-4
42
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-5: Confidence Intervals
Definition
43
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-5: Confidence Intervals
Example 11-5
44
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-5: Confidence Intervals
Example 11-5
45
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-5: Confidence Intervals
Example 11-5
46
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-5: Confidence Intervals
Figure 11-7
47
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-6: Prediction of New
Observations
48
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-6: Prediction of New
Observations
Definition
49
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-6: Prediction of New
Observations
Example 11-6
50
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-6: Prediction of New
Observations
Example 11-6
51
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-6: Prediction of New
Observations
Figure 11-8
Figure 11-8 Scatter
diagram of oxygen
purity data from
Example 11-1 with fitted
regression line, 95%
prediction limits (outer
lines) , and 95%
confidence limits on Y|x0.
52
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-7: Adequacy of the Regression
Model
53
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-7: Adequacy of the Regression
Model
11-7.1 Residual Analysis
54
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-7: Adequacy of the Regression
Model
11-7.1 Residual Analysis
55
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-7: Adequacy of the Regression
Model
Example 11-7
56
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-7: Adequacy of the Regression
Model
Example 11-7
57
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-7: Adequacy of the Regression
Model
Example 11-7
58
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-7: Adequacy of the Regression
Model
Example 11-7
59
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-7: Adequacy of the Regression
Model
11-7.2 Coefficient of Determination (R2)
The quantity
61
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-8: Correlation
62
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
Scatter Plots and Correlation
Coefficients
63
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-8: Correlation
64
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-8: Correlation
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-8: Correlation
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-8: Correlation
67
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-8: Correlation
Example 11-8
68
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-8: Correlation
Figure 11-13 Scatter plot of wire bond strength versus wire length,
69
Example 11-8.
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-8: Correlation
70
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-8: Correlation
71
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-8: Correlation
Example 11-8 (continued)
72
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-8: Correlation
73
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-9: Transformation and Logistic
Regression
74
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-9: Transformation and Logistic
Regression
Example 11-9
75
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-9: Transformation and Logistic
Regression
Example 11-9 (Continued)
76
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-9: Transformation and Logistic
Regression
Example 11-9 (Continued)
77
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
11-9: Transformation and Logistic
Regression
Example 11-9 (Continued)
78
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by
Important Terms & Concepts of
Chapter 11
Chapter 11 Summary 79
John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by