SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Chapter 14 Multiple Regression Models
[object Object],[object Object],Multiple Regression Models
[object Object],[object Object],Multiple Regression Models (mean y value for  fixed x 1 , x 2 ,…, x k  values) =    +   1 x 1  +   2 x 2  + … +   k x k
[object Object],Multiple Regression Models The deterministic portion   +   1 x 1  +   2 x 2  + … +   k x k   is called the  population regression function .
[object Object],[object Object],[object Object],[object Object],[object Object],Polynomial Regression Models
[object Object],[object Object],[object Object],[object Object],Polynomial Regression Models
[object Object],Interaction
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Qualitative Predictor Variables.
[object Object],[object Object],[object Object],Qualitative Predictor Variables.
[object Object],[object Object],Least Square Estimates The  least squares estimates  of   ,   1 ,   2 ,…,   k  are those values of a, b 1 , b 2 , … , b k  that make this sum of squared deviations as small as possible.
Predicted Values & Residuals Doing this successively for the remaining observations yields the  predicted values ( sometimes referred to as the  fitted values  or  fits ). The first predicted value  is obtained by taking the values of the predictor variables x 1 , x 2 ,…, x k  for the first sample observation and substituting these values into the estimated regression function.
Predicted Values & Residuals The  residuals  are then the differences  between the observed and predicted y values.
Sums of Squares The number of degrees of freedom associated with SSResid is n - (k + 1), because k + 1 df are lost in estimating the k + 1 coefficients   ,   1 ,   2 ,…,  k . The  residual (or error) sum of sqyares, SSResid , and  total sum of squares, SSTo , are given by where  is the mean of the y observations in the sample.
Estimate for   2  An estimate of the random deviation variance   2  is given by and  is the estimate of   .
Coefficient of Multiple Determination, R 2  The  coefficient of multiple determination, R 2 , interpreted as the proportion of variation in observed y values that is explained by the fitted model, is
Adjusted R 2   Generally, a model with large R 2  and small s e  are desirable. If a large number of variables (relative to the number of data points) is used those conditions may be satisfied but the model will be unrealistic and difficult to interpret.
Adjusted R 2  Notice that when a large number of variables are used to build the model, this value will be substantially lower than R 2  and give a better indication of usability of the model. To sort out this problem, sometimes computer packages compute a quantity called the  adjusted R 2 ,
F Distributions F distributions are similar to a Chi-Square distributions, but have two parameters, df den  and df num .
The F Test for Model Utility The  regression sum of squares  denoted by  SSReg  is defined by SSREG = SSTo - SSresid
The F Test for Model Utility When all k   i ’s are zero in the model  y =    +   1 x 1  +   2 x 2  + … +   k x k  + e And when the distribution of e is normal with mean 0 and variance   2  for any particular values of x 1 , x 2 ,…, x k , the statistic has an F probability distribution based on k numerator df and n - (K+ 1) denominator df
The F Test for Utility of the Model   y =    +   1 x 1  +   2 x 2  + … +   k x k  + e ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The F Test for Utility of the Model  y =    +   1 x 1  +   2 x 2  + … +   k x k  + e Test statistic:   An alternate formula:
The F Test Utility of the Model  y =    +   1 x 1  +   2 x 2  + … +   k x k  + e The test is upper-tailed, and the information in the Table of Values that capture specified upper-tail F curve areas is used to obtain a bound or bounds on the P-value using numerator df = k and denominator  df = n - (k + 1). Assumptions:  For any particular combination of predictor variable values, the distribution of e, the random deviation, is normal with mean 0 and constant variance.
Example ,[object Object],They attempted to create a model to explain lung capacity in terms of a number of variables. Specifically, Numerical variables: height, age, weight, waist Categorical variables: gender, activity level and smoking status.
Example ,[object Object],[object Object],[object Object]
Example Linear Model with All Numerical Variables ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example ,[object Object],[object Object]
Example Linear Model with variables: Height & Age ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Notice that even though the R 2  value decreases slightly, the adjusted R 2  value actually increases. Also note that the coefficient on Age is now significant at 5%.
Example ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example Linear Model with categorical variables added ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example ,[object Object],This, the group felt, was confounding the study. In an attempt to determine a reasonable optimal subgroup of the variables to keep in the study, it was noted that a number of the variables were highly related. Since the study was small, a stepwise regression was run and the variables, Height, Age, Coded Activity, Coded Gender were kept and the following model was obtained.
Example Linear Model with Height, Age & Coded Activity and Gender ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example   Linear Model with Height, Age & Coded Activity and Gender ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],The rest of the Minitab output is given below.
Example   Linear Model with Height, Age & Coded Activity and Gender ,[object Object],[object Object],Minitab identified 3 outliers (because the standardized residuals were unusually large. Various plots of the standardized residuals are produced on the next few slides with comments
Example   Linear Model with Height, Age & Coded Activity and Gender The histogram of the residuals appears to be consistent with the assumption that the residuals are a sample from a normal distribution.
Example   Linear Model with Height, Age & Coded Activity and Gender The normality plot also tends to indicate the residuals can reasonably be thought to be a sample from a normal distribution.
Example   Linear Model with Height, Age & Coded Activity and Gender The residual plot also tends to indicate that the model assumptions are not unreasonable, although there would be some concern that the residuals are predominantly positive for smaller fitted lung capacities.

Weitere ähnliche Inhalte

Was ist angesagt?

Nonparametric statistics
Nonparametric statisticsNonparametric statistics
Nonparametric statistics
Tarun Gehlot
 
Dependent T Test
Dependent T TestDependent T Test
Dependent T Test
shoffma5
 

Was ist angesagt? (20)

Nonparametric statistics
Nonparametric statisticsNonparametric statistics
Nonparametric statistics
 
Regression
RegressionRegression
Regression
 
One-Way ANOVA
One-Way ANOVAOne-Way ANOVA
One-Way ANOVA
 
Correlation
CorrelationCorrelation
Correlation
 
Simple linear regressionn and Correlation
Simple linear regressionn and CorrelationSimple linear regressionn and Correlation
Simple linear regressionn and Correlation
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
 
Two-Way ANOVA
Two-Way ANOVATwo-Way ANOVA
Two-Way ANOVA
 
Multiple regression in spss
Multiple regression in spssMultiple regression in spss
Multiple regression in spss
 
Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)
 
Chi sqr
Chi sqrChi sqr
Chi sqr
 
Inferences about Two Proportions
 Inferences about Two Proportions Inferences about Two Proportions
Inferences about Two Proportions
 
Probability concept and Probability distribution_Contd
Probability concept and Probability distribution_ContdProbability concept and Probability distribution_Contd
Probability concept and Probability distribution_Contd
 
Chi Square & Anova
Chi Square & AnovaChi Square & Anova
Chi Square & Anova
 
Multiple linear regression II
Multiple linear regression IIMultiple linear regression II
Multiple linear regression II
 
Basics of Hypothesis Testing
Basics of Hypothesis TestingBasics of Hypothesis Testing
Basics of Hypothesis Testing
 
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsSolution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
 
Dependent T Test
Dependent T TestDependent T Test
Dependent T Test
 
Testing a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or VarianceTesting a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or Variance
 
Diagnostic methods for Building the regression model
Diagnostic methods for Building the regression modelDiagnostic methods for Building the regression model
Diagnostic methods for Building the regression model
 
Chi square test
Chi square testChi square test
Chi square test
 

Andere mochten auch

The linear regression model: Theory and Application
The linear regression model: Theory and ApplicationThe linear regression model: Theory and Application
The linear regression model: Theory and Application
University of Salerno
 
multiple linear reggression model
multiple linear reggression modelmultiple linear reggression model
multiple linear reggression model
OmarSalih
 
Basic Control System unit0
Basic Control System unit0Basic Control System unit0
Basic Control System unit0
Asraf Malik
 
15 statistical quality control
15  statistical quality control15  statistical quality control
15 statistical quality control
Jithin Aj
 
IE-002 Control Chart For Variables
IE-002 Control Chart For VariablesIE-002 Control Chart For Variables
IE-002 Control Chart For Variables
handbook
 
Statistics project2
Statistics project2Statistics project2
Statistics project2
shri1984
 

Andere mochten auch (20)

The linear regression model: Theory and Application
The linear regression model: Theory and ApplicationThe linear regression model: Theory and Application
The linear regression model: Theory and Application
 
JF608: Quality Control - Unit 1
JF608: Quality Control - Unit 1JF608: Quality Control - Unit 1
JF608: Quality Control - Unit 1
 
multiple linear reggression model
multiple linear reggression modelmultiple linear reggression model
multiple linear reggression model
 
JF608: Quality Control - Unit 2
JF608: Quality Control - Unit 2JF608: Quality Control - Unit 2
JF608: Quality Control - Unit 2
 
JF608: Quality Control - Unit 4
JF608: Quality Control - Unit 4JF608: Quality Control - Unit 4
JF608: Quality Control - Unit 4
 
JF608: Quality Control - Unit 5
JF608: Quality Control - Unit 5JF608: Quality Control - Unit 5
JF608: Quality Control - Unit 5
 
Multivariate Linear Regression Model for Simulaneous Estimation of Debutanise...
Multivariate Linear Regression Model for Simulaneous Estimation of Debutanise...Multivariate Linear Regression Model for Simulaneous Estimation of Debutanise...
Multivariate Linear Regression Model for Simulaneous Estimation of Debutanise...
 
Basic Control System unit0
Basic Control System unit0Basic Control System unit0
Basic Control System unit0
 
15 statistical quality control
15  statistical quality control15  statistical quality control
15 statistical quality control
 
JF608: Quality Control - Unit 6
JF608: Quality Control - Unit 6JF608: Quality Control - Unit 6
JF608: Quality Control - Unit 6
 
IE-002 Control Chart For Variables
IE-002 Control Chart For VariablesIE-002 Control Chart For Variables
IE-002 Control Chart For Variables
 
Control chart
Control chartControl chart
Control chart
 
JF608: Quality Control - Unit 3
JF608: Quality Control - Unit 3JF608: Quality Control - Unit 3
JF608: Quality Control - Unit 3
 
Life table
Life tableLife table
Life table
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Statistics project2
Statistics project2Statistics project2
Statistics project2
 
Correlation &regression
Correlation &regressionCorrelation &regression
Correlation &regression
 
Linear Regression Ordinary Least Squares Distributed Calculation Example
Linear Regression Ordinary Least Squares Distributed Calculation ExampleLinear Regression Ordinary Least Squares Distributed Calculation Example
Linear Regression Ordinary Least Squares Distributed Calculation Example
 
Correlation analysis ppt
Correlation analysis pptCorrelation analysis ppt
Correlation analysis ppt
 
Medical statistics2
Medical statistics2Medical statistics2
Medical statistics2
 

Ähnlich wie Chapter14

Ch 6 Slides.doc/9929292929292919299292@:&:&:&9/92
Ch 6 Slides.doc/9929292929292919299292@:&:&:&9/92Ch 6 Slides.doc/9929292929292919299292@:&:&:&9/92
Ch 6 Slides.doc/9929292929292919299292@:&:&:&9/92
ohenebabismark508
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Neeraj Bhandari
 
regression-130929093340-phpapp02 (1).pdf
regression-130929093340-phpapp02 (1).pdfregression-130929093340-phpapp02 (1).pdf
regression-130929093340-phpapp02 (1).pdf
MuhammadAftab89
 

Ähnlich wie Chapter14 (20)

Chapter14
Chapter14Chapter14
Chapter14
 
IVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdf
IVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdfIVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdf
IVS-B UNIT-1_merged. Semester 2 fundamental of sciencepdf
 
Corr And Regress
Corr And RegressCorr And Regress
Corr And Regress
 
whitehead-logistic-regression.ppt
whitehead-logistic-regression.pptwhitehead-logistic-regression.ppt
whitehead-logistic-regression.ppt
 
Ch 6 Slides.doc/9929292929292919299292@:&:&:&9/92
Ch 6 Slides.doc/9929292929292919299292@:&:&:&9/92Ch 6 Slides.doc/9929292929292919299292@:&:&:&9/92
Ch 6 Slides.doc/9929292929292919299292@:&:&:&9/92
 
Week 7
Week 7Week 7
Week 7
 
Corr-and-Regress (1).ppt
Corr-and-Regress (1).pptCorr-and-Regress (1).ppt
Corr-and-Regress (1).ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Cr-and-Regress.ppt
Cr-and-Regress.pptCr-and-Regress.ppt
Cr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Correlation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social ScienceCorrelation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social Science
 
ch02.pdf
ch02.pdfch02.pdf
ch02.pdf
 
Regression
RegressionRegression
Regression
 
Regression Analysis by Muthama JM
Regression Analysis by Muthama JM Regression Analysis by Muthama JM
Regression Analysis by Muthama JM
 
Regression analysis by Muthama JM
Regression analysis by Muthama JMRegression analysis by Muthama JM
Regression analysis by Muthama JM
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statistics
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
 
regression-130929093340-phpapp02 (1).pdf
regression-130929093340-phpapp02 (1).pdfregression-130929093340-phpapp02 (1).pdf
regression-130929093340-phpapp02 (1).pdf
 

Mehr von rwmiller

Mehr von rwmiller (11)

Chapter06
Chapter06Chapter06
Chapter06
 
Chapter10
Chapter10Chapter10
Chapter10
 
Chapter09
Chapter09Chapter09
Chapter09
 
Chapter07
Chapter07Chapter07
Chapter07
 
Chapter04
Chapter04Chapter04
Chapter04
 
Chapter03
Chapter03Chapter03
Chapter03
 
Chapter02
Chapter02Chapter02
Chapter02
 
Chapter01
Chapter01Chapter01
Chapter01
 
Chapter03
Chapter03Chapter03
Chapter03
 
Chapter02
Chapter02Chapter02
Chapter02
 
Chapter01
Chapter01Chapter01
Chapter01
 

Kürzlich hochgeladen

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Kürzlich hochgeladen (20)

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

Chapter14

  • 1. Chapter 14 Multiple Regression Models
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. Predicted Values & Residuals Doing this successively for the remaining observations yields the predicted values ( sometimes referred to as the fitted values or fits ). The first predicted value is obtained by taking the values of the predictor variables x 1 , x 2 ,…, x k for the first sample observation and substituting these values into the estimated regression function.
  • 12. Predicted Values & Residuals The residuals are then the differences between the observed and predicted y values.
  • 13. Sums of Squares The number of degrees of freedom associated with SSResid is n - (k + 1), because k + 1 df are lost in estimating the k + 1 coefficients  ,  1 ,  2 ,…,  k . The residual (or error) sum of sqyares, SSResid , and total sum of squares, SSTo , are given by where is the mean of the y observations in the sample.
  • 14. Estimate for  2 An estimate of the random deviation variance  2 is given by and is the estimate of  .
  • 15. Coefficient of Multiple Determination, R 2 The coefficient of multiple determination, R 2 , interpreted as the proportion of variation in observed y values that is explained by the fitted model, is
  • 16. Adjusted R 2 Generally, a model with large R 2 and small s e are desirable. If a large number of variables (relative to the number of data points) is used those conditions may be satisfied but the model will be unrealistic and difficult to interpret.
  • 17. Adjusted R 2 Notice that when a large number of variables are used to build the model, this value will be substantially lower than R 2 and give a better indication of usability of the model. To sort out this problem, sometimes computer packages compute a quantity called the adjusted R 2 ,
  • 18. F Distributions F distributions are similar to a Chi-Square distributions, but have two parameters, df den and df num .
  • 19. The F Test for Model Utility The regression sum of squares denoted by SSReg is defined by SSREG = SSTo - SSresid
  • 20. The F Test for Model Utility When all k  i ’s are zero in the model y =  +  1 x 1 +  2 x 2 + … +  k x k + e And when the distribution of e is normal with mean 0 and variance  2 for any particular values of x 1 , x 2 ,…, x k , the statistic has an F probability distribution based on k numerator df and n - (K+ 1) denominator df
  • 21.
  • 22. The F Test for Utility of the Model y =  +  1 x 1 +  2 x 2 + … +  k x k + e Test statistic: An alternate formula:
  • 23. The F Test Utility of the Model y =  +  1 x 1 +  2 x 2 + … +  k x k + e The test is upper-tailed, and the information in the Table of Values that capture specified upper-tail F curve areas is used to obtain a bound or bounds on the P-value using numerator df = k and denominator df = n - (k + 1). Assumptions: For any particular combination of predictor variable values, the distribution of e, the random deviation, is normal with mean 0 and constant variance.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35. Example Linear Model with Height, Age & Coded Activity and Gender The histogram of the residuals appears to be consistent with the assumption that the residuals are a sample from a normal distribution.
  • 36. Example Linear Model with Height, Age & Coded Activity and Gender The normality plot also tends to indicate the residuals can reasonably be thought to be a sample from a normal distribution.
  • 37. Example Linear Model with Height, Age & Coded Activity and Gender The residual plot also tends to indicate that the model assumptions are not unreasonable, although there would be some concern that the residuals are predominantly positive for smaller fitted lung capacities.