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]

Re: st: plotting marginal effect for xtreg interaction terms


From   lreine ycenna <[email protected]>
To   [email protected]
Subject   Re: st: plotting marginal effect for xtreg interaction terms
Date   Wed, 19 Oct 2011 14:27:44 +0100

Thanks for this - It works in my other datasheet, which is strange. I
must have forgotten something when I transferred it over to the new
one. Thanks again.

On 19 October 2011 14:23, Maarten Buis <[email protected]> wrote:
> On Wed, Oct 19, 2011 at 1:54 PM, lreine ycenna <[email protected]> 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/
>

*
*   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