Hello!
Can anybody explain, why the one-way ANOVA (-loneway-) and -xtsum- gives
different standard deviations for within and between effects of a
variable?
. loneway diagnosis gpnum
. xtsum diagnosis, i(gpnum)
where "diagnosis" is a dichotomous variable (0=no illness, 1=illness)
and "gpnum" is the general practitioners (GP) number (38 different
numbers). Each GP has different number of patients (between 44 and 111).
How are the SD calculated in each procedure?
Thanks in advance!
Best regards,
Ineta Sokolowski
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/