Hello and have a good time. I'm having trouble estimating my model based on the dynamic panel method in Stata 14.1. My data, which is shown in the attached table, includes 122 companies, 854 observations and 19 industries. I want to control the effects of year and industry in this research, but I don't know how to enter this in the command, and when I enter the effects of year and industry, the software gives you an error, which shows the command and the error. I have presented below. I would appreciate it if you could guide me how to enter the effects of year and industry in this command.
Thanks & Regards
error : "factor variables not allowed"
statalist.org.xlsx
Thanks & Regards
Code:
xtdpd etr L.etr ceonarcissismremuneration lev roa owncon duality fsize bsize ceoage bmeeting, dgmmiv(ceonarcissismremuneration lev roa owncon duality fsize bsize ceoage bmeetin i.industry i.years) dgmm(etr, lagrange(2 4)) lgmmiv(etr) twostep artests(2)
statalist.org.xlsx

Comment