[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: Nested zip
Nick Cox <email@example.com>
st: RE: Nested zip
Tue, 6 Dec 2011 18:32:03 +0000
The answer depends on the question.
I guess that you already know the answer that no -xtzip- or -xtmezip- command exists, and that you are seeking for an explanation of that fact in turn, and not merely that StataCorp haven't written it.
This is for StataCorp for answer, except that questions of this form don't usually get answered by them (not least because they often morph into "Do have plans to work on it then?").
In very general terms, a command is likely to get written by StataCorp and issued with official releases depending on such factors as
* whether someone at StataCorp has developed interest and expertise in a field (StataCorp can be as capricious as any bunch of academics in choosing to work on something or ignore it, regardless of popularity)
* whether there is a literature on a technique
* whether it seems well used in statistical science, or at least deserving of being so
* whether an algorithm can be thought up that works well in practice (this is the one that users often under-estimate; StataCorp can put a vast amount of effort in setting up simulations and various other kinds of assessment; sometimes a technique is emphatically _not_ implemented officially because StataCorp have found all too much evidence that it often produces lousy results).
* all sorts of other things (a massive noise term).
In the case of -xtzip- is there even a literature? Would you expect a parameterisation in which the fraction of zeros is allowed to vary by panels (insisting on the same fraction sounds unlikely to appeal)? How would that work numerically?
Why haven't users tried to write it either?
I am trying to model a count variable (lifetime use of drugs) nested in
schools. Given it's distribution, a zip model would be ideal (lots of
zeros). However, it seems Stata will run an xtmepoisson but not zip.
Does anyone know why?
* For searches and help try: