Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Unexpected result from a marginsplot


From   Jordan Silberman <silberman.stata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Unexpected result from a marginsplot
Date   Fri, 27 Jul 2012 22:16:51 -0400

Hello,

I have an xtmelogit model with a highly significant time by condition
interaction. I used the margins command to estimate coefficients for
the effects of time separately for the 2 conditions (simple effects).
I then used marginsplot to plot rates of change for the 2 conditions
as a simple bar graph (with 2 bars, each representing a rate of change
for 1 of the 2 conditions). Here's the code:

margins, dydx(time) over(cond) predict(fixedonly)
marginsplot, recast(bar)

Given that the time X condition interaction is significant, I'd expect
the error bars on the 2 bars not to overlap (the rates of change
should significantly differ across groups). However, the two error
bars overlap. Any idea why this might be?

Thanks!
*
*   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   |   Site index