Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: adjusted means


From   Rachele Capocchi <rachele.capocchi@arsanita.toscana.it>
To   statalist@hsphsun2.harvard.edu
Subject   st: adjusted means
Date   Tue, 23 Oct 2007 10:09:44 +0200

Dear Stata users,

I have some problems with the adjusted means.
I did the adjusted means on quantitative variable (_8pgf2a) by group var ( gruppi_ord) adjusting for uri_enz_creat_mg24h.

xi: regress _8pgf2a i.gruppi_ord uri_enz_creat_mg24h
adjust uri_enz_creat_mg24h , by( gruppi_ord)

RECODE of |
gruppi | xb
----------+-----------
* 0 | 1309,4*
1 | 1027,86
* 2 | 1068,04*


Then I need to do the same, considering the sex.
anova _8pgf2a gruppi_ord uri_enz_creat_mg24h if sesso==1, continuous( uri_enz_creat_mg24h)
adjust uri_enz_creat_mg24h , by( gruppi_ord)

RECODE of |
gruppi | xb
----------+-----------
* 0 | 1359,01*
1 | 994,102
* 2 | 1127,67*
anova _8pgf2a gruppi_ord uri_enz_creat_mg24h if sesso==2, continuous( uri_enz_creat_mg24h)
adjust uri_enz_creat_mg24h , by( gruppi_ord)

RECODE of |
gruppi | xb
----------+-----------
* 0 | 1424,16*
1 | 1261,85
* 2 | 1237,97
*

*How is it possible ? The overall means are not between the two value of sex.*

Best Regards,

Rachele
*
* 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/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index