Statalist


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

Re: st: Strange world?


From   Philipp Rehm <[email protected]>
To   [email protected]
Subject   Re: st: Strange world?
Date   Mon, 07 Jan 2008 14:03:54 +0100

tab name if HoursPWeek > 90

will give you all observations which are greater than 90, which includes all missing values. Tab "help missing".

You may want to do:
tab name if HoursPWeek > 90 & HoursPWeek<.

HTH,
Philipp

[email protected] wrote:

Hello everyone,
again me...
I think there is something wrong with my data or my stata... It�s really unbelievable.

I have 10032 observations.
Like 200 of them have announced to be working more than 90 Hours per Week. (There are also 3000 missing values). I can see that doing "tab HoursPWeek".

The strange thing, is that if I call another variable, for example:
"tab name if HoursPWeek > 90", then the answer is about 3000 observations. How can that be?

Another strange thing:
If I say "tab name" if HoursPWeek==99.9 there are "no observations" although I can clearly see in the data, there are some.
Does anyone have an idea?

Thanks, Markus.




*
* 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/

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index