Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Testing difference between margins


From   [email protected]
To   [email protected]
Subject   st: Testing difference between margins
Date   Thu, 19 May 2011 12:09:19 +0200

Suppose I estimate:

xi: reg y x z x2 xz z2

I then predict y at certain levels of the covariates using
"margins", e.g., 

margins, at (x=-2.5 z = -2.5 x2=6.25 x = 6.25 z2=6.25)
margins, at (x=2.5 z = -2.5 x2=6.25 xz = -6.25 z2=6.25)

I would like to test whether the predict from the first
margins command is different from the predict of the second
margins command; of course, I can see whether the confidence
intervals of the predict overlap (but I would like to do a
test).

Is there a way to do this?

Best,
John Antoankis
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index