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
[email protected]
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/