Statalist


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

Re: st: My last word on strange world


From   David Airey <[email protected]>
To   [email protected]
Subject   Re: st: My last word on strange world
Date   Thu, 10 Jan 2008 10:49:08 -0600

On Jan 10, 2008, at 10:40 AM, Nick Cox wrote:

Manifestly, Stata doesn't do as Richard suggests. In each case, missings
on x will be ignored only if you specify that, e.g., by -inrange(x, 42,
.)-.

I think I once proposed, or at any rate once thought of, a -gt()-
function (those not familiar with old Fortrans can think "greater than")
such that

gt(x, y) is 1 if x > y & x < . & y < . and 0 otherwise.

Similarly ge(), lt(), le() for >=, <, <=.

But I would be surprised at any enthusiasm for this. Everyone seems to
want to want to keep >, >=, <, <= together with "do what I mean".

That sounds useful! Then each could have there own gt function set to function like R, or like SAS, or like Stata!

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