It’s a simple task to use SAS to compute the number of weekdays between two dates. You can use the INTCK function with the WEEKDAY interval to come up with that number. diff = intck(’WEEKDAY’, start_date, end_date); If you want to compu…
Tag: sas programming
Hammer time with high school students
This morning I delivered a talk to visiting high school students at the SAS campus. The topic: using SAS to analyze Twitter content.
Being teenagers, high school students are well familiar with Twitter. But this batch of students was also very …
New Goodies for SAS Programmers: View it now
Millions of Americans will be gathering around the television this Sunday to watch Super Bowl XLV. They’ll gather in bars and private homes, prepare billions of calories worth of snacks, and root for their favorite teams.
But if you’re looking f…
The SAS code formatter: more than a pretty face
A customer phoned up SAS Technical Support the other day with a problem. (Yes, that happens occasionally…) When he ran a certain program through SAS Enterprise Guide, the program didn’t seem to complete and no results were returned. Here is a …
SAS logs in Enterprise Guide: Where’s the beef?
You might be too young to remember Clara Peller. She was the star of a series of fast-food burger commercials in the 1980s, in which she demanded meatier meals by shouting “Where’s the beef?” at the pickup counter or drive-through window. Alas, …
Peek at your data using VBScript, OLE DB, and the SAS local data provider
Let’s pretend for a moment that you don’t have SAS installed on all of your office computers. But you’ve got some great content locked away inside SAS data sets. Is there a way to get to the content of that data, without having to push the data …
PROC REPORT versus TABULATE: two SAS heavyweights
The question came up on the SAS Enterprise Guide discussion forum: which do you prefer, List Report Wizard (PROC REPORT) or Summary Tables (PROC TABULATE)?
And as with most SAS-related questions, the proper response is: “it depends.” If you put …
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…