Dear All,
I am new to STATA and would like to ask a few questions about my analysis. I am analyzing labor force survey data where individuals are participating 2 consecutive quarters and next 2 quarters, they are not participating. Thereby, in the data there are a lot of same individuals participating few times in the survey. I am analyzing the impact of educational mismatch on the wages. Firstly, I have done OLS regression without panel and by including all the respondents (because removing the same respondents could lead to biased results when I measured the required years of education necessary for jobs). My code is as following:
regress lnhourlygrosswage requirededucation overeducation undereducation industry_dummies year_dummies age agesq marital_dummy region_dummies firm_size_dummies if employed==1
Is this syntax correct? I have read that i. for time-invariant variables should be used, but i reckon in my case, all can vary by the time as the data covers 2010-2020.
Later, for controlling unobserved heterogeneity, I regressed FE model. I added panel identifier (unique household number + member number) and time identifier (yearquarter). The FE model syntax is as follows:
xtreg lnhourlygrosswage requirededucation overeducation undereducation yearquarter industry_dummies year_dummies age agesq marital_dummy region_dummies firm_size_dummies if employed==1, fe
My questions are:
1) Do you think my OLS and FE is correct, any of the variables should be time-invariant?
2) Relating with bias, do you think it is good to keep all the respondents or they should be removed?
3) Any better idea how to estimate?
Thanks in advance!
I am new to STATA and would like to ask a few questions about my analysis. I am analyzing labor force survey data where individuals are participating 2 consecutive quarters and next 2 quarters, they are not participating. Thereby, in the data there are a lot of same individuals participating few times in the survey. I am analyzing the impact of educational mismatch on the wages. Firstly, I have done OLS regression without panel and by including all the respondents (because removing the same respondents could lead to biased results when I measured the required years of education necessary for jobs). My code is as following:
regress lnhourlygrosswage requirededucation overeducation undereducation industry_dummies year_dummies age agesq marital_dummy region_dummies firm_size_dummies if employed==1
Is this syntax correct? I have read that i. for time-invariant variables should be used, but i reckon in my case, all can vary by the time as the data covers 2010-2020.
Later, for controlling unobserved heterogeneity, I regressed FE model. I added panel identifier (unique household number + member number) and time identifier (yearquarter). The FE model syntax is as follows:
xtreg lnhourlygrosswage requirededucation overeducation undereducation yearquarter industry_dummies year_dummies age agesq marital_dummy region_dummies firm_size_dummies if employed==1, fe
My questions are:
1) Do you think my OLS and FE is correct, any of the variables should be time-invariant?
2) Relating with bias, do you think it is good to keep all the respondents or they should be removed?
3) Any better idea how to estimate?
Thanks in advance!

Comment