Sending Text Messages from SAS

May 18, 2015
By
Sending Text Messages from SAS

For me, a major highlight of SAS Global Forum 2015 was seeing Matthew Slaughter’s presentation, Sending Text Messages from SAS.  You may have noticed that his name is similar to mine.  This is not a coincidence as he is my son.  However, this paper was his idea.  He researched the topic on his own,...
Read more »

Dataset too big for PROC PRINT?

May 18, 2015
By

Dataset too big for PROC PRINT? One weird trick solves your problem! proc print data=bigdata (obs=10); run; The OBS= dataset option specifies the last observation to process from an input dataset. In the above example, regardless of dataset size, only the first 10 observations are printed; an easy way to

The post Read more »

Improving the NC vehicle inspection pie chart

May 18, 2015
By
Improving the NC vehicle inspection pie chart

North Carolina is a state that requires yearly inspections of motor vehicles. An inspection checks for safety features (lights, brakes, tires,....) as well as checking vehicle emissions to ensure that vehicles meet air pollution standards. I recently had a car inspected and noticed a pie chart on the inspection's summary

The post Read more »

A little fun with UFO sightings data

May 15, 2015
By

As a kid, I was always intrigued with UFO sightings and I guess I'm still a little that way ... therefore how could I not jump at the opportunity to explore some UFO sightings data! I guess "UFO" doesn't necessarily imply that something is an alien space ship - just

The post Read more »

Filter your SAS Enterprise Guide data with a WHERE clause

May 14, 2015
By
Filter your SAS Enterprise Guide data with a WHERE clause

Are you a VIEWTABLE fan from the SAS Windowing Environment (a.k.a. Display Manager, DMS, PC SAS)? If so, the latest version of SAS Enterprise Guide has a new feature that you'll love. With the latest update to SAS Enterprise Guide 7.1 (7.11), you can now subset your data in the

The post Read more »

No major hurricanes have hit the US coast recently. Lucky us!

May 14, 2015
By
No major hurricanes have hit the US coast recently. Lucky us!

Perhaps you saw the headlines earlier this week about the fact that it has been nine years since the last major hurricane (category 3, 4, or 5) hit the US coast. According to a post on the GeoSpace blog, which is published by the American Geophysical Union (AGU), researchers ran

The post Read more »

Two-stage sampling of hierarchical data in SAS

May 13, 2015
By
Two-stage sampling of hierarchical data in SAS

I always learn something new when I attend SAS Global Forum, and it often results from an informal conversations in The Quad or in a hallway. Last week a SAS customer described a scenario that he wanted to implement as part of an analysis of some genetic data. To oversimplify

The post Read more »

Calculating Covariance by SAS, A Brutal Way

May 12, 2015
By
Calculating Covariance by SAS, A Brutal Way

It was very disappointed that there is only one built-in method to calculate covariance in Base SAS: that’s in PROC CORR (while you can also do it in SAS/IML, of course): The following is a quick-and-dirty way to get a function like %COV: %macro COV(data, var1,var2); %local _cov; %let rc = %sysfunc(dosubl(%str(     ods...
Read more »

Import .Rdata to SAS, along with Labels

May 12, 2015
By
Import .Rdata to SAS, along with Labels

I didn’t play with SAS/IML for a while. I call it back when I need to read some R format data. Technically, .Rdata is not a data format. It’s rather a big container to hold bunch of R objects: In this example, when a .Rdata is loaded, 3 objects are included where ‘data’(the ‘real’...
Read more »

Proc-x is looking for sponsors!

Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: [email protected]

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.