|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: AW: about the command by
<>
Should be
*************
bysort country years: count if rt==0
*************
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von amatoallah
ouchen
Gesendet: Freitag, 18. September 2009 23:06
An: [email protected]
Betreff: st: about the command by
good day stata listers
Sorry for the question, but I''m getting stuck on some very simple matter,
I'want to compute the number of observations with the condition Rt=0
by country and by years
so when I' ve put
. by country years: count if rt=0
i've got the message: exp not allowed
whereas when I've put
by country years: count if rt<0 and by country years: count if rt>0
there is no trouble
I'm really puzzled
thanks a lot in in advance!!!!
*
* 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/