SlideShare ist ein Scribd-Unternehmen logo
1 von 57
Multiple Regression Analysis  and Model Building
Chapter Goals ,[object Object],[object Object],[object Object],[object Object],[object Object]
Chapter Goals ,[object Object],[object Object],[object Object],[object Object],(continued)
The Multiple Regression Model Idea: Examine the linear relationship between  1 dependent (y) & 2 or more independent variables (x i ) Population model: Y-intercept Population slopes Random Error Estimated  (or predicted)  value of y Estimated slope coefficients Estimated multiple regression model: Estimated intercept
Multiple Regression Model Two variable model y x 1 x 2 Slope for variable x 1 Slope for variable x 2
Multiple Regression Model Two variable model y x 1 x 2 y i y i < e = (y – y) < x 2i x 1i The best fit equation, y , is found by minimizing the sum of squared errors,   e 2 < Sample observation
Multiple Regression Assumptions ,[object Object],[object Object],[object Object],[object Object],e = (y – y) < Errors (residuals) from the regression model:
Model Specification ,[object Object],[object Object],[object Object]
The Correlation Matrix ,[object Object],[object Object],[object Object]
Example ,[object Object],[object Object],[object Object],[object Object],[object Object]
Pie Sales Model ,[object Object],[object Object],Correlation matrix: Multiple regression model: 2.7 7.00 300 15 3.5 5.00 450 14 4.0 5.90 440 13 3.2 7.90 300 12 3.5 7.20 340 11 4.0 5.00 490 10 3.5 7.00 450 9 3.7 6.40 470 8 3.0 4.50 430 7 4.0 7.50 380 6 3.0 6.80 350 5 4.5 8.00 430 4 3.0 8.00 350 3 3.3 7.50 460 2 3.3 5.50 350 1 Advertising ($100s) Price ($) Pie Sales Week 1 0.03044 0.55632 Advertising 1 -0.44327 Price 1 Pie Sales Advertising Price Pie Sales  
Interpretation of Estimated Coefficients ,[object Object],[object Object],[object Object],[object Object],[object Object]
Pie Sales Correlation Matrix ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1 0.03044 0.55632 Advertising 1 -0.44327 Price 1 Pie Sales Advertising Price Pie Sales  
Scatter Diagrams Sales Sales Price Advertising
Estimating a Multiple Linear  Regression Equation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Estimating a Multiple Linear  Regression Equation ,[object Object],[object Object]
Estimating a Multiple Linear  Regression Equation ,[object Object],[object Object]
Multiple Regression Output 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA     15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
The Multiple Regression Equation b 1  = -24.975 :  sales will decrease, on average, by 24.975 pies per week for each $1 increase in selling price, net of the effects of changes due to advertising b 2  = 74.131 :  sales will increase, on average, by 74.131 pies per week for each $100 increase in advertising, net of the effects of changes due to price where Sales is in number of pies per week Price is in $ Advertising is in $100’s.
Using The Model to Make Predictions Predict sales for a week in which the selling price is $5.50 and advertising is $350: Predicted sales is 428.62 pies Note that Advertising is in $100’s, so $350 means that x 2  = 3.5
Predictions in PHStat ,[object Object],Check the “confidence and prediction interval estimates” box
[object Object],Predictions in PHStat (continued) Predicted  y value < Confidence interval for the mean y value, given these x’s < Prediction interval for an individual  y value, given these x’s <
Multiple Coefficient of   Determination (R 2 ) ,[object Object]
Multiple Coefficient of   Determination 52.1% of the variation in pie sales is explained by the variation in price and advertising (continued) 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA     15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
Adjusted R 2 ,[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],Adjusted R 2 (continued)
Multiple Coefficient of   Determination 44.2% of the variation in pie sales is explained by the variation in price and advertising, taking into account the sample size and number of independent variables (continued) 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA     15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
Is the Model Significant? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
F-Test for Overall Significance ,[object Object],[object Object],[object Object],[object Object],(continued)
F-Test for Overall Significance (continued) With 2 and 12 degrees of freedom P-value for the F-Test 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA     15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
[object Object],[object Object],[object Object],[object Object],F-Test for Overall Significance Test Statistic:  Decision: Conclusion: Reject H 0  at    = 0.05 The regression model does explain a significant portion of the variation in pie sales  (There is evidence that at least one independent variable affects  y ) 0      = .05 F .05  = 3.885 Reject H 0 Do not  reject H 0 Critical Value:  F    = 3.885 (continued) F
Are Individual Variables Significant? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Are Individual Variables Significant? ,[object Object],[object Object],[object Object],[object Object],[object Object],(continued)
Are Individual Variables Significant? t-value for Price is  t = -2.306, with p-value .0398 t-value for Advertising is t = 2.855, with p-value .0145 (continued) 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA     15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
Inferences about the Slope:  t   Test Example ,[object Object],[object Object],[object Object],[object Object],[object Object],The test statistic for each variable falls in the rejection region (p-values < .05) There is evidence that both Price and Advertising affect pie sales at    = .05 From Excel output:  Reject H 0  for each variable Decision: Conclusion: Reject H 0 Reject H 0  /2=.025 -t α /2 Do not reject H 0 0 t α /2  /2=.025 -2.1788 2.1788 0.01449 2.85478 25.96732 74.13096 Advertising 0.03979 -2.30565 10.83213 -24.97509 Price P-value t Stat Standard Error Coefficients  
Confidence Interval Estimate  for the Slope Confidence interval for the population slope  β 1  (the effect of changes in price on pie sales): Example:   Weekly sales are estimated to be reduced by between 1.37 to 48.58 pies for each increase of $1 in the selling price where t has  (n – k – 1) d.f. … … … … 130.70888 17.55303 25.96732 74.13096 Advertising -1.37392 -48.57626 10.83213 -24.97509 Price 555.46404 57.58835 114.25389 306.52619 Intercept Upper 95% Lower 95% Standard Error Coefficients  
Standard Deviation of the Regression Model ,[object Object],[object Object]
Standard Deviation of the Regression Model The standard deviation of the regression model is 47.46  (continued) 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA     15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
[object Object],[object Object],[object Object],Standard Deviation of the Regression Model (continued)
Multicollinearity ,[object Object],[object Object]
Multicollinearity ,[object Object],[object Object],[object Object],[object Object],(continued)
Some Indications of Severe Multicollinearity ,[object Object],[object Object],[object Object],[object Object]
Qualitative (Dummy) Variables ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Dummy-Variable Model Example  (with 2 Levels) Let: y  = pie sales x 1  = price x 2  = holiday   (X 2  = 1 if a holiday occurred during the week)    (X 2  = 0 if there was no holiday that week)
Dummy-Variable Model Example  (with 2 Levels) Same slope (continued) x 1  (Price) y (sales) b 0  + b 2 b 0   Holiday No Holiday Different intercept Holiday No Holiday If  H 0 :  β 2  = 0  is rejected, then “ Holiday” has a significant effect on pie sales
Interpreting the Dummy Variable Coefficient (with 2 Levels) Sales: number of pies sold per week Price:  pie price in $ Holiday: Example: 1  If a holiday occurred during the week 0  If no holiday occurred b 2  = 15: on average, sales were 15 pies greater in weeks with a holiday than in weeks without a holiday, given the same price
Dummy-Variable Models  (more than 2 Levels) ,[object Object],[object Object],[object Object],[object Object],[object Object],Three levels, so two dummy variables are needed
Dummy-Variable Models  (more than 2 Levels) b 2  shows the impact on price if the house is a ranch style,  compared to a condo b 3  shows the impact on price if the house is a split level style,  compared to a condo (continued) Let the default category be “condo”
Interpreting the Dummy Variable Coefficients (with 3 Levels) With the same square feet, a ranch will have an estimated average price of 23.53 thousand dollars more than a condo With the same square feet, a ranch will have an estimated average price of 18.84 thousand dollars more than a condo. Suppose the estimated equation is For a condo: x 2  = x 3  = 0 For a ranch: x 3  = 0 For a split level: x 2  = 0
Model Building ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],Stepwise Regression
Best Subsets Regression ,[object Object],[object Object],Stepwise regression and best subsets regression can be performed using PHStat, Minitab, or other statistical software packages
Aptness of the Model ,[object Object],[object Object],[object Object],[object Object],[object Object],Errors (or Residuals) are given by
Residual Analysis Non-constant variance  Constant variance x x residuals residuals Not Independent Independent x residuals x residuals 
The Normality Assumption ,[object Object],[object Object],[object Object]
Chapter Summary ,[object Object],[object Object],[object Object],[object Object],[object Object]
Chapter Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],(continued)

Weitere ähnliche Inhalte

Was ist angesagt?

Data Science - Part IV - Regression Analysis & ANOVA
Data Science - Part IV - Regression Analysis & ANOVAData Science - Part IV - Regression Analysis & ANOVA
Data Science - Part IV - Regression Analysis & ANOVADerek Kane
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsBabasab Patil
 
Regression analysis
Regression analysisRegression analysis
Regression analysisRavi shankar
 
Simple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisSimple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisShailendra Tomar
 
Correlation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft ExcelCorrelation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft ExcelSetia Pramana
 
Analysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to knowAnalysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to knowStat Analytica
 
Introduction to Regression Analysis
Introduction to Regression AnalysisIntroduction to Regression Analysis
Introduction to Regression AnalysisMinha Hwang
 
08 ch ken black solution
08 ch ken black solution08 ch ken black solution
08 ch ken black solutionKrunal Shah
 
Multinomial logisticregression basicrelationships
Multinomial logisticregression basicrelationshipsMultinomial logisticregression basicrelationships
Multinomial logisticregression basicrelationshipsAnirudha si
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.sonia gupta
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentationCarlo Magno
 
R square vs adjusted r square
R square vs adjusted r squareR square vs adjusted r square
R square vs adjusted r squareAkhilesh Joshi
 
7. binomial distribution
7. binomial distribution7. binomial distribution
7. binomial distributionKaran Kukreja
 
Logistic regression with SPSS
Logistic regression with SPSSLogistic regression with SPSS
Logistic regression with SPSSLNIPE
 
07 ch ken black solution
07 ch ken black solution07 ch ken black solution
07 ch ken black solutionKrunal Shah
 
Regression analysis
Regression analysisRegression analysis
Regression analysissaba khan
 

Was ist angesagt? (20)

Data Science - Part IV - Regression Analysis & ANOVA
Data Science - Part IV - Regression Analysis & ANOVAData Science - Part IV - Regression Analysis & ANOVA
Data Science - Part IV - Regression Analysis & ANOVA
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec doms
 
Panel Data Models
Panel Data ModelsPanel Data Models
Panel Data Models
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Simple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisSimple & Multiple Regression Analysis
Simple & Multiple Regression Analysis
 
Correlation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft ExcelCorrelation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft Excel
 
Analysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to knowAnalysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to know
 
Introduction to Regression Analysis
Introduction to Regression AnalysisIntroduction to Regression Analysis
Introduction to Regression Analysis
 
Multiple Regression Analysis (MRA)
Multiple Regression Analysis (MRA)Multiple Regression Analysis (MRA)
Multiple Regression Analysis (MRA)
 
08 ch ken black solution
08 ch ken black solution08 ch ken black solution
08 ch ken black solution
 
Multinomial logisticregression basicrelationships
Multinomial logisticregression basicrelationshipsMultinomial logisticregression basicrelationships
Multinomial logisticregression basicrelationships
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentation
 
R square vs adjusted r square
R square vs adjusted r squareR square vs adjusted r square
R square vs adjusted r square
 
Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear Regression
 
7. binomial distribution
7. binomial distribution7. binomial distribution
7. binomial distribution
 
Logistic regression with SPSS
Logistic regression with SPSSLogistic regression with SPSS
Logistic regression with SPSS
 
07 ch ken black solution
07 ch ken black solution07 ch ken black solution
07 ch ken black solution
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 

Ähnlich wie Multiple Regression

Lesson07_new
Lesson07_newLesson07_new
Lesson07_newshengvn
 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.pptTanyaWadhwani4
 
Some study materials
Some study materialsSome study materials
Some study materialsSatishH5
 
Regression Presentation.pptx
Regression Presentation.pptxRegression Presentation.pptx
Regression Presentation.pptxMuhammadMuslim25
 
Stat_AMBA_600_Problem Set3
Stat_AMBA_600_Problem Set3Stat_AMBA_600_Problem Set3
Stat_AMBA_600_Problem Set3Tyler Anton
 
Bbs11 ppt ch14
Bbs11 ppt ch14Bbs11 ppt ch14
Bbs11 ppt ch14Tuul Tuul
 
Multinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisMultinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisHARISH Kumar H R
 
Newbold_chap13.ppt
Newbold_chap13.pptNewbold_chap13.ppt
Newbold_chap13.pptcfisicaster
 
linear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annovalinear Regression, multiple Regression and Annova
linear Regression, multiple Regression and AnnovaMansi Rastogi
 
Chap12 multiple regression
Chap12 multiple regressionChap12 multiple regression
Chap12 multiple regressionJudianto Nugroho
 
Marketing Engineering Notes
Marketing Engineering NotesMarketing Engineering Notes
Marketing Engineering NotesFelipe Affonso
 
Managerial Economics - Demand Estimation (regression analysis)
Managerial Economics - Demand Estimation (regression analysis)Managerial Economics - Demand Estimation (regression analysis)
Managerial Economics - Demand Estimation (regression analysis)JooneEltanal
 
Demand estimation and forecasting
Demand estimation and forecastingDemand estimation and forecasting
Demand estimation and forecastingshivraj negi
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsBabasab Patil
 
What is Multiple Linear Regression and How Can it be Helpful for Business Ana...
What is Multiple Linear Regression and How Can it be Helpful for Business Ana...What is Multiple Linear Regression and How Can it be Helpful for Business Ana...
What is Multiple Linear Regression and How Can it be Helpful for Business Ana...Smarten Augmented Analytics
 
regression-130929093340-phpapp02 (1).pdf
regression-130929093340-phpapp02 (1).pdfregression-130929093340-phpapp02 (1).pdf
regression-130929093340-phpapp02 (1).pdfMuhammadAftab89
 
Data Analysison Regression
Data Analysison RegressionData Analysison Regression
Data Analysison Regressionjamuga gitulho
 

Ähnlich wie Multiple Regression (20)

Lesson07_new
Lesson07_newLesson07_new
Lesson07_new
 
Demand Estimation
Demand EstimationDemand Estimation
Demand Estimation
 
Statistics homework help
Statistics homework helpStatistics homework help
Statistics homework help
 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.ppt
 
Some study materials
Some study materialsSome study materials
Some study materials
 
Regression Presentation.pptx
Regression Presentation.pptxRegression Presentation.pptx
Regression Presentation.pptx
 
Stat_AMBA_600_Problem Set3
Stat_AMBA_600_Problem Set3Stat_AMBA_600_Problem Set3
Stat_AMBA_600_Problem Set3
 
Bbs11 ppt ch14
Bbs11 ppt ch14Bbs11 ppt ch14
Bbs11 ppt ch14
 
Multinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisMultinomial Logistic Regression Analysis
Multinomial Logistic Regression Analysis
 
Newbold_chap13.ppt
Newbold_chap13.pptNewbold_chap13.ppt
Newbold_chap13.ppt
 
linear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annovalinear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annova
 
Chap12 multiple regression
Chap12 multiple regressionChap12 multiple regression
Chap12 multiple regression
 
Marketing Engineering Notes
Marketing Engineering NotesMarketing Engineering Notes
Marketing Engineering Notes
 
Managerial Economics - Demand Estimation (regression analysis)
Managerial Economics - Demand Estimation (regression analysis)Managerial Economics - Demand Estimation (regression analysis)
Managerial Economics - Demand Estimation (regression analysis)
 
Me ppt
Me pptMe ppt
Me ppt
 
Demand estimation and forecasting
Demand estimation and forecastingDemand estimation and forecasting
Demand estimation and forecasting
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec doms
 
What is Multiple Linear Regression and How Can it be Helpful for Business Ana...
What is Multiple Linear Regression and How Can it be Helpful for Business Ana...What is Multiple Linear Regression and How Can it be Helpful for Business Ana...
What is Multiple Linear Regression and How Can it be Helpful for Business Ana...
 
regression-130929093340-phpapp02 (1).pdf
regression-130929093340-phpapp02 (1).pdfregression-130929093340-phpapp02 (1).pdf
regression-130929093340-phpapp02 (1).pdf
 
Data Analysison Regression
Data Analysison RegressionData Analysison Regression
Data Analysison Regression
 

Kürzlich hochgeladen

Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 

Kürzlich hochgeladen (20)

Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 

Multiple Regression

  • 1. Multiple Regression Analysis and Model Building
  • 2.
  • 3.
  • 4. The Multiple Regression Model Idea: Examine the linear relationship between 1 dependent (y) & 2 or more independent variables (x i ) Population model: Y-intercept Population slopes Random Error Estimated (or predicted) value of y Estimated slope coefficients Estimated multiple regression model: Estimated intercept
  • 5. Multiple Regression Model Two variable model y x 1 x 2 Slope for variable x 1 Slope for variable x 2
  • 6. Multiple Regression Model Two variable model y x 1 x 2 y i y i < e = (y – y) < x 2i x 1i The best fit equation, y , is found by minimizing the sum of squared errors,  e 2 < Sample observation
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. Scatter Diagrams Sales Sales Price Advertising
  • 15.
  • 16.
  • 17.
  • 18. Multiple Regression Output 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA   15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
  • 19. The Multiple Regression Equation b 1 = -24.975 : sales will decrease, on average, by 24.975 pies per week for each $1 increase in selling price, net of the effects of changes due to advertising b 2 = 74.131 : sales will increase, on average, by 74.131 pies per week for each $100 increase in advertising, net of the effects of changes due to price where Sales is in number of pies per week Price is in $ Advertising is in $100’s.
  • 20. Using The Model to Make Predictions Predict sales for a week in which the selling price is $5.50 and advertising is $350: Predicted sales is 428.62 pies Note that Advertising is in $100’s, so $350 means that x 2 = 3.5
  • 21.
  • 22.
  • 23.
  • 24. Multiple Coefficient of Determination 52.1% of the variation in pie sales is explained by the variation in price and advertising (continued) 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA   15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
  • 25.
  • 26.
  • 27. Multiple Coefficient of Determination 44.2% of the variation in pie sales is explained by the variation in price and advertising, taking into account the sample size and number of independent variables (continued) 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA   15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
  • 28.
  • 29.
  • 30. F-Test for Overall Significance (continued) With 2 and 12 degrees of freedom P-value for the F-Test 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA   15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
  • 31.
  • 32.
  • 33.
  • 34. Are Individual Variables Significant? t-value for Price is t = -2.306, with p-value .0398 t-value for Advertising is t = 2.855, with p-value .0145 (continued) 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA   15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
  • 35.
  • 36. Confidence Interval Estimate for the Slope Confidence interval for the population slope β 1 (the effect of changes in price on pie sales): Example: Weekly sales are estimated to be reduced by between 1.37 to 48.58 pies for each increase of $1 in the selling price where t has (n – k – 1) d.f. … … … … 130.70888 17.55303 25.96732 74.13096 Advertising -1.37392 -48.57626 10.83213 -24.97509 Price 555.46404 57.58835 114.25389 306.52619 Intercept Upper 95% Lower 95% Standard Error Coefficients  
  • 37.
  • 38. Standard Deviation of the Regression Model The standard deviation of the regression model is 47.46 (continued) 130.70888 17.55303 0.01449 2.85478 25.96732 74.13096 Advertising -1.37392 -48.57626 0.03979 -2.30565 10.83213 -24.97509 Price 555.46404 57.58835 0.01993 2.68285 114.25389 306.52619 Intercept Upper 95% Lower 95% P-value t Stat Standard Error Coefficients         56493.333 14 Total 2252.776 27033.306 12 Residual 0.01201 6.53861 14730.013 29460.027 2 Regression Significance F F MS SS df ANOVA   15 Observations 47.46341 Standard Error 0.44172 Adjusted R Square 0.52148 R Square 0.72213 Multiple R Regression Statistics
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44. Dummy-Variable Model Example (with 2 Levels) Let: y = pie sales x 1 = price x 2 = holiday (X 2 = 1 if a holiday occurred during the week) (X 2 = 0 if there was no holiday that week)
  • 45. Dummy-Variable Model Example (with 2 Levels) Same slope (continued) x 1 (Price) y (sales) b 0 + b 2 b 0 Holiday No Holiday Different intercept Holiday No Holiday If H 0 : β 2 = 0 is rejected, then “ Holiday” has a significant effect on pie sales
  • 46. Interpreting the Dummy Variable Coefficient (with 2 Levels) Sales: number of pies sold per week Price: pie price in $ Holiday: Example: 1 If a holiday occurred during the week 0 If no holiday occurred b 2 = 15: on average, sales were 15 pies greater in weeks with a holiday than in weeks without a holiday, given the same price
  • 47.
  • 48. Dummy-Variable Models (more than 2 Levels) b 2 shows the impact on price if the house is a ranch style, compared to a condo b 3 shows the impact on price if the house is a split level style, compared to a condo (continued) Let the default category be “condo”
  • 49. Interpreting the Dummy Variable Coefficients (with 3 Levels) With the same square feet, a ranch will have an estimated average price of 23.53 thousand dollars more than a condo With the same square feet, a ranch will have an estimated average price of 18.84 thousand dollars more than a condo. Suppose the estimated equation is For a condo: x 2 = x 3 = 0 For a ranch: x 3 = 0 For a split level: x 2 = 0
  • 50.
  • 51.
  • 52.
  • 53.
  • 54. Residual Analysis Non-constant variance  Constant variance x x residuals residuals Not Independent Independent x residuals x residuals 
  • 55.
  • 56.
  • 57.