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?
Calculation of the "T" statistic for High minus (-) Low double sort portfolioI have a double sort portfolio results based on two variables (X and Y). I would like to calculate t…
How to report output from margins?I am planning to add support for margins in asdocx. Since I have not used margins myself, therefore,…
Multiple linear regression with specific to general approachHello everyone, I want to regress a multiple linear regression with specific-to-general approach. D…
"Import - sas" doesn't show up in my stata - any solution?Dear all, I want to import a sas dataset into stata but I do not have this function in my program. …
stacked bar graph for different years showing shares of countriesDear all, I want to produce a graph from a dataset containing the production of aluminum in differe…
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