/* Set graphics options */goptions reset=all cback=white border;/* Set system options */data a;input TEST $8. BREAKS;cards;Cold 5Cold 12Cold 14Cold 22Cold 52Heat 20Heat 25Heat 10Heat 22Heat 47Gases 12Gases …
Use DO WHILE to read in every word in a string
%local cnt tword ntot1;%let cnt=1;%let tword=%qscan(&tstring,&cnt,%str( ));%* let ntot1=%qscan(&tcount,&cnt,%str( ));%do %while(&tword ne);      data _null_;            set &dir..&dsn;          &n…
New SAS Blog: www.SAS-X.com
This is a followup to my previous post Attention all SAS Bloggers. Tal Galili from http://www.r-bloggers.com has launched a similar site for SAS bloggers: http://www.sas-x.com.
As I spent more time on the R-bloggers site, it grew…
Indexing in SAS.. In a baby’s language
A question at the KBC (Indianized version of Who wants to be a Millionire)If your answer happens to be anything other than C then this might not be a relevant post for you :-)There have been innumerable number of posts on indexing in SAS. One such bril…
Example 8.16: Exact logistic regression
In example 8.15, on Firth logistic regression, we mentioned alternative approaches to separation troubles. Here we demonstrate exact logistic regression. The code for this appears in the book (section 4.1.2) but we don’t show an example of it there. …
Celebrate Computer Science Education Week with SAS: December 5-11
Next week we’ll be celebrating Computer Science Education Week. SAS is a partner in this event, which makes complete sense because we have a vested interest in creating more computer scientists. After all, SAS does employ a lot of them.
When I …