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?
Generating hypertension (hyp) variable using systolic and diastolic blood pressuresI will like to create a hypertension (hyp) variable using the averages of three systolic (sbp) ie sb…
Change of bootstrapping module/algorithm for Stata ver16?Dear Statalisters, I hope you have all been healthy and well. I have a question that may require th…
Importer-year and exporter-year fixed effects issues in gravity equation modelGood morning Statalist community, I am studying the determinants of asset trade flows across 40ish …
FIML and mixedI would like to estimate a multilevel model but have about 5-10% missing data on my covariates. I wo…
Hacky workaround for prtest and pwcorr following MI - are these equivalent?I am helping a student with an analysis of a dataset with a fair bit of missing data and am explorin…
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