32
Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one independent variable and the one dependent variable)

Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Embed Size (px)

Citation preview

Page 1: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Regression Analysis

Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more

variables (one independent variable and the one dependent variable)

Page 2: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Simple Linear Regression Model

Page 3: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one
Page 4: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Probabilistic Linear Regression Model

Page 5: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

The Least Square Method

LSM is based on the concept of minimizing L

Page 6: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

The Least Square Method

Page 7: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Example 11.1

Page 8: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one
Page 9: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

See the Excel Solution

Page 10: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Estimation of Variance

Where SSE = Error sum of squares

Page 11: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one
Page 12: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Solution 11.1

Page 13: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Problem 11.11

Page 14: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Problem 11.11

Solve using Excel

Page 15: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Standard Error of the Estimates

Page 16: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

HYPOTHESIS TESTS IN SIMPLE LINEAR REGRESSION

• Objective:– Assessing the adequacy of a linear regression

model by testing statistical hypotheses about the model parameters and constructing certain confidence intervals.

• Assumption:– the errors are normally and independently

distributed with mean zero and variance σ2

Page 17: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

HYPOTHESIS TESTS IN SIMPLE LINEAR REGRESSION

• Suppose we wish to test the hypothesis that the slope equals a constant

Page 18: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

HYPOTHESIS TESTS IN SIMPLE LINEAR REGRESSION

Page 19: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

A very important special case of the hypotheses about the slope:

Rejecting H0: Either that the straight-line model is adequate or that, although there is a linear effect of x, better results could be obtained with the addition of higher order polynomial terms in x

Either x is of little value in explaining the variation in Y and that the best estimator of Y for any x is Y or that the true relationship between x and Y is not linear

Page 20: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Example11.2

Page 21: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Analysis of Variance Approach to Test Significance of Regression

The error sum of squares

The total corrected sum of squares

The regression sum of squares

Page 22: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Analysis of Variance Approach to Test Significance of Regression

The above test statistic:

Page 23: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Example 11.3

See the Excel solution

Page 24: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Confidence Intervals on the Slope and Intercept

Page 25: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Confidence Intervals on the Slope and Intercept

Page 26: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Confidence Interval on the Mean Response

Page 27: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Example 11.5

Page 28: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Example 11.5

Page 29: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Residual Analysis• Analysis of the residuals is frequently helpful in

checking the assumption that the errors are approximately normally distributed with constant variance

• As an approximate check of normality, the experimenter can construct a frequency histogram of the residuals or a normal probability plot of residuals.

• The analysis can also be done by ploting the residuals against the independent variable x.

Page 30: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Residual Analysis

Page 31: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one
Page 32: Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one

Coefficient of Determination(R2)

• Coefficient of determination is used to judge the adequacy of a regression model.

• R2 is the square of the correlation coefficient between X and Y.