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 <[email protected]>:
>
> <>
>
>
> 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: [email protected]
> [mailto:[email protected]] Im Auftrag von Stine Daugaard
> Gesendet: Mittwoch, 21. Oktober 2009 09:49
> An: [email protected]
> 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/