Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The story adds point to my earlier digression that missing data, meaning observations with missing values, and gaps in data are quite different. Quite independently of any Stata questions, for what -hijra- means see (e.g.) http://en.wikipedia.org/wiki/Islamic_calendar Nick On Tue, Apr 5, 2011 at 8:47 AM, daniel klein <klein.daniel.81@googlemail.com> wrote: > Abu wrote me privately, but I will answer on statlist as suggested here: > http://www.stata.com/support/faqs/res/statalist.html#private > > The "problem" is neither with -table- nor with any other command or > option. In fact it is not a problem, but exactly what you should > expect Stata to do. The code, that is used basicly reads: > > table country hijra_grp, c(sum id sum us sum count), if hijra>1428 > > Some countries do not appear in the table, but this is not because > -table- drops (or omits) observations, but because the if condition is > not satisfied for those countries. That is, there is no case in which > hijra > 1428 for those countries in the dataset. Since your are > telling Stata to run the command (-table- in this case) only on cases > that satisfy the if conditon, you do not find the countries in your > table. > > I do not know how to change this behaviour nor do I think you want to > change it. Re-think the -if- statement and think of alternative ways > to get the desired statistics. * * 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/

- Prev by Date:
**Re: st: how keep row variables even if they are missing** - Next by Date:
**st: Portuguese characters on Stata for Mac OS.** - Previous by thread:
**st: Panel data: Instrumental variable Tobit or probit model** - Next by thread:
**st: Portuguese characters on Stata for Mac OS.** - Index(es):