Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: 2 questions


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: 2 questions
Date   Fri, 6 Jun 2008 17:11:08 +0100

Martin Weiss has pointed out that [_n] is unnecessary here. 

That is true but not an answer to your question. 

I can't reproduce the error message here. What you have looks legal to
me in any case. 

Nor is there an apparent precedence issue, as * takes precedence over
==, as you intend. 

Nick 
n.j.cox@durham.ac.uk 

Tunga Kantarci

The second of the following two commands return an error message.
But for some other _n it works fine.
What may be the problem? 

count if fillq439[_n] == 3850
count if fillq439[_n] == 7000*0.55


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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