Can we perform tobit regression for panel data .. i want tobit for fixed effects.. is there any particular command.. i read xttobit .. but i assumed its for random effects only..
-
Login or Register
- Log in with
xtset id year gen w = treat*d2016 egen x1bar = mean(x1), by(id) ... egen xkbar = mean(xk), by(id) tobit y i.d2016 i.treat i.w x1 ... xk x1bar ... xkbar, ll(0) vce(cluster id) margins, dydy(w) predict(ystar(0,.))
xtpoisson y i.d2016 i.w x1 ... xk, fe vce(robust)
Comment