Question: Help me figure out the STATA CODES HOW TO WRITE THESE STATA CODES? the data is collegetown in Poe5 3.22 The data file collegetown contains

3.22 The data file collegetown contains data on 500 single-family houses sold

Help me figure out the STATA CODES

HOW TO WRITE THESE STATA CODES?

the data is collegetown in Poe5

3.22 The data file collegetown contains data on 500 single-family houses sold in Baton Rouge, Louisiana, during 2009-2013. The data include sale price (in $1000 units), PRICE, and total interior area in hundreds of square feet, SQFT. a. Using the linear regression PRICE = + SQFT + e, estimate the elasticity of expected house PRICE with respect to SQFT, evaluated at the sample means. Construct a 95% interval estimate for the elasticity, treating the sample means as if they are given (not random) numbers. What is the interpretation of the interval? b. Test the null hypothesis that the elasticity, calculated in part (a), is one against the alternative that the elasticity is not one. Use the 1% level of significance. Clearly state the test statistic used, the rejection region, and the test p-value. What do you conclude? c. Using the linear regression model PRICE = + BSQFT + e, test the hypothesis that the marginal effect on expected house price of increasing house size by 100 square feet is less than or equal to $13000 against the alternative that the marginal effect will be greater than $13000. Use the 5% level of significance. Clearly state the test statistic used, the rejection region, and the test p-value. What do you conclude? d. Using the linear regression PRICE = + BSQFT + e, estimate the expected price, E(PRICE|SQFT) = + SOFT, for a house of 2000 square feet. Construct a 95% interval estimate of the expected price. Describe your interval estimate to a general audience. e. Locate houses in the sample with 2000 square feet of living area. Calculate the sample mean (aver- age) of their selling prices. Is the sample average of the selling price for houses with SQFT = 20 compatible with the result in part (d)? Explain.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To write the Stata code for the given questions you can follow the steps below a To estimate the ela... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!