Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Stefan Kreisel" <Stefan.Kreisel@evkb.de> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: test after margins |
Date | Fri, 04 Mar 2011 14:18:08 +0100 |
Hi all. Perhaps a simple query? I've run a complex xtmixed command with all sorts of interactions. Then I do something like this: margins, at(fazekas=(1 2 3) _dy=0 _startsppb_bps_c=0) atmeans asbalanced post This gives me the adjusted predictions reading: ... 1._at : fazekas = 1 _ps_q (asbalanced) _dy = 0 _startsp~a_c = 0 2._at ... 3._at ... Now if I type test as in "test 1._at" that works fine, if I type "test 1._at 2._at 3._at" that works fine as well, giving me (1) 1bn._at (2) 2._at (3) 3._at ... But if I type "test 1._at = 2._at" Stata reports "variable _at not found". Anybody have an idea? Cheers Stefan Kreisel ************************************************************ Evangelisches Krankenhaus Bielefeld gGmbH Akademisches Lehrkrankenhaus der Universität Münster Sitz der Gesellschaft Kantensiek 11 | 33617 Bielefeld Amtsgericht Bielefeld HRB 30169 Geschäftsführer Dr. Heiner Meyer zu Lösebeck Vorsitzender des Aufsichtsrates Thomas Oelkers * * 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/