Dear all,
I'm having trouble running a probit model with fixed effect for a dataset with repeated values within the panel.
My data is a panel of firm and year, however, data is on employment-level. For example, the data is from 2000 to 2020, and there are many firms each year, and each firm hires multiple new workers every year.
I've created a dummy variable for a worker to characterize whether she is skilled or not, and I'm interested to see whether the probability of hiring a skilled worker increases/decreases over time (trend coefficients of year dummies) controlling for firm fixed effect.
Originally, I used a linear probability model and run OLS, regressing the dummy variable on year dummies with firm fixed effect:
reghdfe skilldummy i.year, absorb(firmID)
Now the referee is not happy with the OLS and asked us to run a probit/logit model with firm fixed effect.
My understanding is that Probit with FE doesn't exist in STATA because of possible incidental parameter problem.
Here are two methods I've already tried but failed:
1. I tried xtprobit and xtlogit, but they only work for the case that each firm has only one observation within each year. But I have repeated values within the panel (i.e., each firm has multiple new workers within a year).
2. I used Probit directly: probit skilldummy i.year i.firmID. However, I have too many firm observations and STATA failed to execute the code.
I was wondering if there is any way to get the probit or logit model with fixed effect for the data with repeated values within the panel?
Many thanks in advance!
I'm having trouble running a probit model with fixed effect for a dataset with repeated values within the panel.
My data is a panel of firm and year, however, data is on employment-level. For example, the data is from 2000 to 2020, and there are many firms each year, and each firm hires multiple new workers every year.
I've created a dummy variable for a worker to characterize whether she is skilled or not, and I'm interested to see whether the probability of hiring a skilled worker increases/decreases over time (trend coefficients of year dummies) controlling for firm fixed effect.
Originally, I used a linear probability model and run OLS, regressing the dummy variable on year dummies with firm fixed effect:
reghdfe skilldummy i.year, absorb(firmID)
Now the referee is not happy with the OLS and asked us to run a probit/logit model with firm fixed effect.
My understanding is that Probit with FE doesn't exist in STATA because of possible incidental parameter problem.
Here are two methods I've already tried but failed:
1. I tried xtprobit and xtlogit, but they only work for the case that each firm has only one observation within each year. But I have repeated values within the panel (i.e., each firm has multiple new workers within a year).
2. I used Probit directly: probit skilldummy i.year i.firmID. However, I have too many firm observations and STATA failed to execute the code.
I was wondering if there is any way to get the probit or logit model with fixed effect for the data with repeated values within the panel?
Many thanks in advance!
Comment