First time poster, long time lurker here
I'm working on a project that requires obtaining the PRTEs for a few hypothetical policies. The main specification requires using interactive fixed effects (age and district), but whenever I try and do that, I get the following error:
invalid interaction specification;
multiple 'o' operators attached to a single variable are not allowed within an interaction specification
multiple 'o' operators attached to a single variable are not allowed within an interaction specification
Code:
qui probit var2 instrument $controls i.age i.district i.age#i.district gen temp1=instrument replace instrument=1 if instrument>1 predict double policy_1 replace instrument=temp1 mtefe var1 $controls i.age i.district i.age#i.district (var2 = instrument) , trimsupport(.05) prte(policy_1) pol(2) vce(robust)
Thanks in advance for any input!
0 Response to mtefe with interactive fixed effects
Post a Comment