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]

Re: st: plotting marginal effect for xtreg interaction terms


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: plotting marginal effect for xtreg interaction terms
Date   Wed, 19 Oct 2011 15:23:17 +0200

On Wed, Oct 19, 2011 at 1:54 PM, lreine ycenna <lreine.ycenna@gmail.com> wrote:
> I seem to have made an error somewhere in my command, but I don't know where.
> (1) stata returns an error message after the first line of my command
> is entered (xtreg Y A B AxB, fe)- independent variables are collinear
> with the panel variable cn r(198);

It probably means that the combination of A and B is constant within
the groups for which you defined fixed effects. So you cannot estimate
that model.

> (2) I'm not sure whether I can plot the marginal effect for xtreg.
> Correct me if im wrong.

<http://www.ats.ucla.edu/stat/stata/faq/margins_graph12.htm>

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany


http://www.maartenbuis.nl
--------------------------
*
*   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