Category: SAS

World Statistics, FTW!

Yesterday, I was in the #raganSAS audience as David Pogue told me What’s New and What’s Next in the world of technology.
David is a great presenter, and he really had the audience engaged as he talked about augmented reality,
his world according…

Logics in mathematics and in daily life: a statistical programming example

Refresh some basic logical propositions (or statements):
implication:       if       P then       Q (P—>Q)
inverse:            if not P then not Q (-P—>-Q)
converse:         if       Q then       P (Q—>P)
contrapositive: if not Q then not P (-Q—>-P)
contradition:    if       P then not Q (P—>-Q)

Mathematically or logically speaking, if the implication statement holds, then the contrapositive holds, but the inverse does not hold, […]

SAS Macros to Read data from MS Excel using DDE

Here are a set of SAS Macros to read data from MS Excel using DDE…

Let me explain with some scenarios with the Excel data stored in “C:\Names.xlsx” in worksheet named “Sheet1″…

This excel file has in fact data that can be read into 2…

Finally got my feet wet by jumping in a puddle

Finally got a chance to setup workspace pooling in SAS 9.1 and WRS 3.1. Followed the instructions I outlined in this post http://blog.saasinct.com/2010/09/28/speeding-up-web-report-studio-9-13-1-by-jumping-in-puddles/ Was simple enough to setup and get working, only trick was to remember to stop and restart the webserver so WRS/WRV could pick up the changes and switch over from load balanced to pooled. […]

XML and SAS

Last month, I gave a talk, XML: the SAS Approach, in CDISC Interchange China 2010(at the Medical School of Fudan University, Shanghai, 2010-09-15). FDA favors CDISC and HL7, the two XML based standards, and SAS programmers in biopharmaceutical industry  need incorporate the XML technology into their toolboxes. Fortunately, you don’t need to be an XML […]

Help us design a better SAS customer support Web site

The folks in charge of our SAS customer support Web site, support.sas.com are working on a new and improved home page. Who better to evaluate this Web page than you? You can view the beta page now and take a survey to tell us what you think.

PUTLOG statement

The PUTLOG statement writes a message that you specify to the SAS log.

The PUTLOG statement is helpful when you use macro-generated code because you can send output to the SAS log without affecting the current file destination.

The PUTLOG statemen…

Example 8.8: more Hosmer and Lemeshow

This is a special R-only entry.In Example 8.7, we showed the Hosmer and Lemeshow goodness-of-fit test. Today we demonstrate more advanced computational approaches for the test.If you write a function for your own use, it hardly matters what it looks l…