Statalist


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

st: AW: Interaction with squared variable


From   Giuseppe Cappelletti <giuseppe.cappelletti@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: AW: Interaction with squared variable
Date   Tue, 13 Oct 2009 16:45:23 +0200

This is the message I get when I use the command ( oprobit  y
i.gender c.x  c.x#c.x  i.gender#(c.x#c.x) )
"invalid interaction specification;
multiple 'o' operators attached to a single variable are not allowed
within an interaction specification{p_end}"

The same command works if I use a linear model that is regress y
i.gender c.x  c.x#c.x  i.gender#(c.x#c.x).

Thanks  in advance

Giuseppe

<>

" but it does not work".


What exactly does not work? Note the FAQ onthis point...



HTH
Martin
*
*   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   |   What's new   |   Site index