Dear all,
I wish to make a dataset of estimates - the treatment coefficient by year and its 95% confidence intervals as well as year fixed effects using parmby.
To do this, I do:
parmby "xi: regress index treat i.id b2005i.year, vce(cluster id)", by(year) saving(myparms,replace) OR
However, this gives an error saying - factor-variable operators not allowed
Command was not completed successfully for any group
r(498);
Is there anything wrong in my command? How to use parmby with factor variables?
Thank you!
0 Response to Can factor variables and factorial interactions be used in "parmby"? If not, what is the alternative?
Post a Comment