Annotate +/- one standard deviation of the mean with PROC GCHART

November 9, 2016
By

Click Here
Read more »

You need a custom map, for US presidential election results!

November 9, 2016
By

In the US presidential election, each of the 50 states has a certain number of electoral votes, based on the population. Typically, most states cast all their electoral votes for the candidate who wins in their state (all or nothing). But states can split their electoral votes if they want

The post Read more »

Visualize a torus in SAS

November 9, 2016
By
Visualize a torus in SAS

This article uses graphical techniques to visualize one of my favorite geometric objects: the surface of a three-dimensional torus. Along the way, this article demonstrates techniques that are useful for visualizing more mundane 3-D point clouds that arise in statistical data analysis. Define points on a torus A torus is

The post Read more »

Rotation matrices and 3-D data

November 7, 2016
By
Rotation matrices and 3-D data

Rotation matrices are used in computer graphics and in statistical analyses. A rotation matrix is especially easy to implement in a matrix language such as the SAS Interactive Matrix Language (SAS/IML). This article shows how to implement three-dimensional rotation matrices and use them to rotate a 3-D point cloud. Define

The post Read more »

Your chance to vote … for your favorite election graph!

November 4, 2016
By

Elections in the US are a 'target rich environment' for data analysts. There are surveys and forecasts before the election, and the presentation of results during and after the voting. What's your favorite election-related graph of all time? For the current (2016) presidential election, my favorite graphs are on the

The post Read more »

The difference between the Subsetting IF and the IF—THEN—ELSE—IF statement

November 3, 2016
By

My river walk last week turned into a spectacular fall show. But if it rains this week in San Antonio, like the weatherman predicts, what will I do? In the coming days, I’ll be presenting at two user groups,  one in eastern Canada in Halifax, and the other all the

The post Read more »

Building a better HIV/AIDS map

November 2, 2016
By

Being an Eagle Scout, the data for good movement caught my attention. I wondered if I could apply my computer skills in a way that might help. How about showing people better ways to visualize HIV/AIDS data - that might help doctors better understand the data, and therefore better treat

The post Read more »

Sometimes you need to reverse the data before you fit a distribution

November 2, 2016
By
Sometimes you need to reverse the data before you fit a distribution

Occasionally on a discussion forum, a statistical programmer will ask a question like the following: I am trying to fit a parametric distribution to my data. The sample has a long tail, so I have tried the lognormal, Weibull, and gamma distributions, but nothing seems to fit. Please help!! In

The post Read more »

Binge on this series: Fun with ODS Graphics

November 1, 2016
By
Binge on this series: Fun with ODS Graphics

SAS Community member @tc (a.k.a. Ted Conway) has found a new toy: ODS Graphics. Using PROC SGPLOT and GTL (Graph Template Language), along with some creative data prep steps, Ted has created several fun examples that show off what you can do with a bit of creativity, some math knowledge,

The post Read more »

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.

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: tal.galili@gmail.com
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.