Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The data set hprice4.raw has data on 114 homes sold in 1998 in a small town in New England. The data set contains information on

The data set hprice4.raw has data on 114 homes sold in 1998 in a small town in New England. The data set contains information on the sales price of the house(variable nameprice, measured on thousands of dollars), the number of bedrooms(bedrooms), bathrooms (bathrooms), other rooms (otherrooms), square feet of livingspace (sq_feet) and age (age) of the home. Download the data with

detach(d)

url1 <- "http://www-personal.umich.edu/~hagem/data/hprice4.raw"

d1 <- read.table(url1, header=TRUE)

attach(d1)

(The detach command just removes the data set from problem 3 from the memory, incase it is still there.) Initially estimate a regression with house prices as the outcome of interest and four covariates: age in years, # of bedrooms, # of bathrooms, # of other rooms. Give a precise interpretation of the coefficient on age in years and # ofbedrooms and provide a numeric example. Now, estimate a second model and add tothe original regression the square feet of living space. What happens to the coefficienton # of bathrooms, # of bedrooms, and # of other rooms in this new model comparedto the previous one? Why have the coefficients on these three variables changed so dramatically? Interpret the coefficient on square feet of living space.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

A First Course in Differential Equations with Modeling Applications

Authors: Dennis G. Zill

11th edition

1305965728, 978-1305965720

More Books

Students also viewed these Mathematics questions

Question

Explain why the payoff from a call option is non-linear.

Answered: 1 week ago

Question

1. We responded to the call, Deputy Smith wrote the report.

Answered: 1 week ago