[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: My last word on strange world
From
Richard Williams <[email protected]>
To
[email protected], <[email protected]>
Subject
RE: st: My last word on strange world
Date
Thu, 10 Jan 2008 12:06:36 -0500
At 11:40 AM 1/10/2008, Nick Cox wrote:
The proposal I made 4 years ago was for an if2 qualifier, where ifs
would follow the same logic that SPSS does. A little quirky, I know,
but then all existing syntax continues to work fine as is: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".
http://www.stata.com/statalist/archive/2004-01/msg00136.html
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam
*
* 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 |