Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: AW: Adjustes estimate in stratas using gllamm


From   Stine Daugaard <stinesstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: Adjustes estimate in stratas using gllamm
Date   Wed, 21 Oct 2009 10:24:56 +0200

Thank you for your swift reply. My main problem is that I'm only able
to write a command that compares foreign1 and foreign2, when using
-gllamm-. I would like an adjusted mean estimate of mpg for both
foreign1 and foreign2. Is there a way to do this?

2009/10/21 Martin Weiss <martin.weiss1@gmx.de>:
>
> <>
>
>
> You have proved that -tab1- does take the -generate()- option, although I
> would not be able to tell from the help file. You may also like -separate-
> for these purposes - which also gives you value labels...
>
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Stine Daugaard
> Gesendet: Mittwoch, 21. Oktober 2009 09:49
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: Adjustes estimate in stratas using gllamm
>
> Dear Stata users
>
> I am an inexperienced user having a problem using -gllamm-. I work
> with one variable in four stratas and I would like to have an adjusted
> estimate in all 4 stratas as an outcome.
> So far I am able to get a coefficient comparing three stratas with the
> last one.
>
> Example:
> use auto.dta, clear
> quietly tab1 foreign, generate(foreign)
> gen id = _n
> gllamm mpg foreign1 trunk, i(id rep78)
> ereturn list
>
> Stine Daugaard
> *
> *   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/
>

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



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