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!
Related Posts with Can factor variables and factorial interactions be used in "parmby"? If not, what is the alternative?
Changing axis labels using mrgraph command (mrtab module)I have been using the mrgraph command from the mrtab module to help deal with multiple response ques…
Identifying periods of liberalization/restrictionDear Statalisters, I have a measure of capital account openness (ka), where 0 is open and 1 is clos…
Marginal effect analysishello I want to estimate the marginal effect of an independent variable, pp after a logistic regress…
extract scoresHello, I hope someone can help me with this question. The sample dataset is as in the attachment. I'…
Year omitted becuase of collinearity (DID)Hi, I am doing DID regression. I have 12 years of data. I have included 'year' variable for fixed y…
Subscribe to:
Post Comments (Atom)
0 Response to Can factor variables and factorial interactions be used in "parmby"? If not, what is the alternative?
Post a Comment