Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step: 1
To write the Stata code for the given questions you can follow the steps below a To estimate the ela...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started