It is said in An Introduction to R, one of R official documents (Current Version: 2.15.1): There is an important difference in philosophy between S (and hence R) and the other main statistical systems. In S a statistical analysis is normally done as a series of steps, with intermediate results being stored in objects. Thus […]
Category: SAS
New Book on Confidence Intervals for Proportions by Prof. Newcombe
Check it out: a new book on confidence intervals for proportions by Prof. Robert G. Newcombe just recently available from CRC Press: Confidence Intervals for Proportions and Related Measures of Effect Size This book also supplies a set of Excel spreadsheets to calculating CIs, see http://www.crcpress.com/product/isbn/9781439812785 Other users may be interested on a SAS or […]
SAS Information Map Studio: Include in the Default Query
SAS Instructor Lynn Matthews teaches how to use the include function in the default query in SAS Information Map Studio. This video demonstrates how adding the “include in the default query” option in Information Map Studio affects the default disp…
Frequentist or Baysian
A latest updated post on Freakonomics, Beware the Weasel Word “Statistical” in Statistical Significance!, seemed to attempt to challenge frequentist statistics by Bayesian. I have no research on Bayesian and won’t jump to the debates. I’d rather to use this case to apply the Dragon’s Teeth and Fleas logic of hypothesis testing (at least I […]
Enthusiasm and Vision #RaspberryJam
Well, that was an interesting evening! Lots of enthusiasm, lots of geekiness, lots of vision, and lots of printed circuit boards. Inspiring.
I’ve just been to the third Raspberry Jam in London, an event designed to facilitate the sharing of kn…
SAS Stored Process: Benefits of Minimalist Programming
Minimalism SAS stored processes can do a lot. While I haven’t taken on the life of a true minimalist, recently I have come to see the benefits of limiting my stored process source code to just one statement. And the best part of this practice is, I can still do everything I want. When you create a stored process, SAS writes the source code somewhere (see Tricia’s post on where the code is stored). Typically you enter the source code in the stored process wizard. I am now in the habit of typing just one %INCLUDE statement in the source code, and I end up with a stored process window that looks like below. I use the /source2 option to make sure the included code is written to the log. Minimalist Stored Process The full stored process source code ends up as below, because SAS adds a bit of wrapper code: Minimalist Stored Process: Source Code The main code is DoSomething.sas. It has the usual DATA steps, PROC steps, macro calls, maybe even %INCLUDE statements to call other other sub-modules. Minimalist Stored Process: Main Code So what are the benefits? You can store the main SAS code (DoSomething.sas) wherever you want. I’ve been writing SAS code for MUCH […]
Selecting the Second Duplicate Observation
Dear Miss SAS Answers, I have read through a few Dear Miss SAS Answers blog posts, but I cannot seem to find what I am looking for. I need to extract only the second duplicate from a whole list of duplicates per account number. Is there a way to…
HAVING (clause) fun with SAS Enterprise Guide
Last week I attended a meeting of the Toronto Area SAS Society. (Okay, I didn’t just attend; I was a presenter as well.) This user group meeting contained a feature that I had never seen before: “Solutions to the Posed Problem”. Weeks before the meeting, an “open problem” was posted […]