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?
Estimating coefficients separately by genderHi everyone, I am trying to estimate the effect of the mean establishment wage on a worker's future…
significance of difference in coefficients of same regression modelHi, I am having a question regarding testing whether the difference of coefficients is significant.…
prtesti vs tabi for proportion comparisonHi all, I am trying to compare prevalence of obesity by gender in a cohort of 1499. he tab command g…
Used formatted variable to categorised new varHi all, I want to create a variable Timegroups which uses another variable Time to create categorie…
Create a new variable that shows the result of tabulationHello Statalist, I consider myself a beginner, so I would appreciate your help, and thank you for t…
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