Presumably you typed == not =.
I've got to say that I don't understand the report. The effect of &
should be as you wish and not lead to the result you state.
Nick
[email protected]
LY Pierrem
Now, I tried to add one more condition on the count, but it seems i am
not putting it in the right place (cause it then counts things wrong).
For example, counting the people who meet the already suggested
timefunded<timeposted[`i'], but also who are, say, of the same region.
so I tried to expand one line under the forval:
qui cou if timefunded<timeposted[`i'] & region=region[`i'] in 1/`i'
but it ends up counting ALL the people of the same region, not just the
people of the same region also meeting the first condition. Is there a
place to add correctly this in the same code?
*
* 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/