<>
******
h statsby
******
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von László Sándor
Gesendet: Dienstag, 25. August 2009 17:20
An: [email protected]
Betreff: st: how to get slopes by clusters in a linear regression
Dear Fellow Statalisters,
I want to extend a fixed-effects-type model to allow for different
coefficients on a variable (actually a treatment dummy) by each
cluster I have. The richness of my data would allow for that. However,
I did not find a way to do it in Stata that would report (and collect)
the coefficients themselves. -xtmixed- doesn't seem to do so. I would
like to restrict the coefficients on controls to be equal across
clusters, so estimation by cluster is not a solution either.
If there were a way that could collect the slopes to a single new
variable (with the same value for observations in the same cluster,
naturally), that would be the best. It would be great if I did not
need to introduce all the 1438 cluster-indicator variables and
interactions myself, and collect the coefficients.
Thank you for any guidance in advance!
Laszlo
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/