Statistics, Books a la Carte Edition Plus MyLab Statistics  with Pearson eText -- Access Card Package (4th Edition)
Statistics, Books a la Carte Edition Plus MyLab Statistics with Pearson eText -- Access Card Package (4th Edition)
4th Edition
ISBN: 9780134435855
Author: Alan Agresti, Christine A. Franklin, Bernhard Klingenberg
Publisher: PEARSON
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 13, Problem 60CP

House prices This chapter has considered many aspects of regression analysis. Let’s consider several of them at once by using software with the House Selling Prices OR data file on the book’s website to conduct a multiple regression analysis of y = selling price of home, x1 = size of home, x2 = number of bedrooms, x3 = number of bathrooms.

  1. a. Construct a scatterplot matrix. Identify the plots that pertain to selling price as a response variable. Interpret and explain how the highly discrete nature of x2 and x3 affects the plots.
  2. b. Fit the model. Write down the prediction equation and interpret the coefficient of size of home by its effect when x2 and x3 are fixed.
  3. c. Show how to calculate R2 from SS values in the ANOVA table. Interpret its value in the context of these variables.
  4. d. Find and interpret the multiple correlation.
  5. e. Show all steps of the F test that selling price is independent of these predictors. Explain how to obtain the F statistic from the mean squares in the ANOVA table.
  6. f. Report the t statistic for testing H0: β2 = 0. Report the P-value for Ha: β2 < 0 and interpret. Why do you think this effect is not significant? Does this imply that the number of bedrooms is not associated with selling price?
  7. g. Construct and examine the histogram of the residuals for the multiple regression model. What does this describe, and what does it suggest?
  8. h. Construct and examine the plot of the residuals plotted against size of home. What does this describe, and what does it suggest?

a.

Expert Solution
Check Mark
To determine

Draw a scatterplot matrix.

Identify the plots that identify selling price as a response variable.

Interpret and explain the manner in which the highly discrete nature of x2 and x3 affects the plots.

Answer to Problem 60CP

The scatterplot matrix is as follows:

Statistics, Books a la Carte Edition Plus MyLab Statistics  with Pearson eText -- Access Card Package (4th Edition), Chapter 13, Problem 60CP , additional homework tip  1

Explanation of Solution

Calculation:

The data relate the selling price of home to the size of the home, the number of bedrooms, and the number of bathrooms.

Denote the response variable and selling price of home as y, the predictor and size of home as x1, the predictor number of bedrooms as x2, and the predictor number of bathrooms as x3. Denote the estimated response variable as y^.

Scatterplot matrix:

Software procedure:

Step by step procedure to draw the scatterplot matrix using the MINITAB software:

  • Choose Graph > Matrix Plots > Simple > OK.
  • Enter the columns of House Price (USD), House Size, Bedrooms, and T Bath under Graph variables.
  • Click OK in all dialogue boxes.

Thus, the scatterplot matrix is obtained.

Interpretation:

The plots in the top row of the scatterplot matrix have the house prices along the vertical axis and the other variables in the corresponding horizontal axes. Now, it is customary to plot the response variable along the vertical axis and the predictor variable along the horizontal axis.

Thus, the plots across the top row pertain to selling price as a response variable.

The number of bedrooms and the number of bathrooms are highly discrete, which can only take limited number of values. Each of these discrete values has many observations and it is reflected in the above graph. Since these variables are discrete, the regression or prediction procedure for continuous predictors may not be well-defined.

b.

Expert Solution
Check Mark
To determine

Fit a model and give the prediction equation.

Interpret the effect of coefficient of size of home when x2 and x3 are fixed.

Answer to Problem 60CP

The prediction equation is as follows:

House Price (USD)=39,001+53.21House size7,885 Bedroms+57,796 T Bath_.

Explanation of Solution

Calculation:

Regression equation:

Software procedure:

Step by step procedure to obtain the regression equation using the MINITAB software:

  • Choose Stat > Regression > Regression > Fit Regression Model.
  • Enter the column of y under House Price(USD).
  • Enter the columns of House size, Bedrooms, and T Bath under Continuous predictors.
  • Choose Results and select Analysis of variance, Model summary, Coefficients, Regression Equation.
  • Click OK in all dialogue boxes.

Output obtained using MINITAB is given below:

Statistics, Books a la Carte Edition Plus MyLab Statistics  with Pearson eText -- Access Card Package (4th Edition), Chapter 13, Problem 60CP , additional homework tip  2

From Regression equation is MINTAB output and the prediction equation is as follows:

House Price (USD)=39,001+53.21House size7,885 Bedroms+57,796 T Bath_.

Significance of the slope:

In a multiple regression equation, the slope corresponding to a particular explanatory variable signifies the effect of that explanatory variable on the response variable while keeping the other explanatory variables at a fixed level. The slope gives the amount of change in the response variable for unit increase in the explanatory variable. A positive slope implies that the response variable increases when the explanatory variable increases, whereas a negative slope implies that the response variable decreases when the explanatory variable increases.

From the MINITAB output, the slope corresponding to House size is 53.21, which is positive.

It is clear that a unit increase in the House size increases the selling price of a house by $53.21 using the explanation regarding the significance of slope.

c.

Expert Solution
Check Mark
To determine

Explain the procedure to calculate R2 using the SS values in the ANOVA table and interpret it.

Answer to Problem 60CP

The value of R2 is 0.603.

Explanation of Solution

Calculation:

The statistic R2:

The statistic R2 is the square of the multiple correlation coefficient, which measures the proportional reduction in error when the prediction equation is used, instead of sample mean y¯. It is given by the formula R2=(yy¯)2(yy^)2(yy¯)2, where (yy¯)2 is the total sum of squares (SS) and (yy^)2 is the residual SS.

The numerator gives the regression sum of squares, which is Regression SS=(yy¯)2(yy^)2=(y^y¯)2. Hence, an alternative formula for R2 is R2=(y^y¯)2(yy¯)2.

From Part b., the column “Adj SS” of the “Analysis of Variance” section provides the sum of squares for the test. The sum of square (SS) value is 1,608,740,000,000 corresponding to the Source “Regression” and the SS value is 2,668,870,000,000 corresponding to “Total”.

The value of R2 is calculated as follows:

R2=(y^y¯)2(yy¯)2=1,608,740,000,0002,668,870,000,000=0.603

Thus, the value of R2 is 0.603.

Interpretation:

In this case, the value of R2 implies that using the given prediction equation to predict the house selling price reduces the error by 60.3% as compared with using the sample mean to predict the same.

d.

Expert Solution
Check Mark
To determine

Calculate and interpret the multiple correlation.

Answer to Problem 60CP

The multiple correlation is 0.78.

Explanation of Solution

Calculation:

It is known that R2 is the square of the multiple correlation coefficient.

From Part c., the value of R2 is 0.603.

Thus, the multiple correlation, R is the positive square root of R2, calculated as follows:

R=R2=0.6030.78.

Thus, the multiple correlation is 0.78.

Interpretation:

The multiple correlation coefficient is the correlation coefficient between the observed response variable, y and the predicted value of the response variable, y^, which measures the strength of relationship between y and y^.

The value of multiple correlation is 0.78, which is quite close to 1. Thus, there is quite strong relationship between the observed selling prices and selling prices using the given prediction model.

e.

Expert Solution
Check Mark
To determine

Show all steps of the F test for predicting the selling price.

Explain the procedure to obtain the F statistic from mean squares in the ANOVA table.

Explanation of Solution

Calculation:

Step 1: Assumptions:

The multiple regression holds for the selling price of houses. There is a normal distribution for y with the same standard deviation at each combination of values of the predictors in the model. The data is collected randomly.

Step 2: Hypotheses:

Assume that β1 is the slope of the size of home, β2 is the slope of the number of bedrooms, and β3 is the slope of the number of bathrooms.

Null hypothesis:

H0:β1=β2=β3=0

That is, house-selling price does not depend on size of home, number of bedrooms, and number of bathrooms.

Alternative hypothesis:

Ha: At least one of β1,β2 and β3 is not equal to 0.

That is, house-selling price depends on size of home, number of bedrooms, and number of bathrooms.

Step 3: Test statistic:

The formula for F test statistic is as follows:

F=Mean square for regressionMean square for error.

From Part b., the column “F-value” of the “Analysis of Variance” section provides the F-test statistic values. Corresponding to the Source “Regression”, The F-value is 99.14.

Thus, F-test statistic is 99.14.

Step 4: P-value:

From Part b., the column “P-value” of the “Analysis of Variance” section provides the P-values for the test.  Corresponding to the Source “Regression”, the P-value is 0.

Step 5: Conclusion:

Decision rule:

If Pvalueα , then reject the null hypothesis.

Here, P-value is less than the most commonly used levels of significance like 0.05, 0.01, and 0.10.

Therefore, reject the null hypothesis.

Thus, there is strong evidence that at least one of House size, number of bedrooms, and number of bathrooms is useful for predicting the House price.

f.

Expert Solution
Check Mark
To determine

Find the t test statistic for the given hypotheses.

Find the P-value for the given alternative hypothesis.

Explain the reason that the effect of number of bedrooms is not significant.

Check whether it is implied that the number of bedrooms is not associated with the selling price of the house.

Answer to Problem 60CP

The value of t-test statistic is –1.29.

The P-value is 0.1.

Explanation of Solution

Calculation:

It is assumed that β2 is the slope of number of bedrooms.

The given hypotheses are as follows:

Null hypothesis:

H0:β2=0

That is, the selling price of house does not depend on the number of bedrooms.

Alternative hypothesis:

Ha:β2<0

That is, house selling price decreases with the number of bedrooms.

The formula for t-test statistic is as follows:

t=(b10)se.

Here “b1” is the slope estimate and “se” is the standard error.

From Part b., the column “T-value” of the “Coefficients” section provides the T-test statistic values. The T-value corresponding to “Bedrooms” is –1.29.

Thus, the value of t-test statistic is –1.29.

P-value:

From Part b., the P-value is 0.2

The P-value for two-tailed test with critical value t* is, 2P(t>t*|H0).

The P-value for left-tailed test with critical value t*  is, P(t<t*|H0).

Hence, for the left-tailed test, the P-value is calculated from the P-value of the two-tailed test as follows:

P(t<t*|H0)=0.22=0.1 .

Thus, P-value is 0.1.

Decision rule:

If Pvalueα , then reject the null hypothesis.

Here, P-value is greater than the most commonly used levels of significance like 0.05, 0.01.

Therefore, fail to reject the null hypothesis.

Thus, there is no evidence that the selling price of house depends on the number of bedrooms at levels of significance 0.05 and 0.01.

Here, P-value is equal with the level of significance 0.10.

Therefore, reject the null hypothesis.

Thus, there is enough evidence that the selling price of house depends on the number of bedrooms at level of significance 0.10.

The effect of number of bedrooms is not significant on house price because the other explanatory variables have an effect on the house selling price. If it is used independently, the effect may be significant.

Thus, it cannot be said that the number of bedrooms is not associated with the selling price.

g.

Expert Solution
Check Mark
To determine

Draw the histogram of the residuals and examine it.

State the conclusions from the graph.

Answer to Problem 60CP

The histogram for the residuals is as follows:

Statistics, Books a la Carte Edition Plus MyLab Statistics  with Pearson eText -- Access Card Package (4th Edition), Chapter 13, Problem 60CP , additional homework tip  3

Explanation of Solution

Calculation:

Histogram of standardized residuals:

Software procedure:

Step by step procedure to obtain the histogram of the standardized residuals using the MINITAB software:

  • Choose Stat > Regression > Regression > Fit Regression Model.
  • Enter the column of y under House Price(USD).
  • Enter the columns of House size, Bedrooms, and T Bath under Continuous predictors.
  • Choose Results and select Analysis of variance, Model summary, Coefficients, Regression Equation.
  • Choose Graphs.
  • Choose Standardized under Residuals for plots and select Histogram for residuals.
  • Click OK in all dialogue boxes.

Thus, the histogram of the residuals is obtained.

Interpretation:

The histogram of the standardized residuals in this case is approximately bell-shaped. However, there is one outlier to the left and one extreme outlier to the right.

Thus, the graph indicates that the distribution of the conditional distribution of y at given values of the explanatory variables is approximately normal.

h.

Expert Solution
Check Mark
To determine

Draw the plot of the residuals against size of home and examine it.

State the conclusions from the graph.

Answer to Problem 60CP

The plot for the residuals is as follows:

Statistics, Books a la Carte Edition Plus MyLab Statistics  with Pearson eText -- Access Card Package (4th Edition), Chapter 13, Problem 60CP , additional homework tip  4

Explanation of Solution

Calculation:

Plot of residuals against size of home:

Software procedure:

Step by step procedure to obtain the histogram of the standardized residuals using the MINITAB software:

  • Choose Stat > Regression > Regression > Fit Regression Model.
  • Enter the column of y under House Price(USD).
  • Enter the columns of House size, Bedrooms, and T Bath under Continuous predictors.
  • Choose Results and select Analysis of variance, Model summary, Coefficients, Regression Equation.
  • Choose Graphs.
  • Choose Standardized under Residuals for plots.
  • Under Residuals versus the variable, enter the column of House Size.
  • Click OK in all dialogue boxes.

Thus, the plot of the residuals is obtained.

Interpretation:

The plot of the standardized residuals in this case is quite well-scattered and does not show any specific pattern. However, there is one value of the standardized residuals that is extremely high as compared to the others and one value that is fairly low. Moreover, the plot seems to become more scattered with an increase in house sizes.

Thus, the plot of residuals indicates that the relationship between the selling price and house sizes is quite straight, although a slightly greater deviation from the linearity occurs when house size increases.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
20:39

Chapter 13 Solutions

Statistics, Books a la Carte Edition Plus MyLab Statistics with Pearson eText -- Access Card Package (4th Edition)

Ch. 13.1 - Used cars The following data (also available from...Ch. 13.2 - Predicting sports attendance Keeneland Racetrack...Ch. 13.2 - Predicting weight Lets use multiple regression to...Ch. 13.2 - Prob. 14PBCh. 13.2 - Price of used cars For the 19 used cars listed in...Ch. 13.2 - Prob. 16PBCh. 13.2 - Softball data For the Softball data set on the...Ch. 13.2 - Slopes, correlations, and units In Example 2 on y...Ch. 13.2 - Predicting college GPA Using software with the...Ch. 13.3 - Predicting GPA For the 59 observations in the...Ch. 13.3 - Study time help GPA? Refer to the previous...Ch. 13.3 - Variability in college GPA Refer to the previous...Ch. 13.3 - Does leg press help predict body strength? Chapter...Ch. 13.3 - Prob. 24PBCh. 13.3 - Interpret strength variability Refer to the...Ch. 13.3 - Any predictive power? Refer to the previous three...Ch. 13.3 - Predicting pizza revenue Aunt Ermas Pizza...Ch. 13.3 - Prob. 28PBCh. 13.3 - Mental health again Refer to the previous...Ch. 13.3 - Prob. 30PBCh. 13.3 - House prices Use software to do further analyses...Ch. 13.4 - Body weight residuals Examples 47 used multiple...Ch. 13.4 - Strength residuals In Chapter 12, we analyzed...Ch. 13.4 - Prob. 34PBCh. 13.4 - Nonlinear effects of age Suppose you fit a...Ch. 13.4 - Prob. 36PBCh. 13.4 - Why inspect residuals? When we use multiple...Ch. 13.4 - College athletes The College Athletes data set on...Ch. 13.4 - House prices Use software with the House Selling...Ch. 13.4 - Prob. 40PBCh. 13.5 - U.S. and foreign used cars Refer to the used car...Ch. 13.5 - Prob. 42PBCh. 13.5 - Predict using house size and condition For the...Ch. 13.5 - Quality and productivity The table shows data from...Ch. 13.5 - Predicting hamburger sales A chain restaurant that...Ch. 13.5 - Prob. 46PBCh. 13.5 - House size and garage interact? Refer to the...Ch. 13.5 - Prob. 48PBCh. 13.5 - Comparing sales You own a gift shop that has a...Ch. 13.6 - Prob. 50PBCh. 13.6 - Prob. 51PBCh. 13.6 - Prob. 52PBCh. 13.6 - Prob. 53PBCh. 13.6 - Prob. 54PBCh. 13.6 - Prob. 55PBCh. 13.6 - Prob. 56PBCh. 13.6 - Prob. 57PBCh. 13.6 - Prob. 58PBCh. 13.6 - Prob. 59PBCh. 13 - House prices This chapter has considered many...Ch. 13 - Prob. 61CPCh. 13 - Prob. 62CPCh. 13 - Prob. 63CPCh. 13 - Prob. 64CPCh. 13 - Prob. 65CPCh. 13 - Prob. 66CPCh. 13 - Prob. 67CPCh. 13 - Prob. 68CPCh. 13 - Prob. 69CPCh. 13 - AIDS and AZT In a study (reported in the New York...Ch. 13 - Factors affecting first home purchase The table...Ch. 13 - Unemployment and GDP Refer to Exercise 13.67. When...Ch. 13 - Prob. 75CPCh. 13 - Prob. 76CPCh. 13 - Prob. 77CPCh. 13 - Prob. 78CPCh. 13 - Prob. 79CPCh. 13 - True or false: Slopes For data on y = college GPA,...Ch. 13 - Prob. 81CPCh. 13 - Lurking variable Give an example of three...Ch. 13 - Prob. 83CPCh. 13 - Prob. 84CPCh. 13 - Prob. 85CPCh. 13 - Logistic versus linear For binary response...Ch. 13 - Prob. 87CPCh. 13 - Prob. 88CPCh. 13 - Prob. 89CPCh. 13 - Prob. 90CPCh. 13 - Prob. 91CPCh. 13 - Prob. 92CPCh. 13 - Prob. 93CP
Knowledge Booster
Background pattern image
Statistics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:9781305658004
Author:Ron Larson
Publisher:Cengage Learning
Text book image
Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill
Text book image
College Algebra
Algebra
ISBN:9781337282291
Author:Ron Larson
Publisher:Cengage Learning
Text book image
Big Ideas Math A Bridge To Success Algebra 1: Stu...
Algebra
ISBN:9781680331141
Author:HOUGHTON MIFFLIN HARCOURT
Publisher:Houghton Mifflin Harcourt
Correlation Vs Regression: Difference Between them with definition & Comparison Chart; Author: Key Differences;https://www.youtube.com/watch?v=Ou2QGSJVd0U;License: Standard YouTube License, CC-BY
Correlation and Regression: Concepts with Illustrative examples; Author: LEARN & APPLY : Lean and Six Sigma;https://www.youtube.com/watch?v=xTpHD5WLuoA;License: Standard YouTube License, CC-BY