Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: mark spell

From   Jörg Eulenberger <>
Subject   Re: st: mark spell
Date   Mon, 14 Feb 2011 15:14:31 +0100

Yes, this is the solution.
Sometimes you can't see the wood for the trees.
Thanks a lot,

Am 14.02.2011 14:48, schrieb Nick Cox:
What is the problem then? Is the solution

gen includes538 = inrange(538, xb, xe)



On Mon, Feb 14, 2011 at 1:40 PM, Jörg Eulenberger<>  wrote:

I have a problem to mark out the spells  with includes the Date
2004m11(538). The Dataset shows like this:

id    xb   xe    xt
01    2004m9    2005m12    a
02    2004m7    2004m9    c
02    2004m10    2004m10    c
02    2004m11    2005m7    b
02    2005m8    2005m12    b
05    2004m6    2004m8    c
05    2004m9    2005m12    b
07    2004m7    2004m7    c
07    2004m8    2004m10    b
07    2004m11    2004m12    c
07    2005m1    2005m8    a
07    2005m9    2005m9    c
07    2005m10    2005m12    b
08    2004m9    2005m12    b

Any help would be very much appreciated. Thanks
*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index