Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In the first two problems, we want to examine whether a transformed variable can produce better regression results based on OLS assumptions and requirements. Open
In the first two problems, we want to examine whether a transformed variable can produce better regression results based on OLS assumptions and requirements.
- Open the wage1.dta dataset using the following command:
- bcuse wage1
- Provide univariate summary statistics for wageand its log transformation, lwage.
- Tip: do a log-transformed variable, you would use the command:
- gen logvar = log(var)
- Tip: do a log-transformed variable, you would use the command:
- Estimate the following equation:
- wagei = 0 + 1(educi) + 2(experi) + 3(tenurei) + ui
- Save the residuals and plot a histogram
- To save residuals as a variable "r", follow these steps:
- reg var1 var2 var3
- predict r, resid
- To save residuals as a variable "r", follow these steps:
- Repeat part (i), but with lwage as the dependent variable.
- Would you say that Assumption MLR.6 is closer to being satisfied for the level-level model or the log-level model
- Use the housing price data in HPRICE1 for this exercise.
- bcuse hprice1
- Estimate the following model and report the results in the usual OLS format.
- log(pricei) = 0 + 1(log(lotsizei)) + 2(log(sqrfti)) + 3(bdrmsi) + ui
- Find the predicted value of log(price) , when lotsize= 20,000, sqrft = 2,500, and bdrms = 4. Using the methods in Section 6-4, find the predicted value of price at the same values of the explanatory variables.
- For explaining variation in price, decide whether you prefer the model from part (i) or the model:
- pricei = 0 + 1(lotsizei) + 2(sqrfti) + 3(bdrmsi) + ui
The final question asks you to consider the effects of binary 'dummy' variables in your regression.
- Use the data in WAGE2 for this exercise.
- bcuse wage2
- Estimate the following model and report the results in the usual form:
- Log(wagei) = 0 + 1(educi) + 2(experi) + 3(tenurei) + 4(marriedi) + 5(blacki) + 6(southi) + 7(urbani) + ui
- What is your interpretation of the coefficients on married, black, south,and urban?
- Holding other factors fixed, what is the approximate difference in monthly salary between blacks and non-blacks? Is this difference statistically significant?
- What is the estimated wage differential between married blacks and married non-blacks?
- What is the estimated wage differential between non-married black urban southerners, and married non-black non-southerners?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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