Bookmark and Share

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


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

RE: Re: Re: st: binary indicator for differing subsets of variables [SEC=UNCLASSIFIED]


From   "Fry, Jane" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   RE: Re: Re: st: binary indicator for differing subsets of variables [SEC=UNCLASSIFIED]
Date   Fri, 9 Sep 2011 12:09:27 +1000

Hmmm... but if my date variables are strings (MMYY)
would the inrange function take the range to be alphanumeric and
evaluated from left to right?

e.g. inrange("`v'", date1, date2) for date1="0108" and date2="0708"
would declare "0707" to be in the range?

This would be a problem, but the blunt solution of generating the
intervening dates would avoid it.



Important Notice

This e-mail and attachments (if any) is intended for the original addressee only.
If you are not the intended recipient, any use or dissemination of this communication is prohibited.
Please advise the sender by return e-mail and delete this e-mail.

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


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