I was given a stata data, i cant get the correct syntax for this question, please help me guys.
lnwi = α+ β edui + εi
Can you reject the hypothesis that an additional year of schooling increases wages by 1%?
That is the question, i got all the data including the wage, years of education.
What syntax do i need to put in now?
Turn on thread page Beta
STATA help watch
- Thread Starter
- 30-01-2016 18:21
- 16-02-2016 10:52
reg lnw edu (assuming these are your variable names)
This will regress the log of wages on education, to give you your OLS coefficients. You would then simply look at the t-values that Stata provided.