HW 21 Key. 23:41 Home Prices. In order to help clients determine the price at which their house is likely to sell, a realtor gathered a sample of 150.

Slides:



Advertisements
Similar presentations
Lesson 10: Linear Regression and Correlation
Advertisements

Correlation and Linear Regression
Inference for Regression
Chapter 8 Linear Regression.
LECTURE 3 Introduction to Linear Regression and Correlation Analysis
Class 5: Thurs., Sep. 23 Example of using regression to make predictions and understand the likely errors in the predictions: salaries of teachers and.
Lecture 19: Tues., Nov. 11th R-squared (8.6.1) Review
Class 6: Tuesday, Sep. 28 Section 2.4. Checking the assumptions of the simple linear regression model: –Residual plots –Normal quantile plots Outliers.
Stat 512 – Lecture 17 Inference for Regression (9.5, 9.6)
Stat 217 – Day 25 Regression. Last Time - ANOVA When?  Comparing 2 or means (one categorical and one quantitative variable) Research question  Null.
Chapter 9: Correlation and Regression
Stat 112: Lecture 9 Notes Homework 3: Due next Thursday
1 Simple Linear Regression 1. review of least squares procedure 2. inference for least squares lines.
Review for Final Exam Some important themes from Chapters 9-11 Final exam covers these chapters, but implicitly tests the entire course, because we use.
Correlation and Linear Regression
Copyright © 2011 Pearson Education, Inc. Multiple Regression Chapter 23.
Correlation and Regression
Linear Regression and Correlation
1 Least squares procedure Inference for least squares lines Simple Linear Regression.
BPS - 3rd Ed. Chapter 211 Inference for Regression.
Copyright © 2011 Pearson Education, Inc. Regression Diagnostics Chapter 22.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 22 Regression Diagnostics.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 23 Multiple Regression.
Copyright © 2011 Pearson Education, Inc. The Simple Regression Model Chapter 21.
Basic Concepts of Correlation. Definition A correlation exists between two variables when the values of one are somehow associated with the values of.
Chapters 8 & 9 Linear Regression & Regression Wisdom.
Objective: Understanding and using linear regression Answer the following questions: (c) If one house is larger in size than another, do you think it affects.
Copyright ©2011 Brooks/Cole, Cengage Learning Inference about Simple Regression Chapter 14 1.
STA 286 week 131 Inference for the Regression Coefficient Recall, b 0 and b 1 are the estimates of the slope β 1 and intercept β 0 of population regression.
Correlation and Regression. Section 9.1  Correlation is a relationship between 2 variables.  Data is often represented by ordered pairs (x, y) and.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and Regression and Time Series CHAPTER 11 Correlation and Regression: Measuring and Predicting Relationships.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 21 The Simple Regression Model.
Multiple Logistic Regression STAT E-150 Statistical Methods.
ANOVA, Regression and Multiple Regression March
Copyright © 2011 Pearson Education, Inc. Regression Diagnostics Chapter 22.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 24 Building Regression Models.
Introduction to Multiple Regression Lecture 11. The Multiple Regression Model Idea: Examine the linear relationship between 1 dependent (Y) & 2 or more.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Multiple Regression Model Building Statistics for Managers.
Real Estate Sales Forecasting Regression Model of Pueblo neighborhood North Elizabeth Data sources from Pueblo County Website.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Linear Regression and Correlation Chapter 13.
BPS - 5th Ed. Chapter 231 Inference for Regression.
Introduction. We want to see if there is any relationship between the results on exams and the amount of hours used for studies. Person ABCDEFGHIJ Hours/
HW 17 Key. 21:37 Diamond Rings. This data table contains the listed prices and weights of the diamonds in 48 rings offered for sale in The Singapore Times.
HW 23 Key. 24:41 Promotion. These data describe promotional spending by a pharmaceutical company for a cholesterol-lowering drug. The data cover 39 consecutive.
HW 19 Key. 22:37 Diamond Rings. The data table contains the listed prices and weights of the diamonds in 48 rings offered for sale in The Singapore Times.
Correlation and Linear Regression Chapter 13 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
HW 14 Key. 19:38 Convenience Shopping. It’s rare that you’ll find a gas station these days that only sells gas. It’s become more common to find a convenience.
HW 18 Key.
Chapter 15 Multiple Regression Model Building
Chapter 14 Introduction to Multiple Regression
Inference for Least Squares Lines
Topic 10 - Linear Regression
Correlation and Simple Linear Regression
Basic Estimation Techniques
The Least-Squares Regression Line
Correlation and Simple Linear Regression
Basic Estimation Techniques
Stats Club Marnie Brennan
CHAPTER 26: Inference for Regression
Correlation and Simple Linear Regression
Least-Squares Regression
Basic Practice of Statistics - 3rd Edition Inference for Regression
Simple Linear Regression and Correlation
Least-Squares Regression
Regression and Categorical Predictors
Essentials of Statistics for Business and Economics (8e)
Chapter 3.2 Regression Wisdom.
Chapter 9 Regression Wisdom.
Linear Regression and Correlation
Presentation transcript:

HW 21 Key

23:41 Home Prices. In order to help clients determine the price at which their house is likely to sell, a realtor gathered a sample of 150 purchase transactions in her area during a recent three- month period. For the response in the model, use the price of the home ($thousand). As explanatory variables, use the number of sq ft (thousands) and the number of bathrooms.

23:41 a a. Examine scatterplots of the response versus the two explanatory variables as well as the scatterplot between the explanatory variables. Do you notice any unusual features in the data? Do the relevant plots appear straight enough for multiple regression?

23:41 a a. There seem to be some leveraged outliers. The scatterplots seem straight enough to run regression.

23:41 b b. Fit the indicated multiple regression and show a summary of the estimated features of the model.

23:41 c c. Does the estimated model appear to meet the conditions for the use of the MRM? Linear – yes Lurking Variables – probably some Normal – yes Equal Variance – no, funnel Independence - yes

23:41 d d. Does this estimated model explain statistically significant variation in the prices of homes? Our model explains 53% of variation. F stat of 84 means the slopes are not 0.

23:41 e e. Compare the marginal slope for the number of bathrooms to the partial slope. Explain why these are so different, and show a confidence interval for each. Marginal Partial The partial controls for the sq ft variable.

23:41 f f. A homeowner asked the realtor if she should spend $40,000 to convert a walk-in closet into a small bathroom in order to increase the sale price of her home. What does your analysis indicate? Don’t do it. Our estimate is that the additional bathroom will add $14,000 (interval of -$8,000 to $38,000), so a cost of $40,000 is to great.

23:43 R&D Expenses. This data table contains accounting and financial data that describe 324 companies operating in the information sector. The variables include the expenses on research and development (R&D), total assets of the company, and the cost of goods sold (COGS). All columns are reported in millions of dollars; the variables are recorded in millions, so 1,000=1 billion. Use natural logs of all variables rather than the originals.

23:43 a a. Examine scatterplots of the log of spending on R&D versus the log of total assets and the log of COGS. Then consider the scatterplot of the log of total assets versus the log of COGS. Do you notice any unusual features in the data? Do the relevant plots appear straight enough for multiple regression?

23:43 a a. Nothing seems out of the ordinary. They all look rather linear.

23:43 b b. Fit the indicated multiple regression and show a summary of the estimated features of the model.

23:43 c c. Does the estimated model appear to meet the conditions for the use of the MRM? Linear – yes Lurking Variables – probably Normal – no Equal Variance – no Independence - yes

23:43 d d. Does the fit of this model explain statistically significantly more variation in the log of spending on R&D than a model that uses the log of assets alone? (with logs, these powers are partial elasticities) The model explains 63% of variation. The f stat is over 270, therefore the slopes are not 0.

23:43 d d. Yes, t=-2.08 for log COGS, p<.05

23:43 e e. Interpret the slope for the log of the COGS in the equation estimated by the fitted model in part b. Include the confidence interval in your calculation. A one percent positive change in COGS will cause a -.14% change (.14% decrease) in R&D expenses.

23:43 f f. The marginal elasticity of R&D spending with respect to COGS is about.6. Why is the partial elasticity in the multiple regression for COGS so different? Is it really that different? The explanatory power of COGS is encompassed by the other explanatory variable of assets. Yes, these are very different. The CI for the marginal elasticity is , significantly positive and not overlapping with the CI for the partial elasticity. The marginal elasticity is positive because of the size effect: firms with substantial assets spend more on R&D and have higher COGS. MRM removes this indirect effect and shows that higher spending for materials is associated with less funds left for R&D.