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?
Quade's test (non-parametric ANCOVA)Hello Stata users I wondered if you could inform me whether STATA performs the nonparametric ANCOVA …
How to Mark the Demoted Students Out in Long Format Data in Stata?Hello, Folks, I have a small dataset like this, clear input byte (id year gr kg5 k68 k912) 1 1 0 0 0…
Identifying the first & last non-missing AdjClose (i.e. observation) by year for each groupI have 1200 companies that are identified by CIQ_IDs. I also have an id variable within each CIQ_ID,…
Misleading median?Hi everyone! I'm doing research on how real estate values impact corporate savings. I have computed…
How to collate multiple, individual regression outputsLooking for some help on the following: I want to tabulate the univariate association of 8 variable…
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