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: AW: subsample estimation in xtabond


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: subsample estimation in xtabond
Date   Sat, 19 Jun 2010 22:11:55 +0200

<> 

You need to use two equal signs (China==1):

*************
sysuse auto, clear
reg price weight length if rep78==3
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Jason Hecht
Gesendet: Samstag, 19. Juni 2010 22:09
An: [email protected]
Betreff: st: subsample estimation in xtabond

I have indicator variables (e.g., China=1, 0=otherwise) and would like
to use the "IF" feature in xtabond to only include observations for
China in the estimation.  However, when I type "china=1" under the
"IF: (expresion)" line , I get an "=exp not allowed error."  Is there
a quick fix here?  Thanks so much.
*
*   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