Re: lag calculation macro #4026 (2/3/2010 5:57:14 PM) comp.soft-sys.sas Thanks Joe! It's tempting to use macros or arrays in SAS when a simpler code works far more efficiently. Too bad there isn't a SAS guide that covers common pitfalls in SAS programming such as this. =20 From: ... RobertF
Re: lag calculation macro #3028 (2/3/2010 5:19:21 PM) comp.soft-sys.sas Perfect, works like a charm! Thanks Arthur! -----Original Message----- From: Arthur Tabachneck [mailto:art297@NETSCAPE.NET] Sent: Wednesday, February 03, 2010 10:59 AM To: SAS-L@LISTSERV.UGA.EDU; Feyerharm, R... RobertF
lag calculation macro022 (2/3/2010 4:47:37 PM) comp.soft-sys.sas Has anyone else struggled with the lag function in SAS? The lag function often doesn't work in an intuitive manner in conditional statements, or if missing values are involved. Anyways, I wrote a short macro c... robertf
multiple comparisons criteria146 (1/13/2010 5:25:35 PM) comp.soft-sys.sas When performing a family of multiple statistical tests simultaneously, what is the definition of "family" and "simultaneous" for the purposes of calculating a Bonferonni correction? If I perform N simulatneous... robertf
Fisher's exact test appropriate here?2142 (1/8/2010 8:57:40 PM) comp.soft-sys.sas I'm comparing various pregnancy & delivery complication rates between the
Medicaid and Non-Medicaid populations in my State. These rates are often
quite small (for example, 17/20,833 vs 26/26,602).
There a... robertf
Re: missing numerical values = - infinity? #20190 (12/23/2009 11:34:29 PM) comp.soft-sys.sas Here's what I get if I assign "NA" to A, then attempt to evaluate the
statement "if A=2500 then z=1":
> A if(A=2500)z= 2500) z if(NA= 2500 then ....
in both cases the THEN action does NOT take place, r... RobertF
Re: missing numerical values = - infinity?0244 (12/23/2009 10:52:01 PM) comp.soft-sys.sas Thanks Mark, I agree that one must carefully tailor code to deal with
missing values in SAS or any language.
That's interesting that Stata sets missing values at positive infinity.
The R programming langua... RobertF
missing numerical values = - infinity?1207 (12/23/2009 8:52:28 PM) comp.soft-sys.sas Going into rant mode... I discovered a feature of SAS that I wish I had
known earlier: SAS will assign a value of *negative infinity* to missing
numerical values in logical statements.
So in the following ... robertf
Re: proc power question for McNemar test0503 (12/23/2009 5:17:34 PM) comp.soft-sys.sas Thanks Robin, this is very helpful!
Robert
-----Original Message-----
From: Robin R High [mailto:rhigh@unmc.edu]
Sent: Monday, December 21, 2009 1:19 PM
To: Feyerharm, Robert W.
Cc: SAS-L@LISTSERV.UGA... RobertF