## Data Visualization

Get the right information, with visual impact, to the people who need it

0
Create a frequency polygon in SAS

I was recently asked how to create a frequency polygon in SAS. A frequency polygon is an alternative to a histogram that shows similar information about the distribution of univariate data. It is the piecewise linear curve formed by connecting the midpoints of the tops of the bins. The graph

0
The normal approximation and random samples of the binomial distribution

Recall that the binomial distribution is the distribution of the number of successes in a set of independent Bernoulli trials, each having the same probability of success. Most introductory statistics textbooks discuss the approximation of the binomial distribution by the normal distribution. The graph to the right shows that the

0
Add reference lines to a bar chart in SAS

A SAS programmer asked whether it is possible to add reference lines to the categorical axis of a bar chart. The answer is yes. You can use the VBAR statement, but I prefer to use the VBARBASIC (or VBARPARM) statement, which enables you to overlay a wide variety of graphs

0
How analytics helps move organizations to a 'new normal'

Industries including sports and entertainment, travel, manufacturing, education and government benefit from analytical insights In the United States and other parts of the world, there are signs. Record automobile traffic. Surging demand for workers. And a continued push to vaccinate. The pandemic and its effects are still very much with

0
Where are people moving to/from in the US?

With the 2020 Census numbers starting to come out, it's interesting to look at what states are gaining (or losing) people. In this example, I create a custom map similar to the ones the US Census Bureau likes to use, and plot the 10-year change in population. But before we

0
How to (mis)label a map

This blog post is mostly just a bunch of fun maps ... maps that are labeled (or mislabeled) in various ways, using fun/interesting data. I focus on the 'fun' part, but if you're not careful you might also learn a little about the various ways to add labels to maps

0
Which countries consume the most coal?

These days, many countries are moving away from coal, and towards natural gas, hydro, wind, and solar as ways to meet their electricity needs. I had heard that some countries still use a lot of coal (especially those countries with large coal deposits), and I was curious which countries use

0
Captain Kirk travels into space!

Recently, the news has been all abuzz about William Shatner traveling into space. This was a cool event because he's the oldest person who has traveled into space (at 90 years old) ... and he was also the iconic Captain Kirk from the original Star Trek television series. This got

0
How SAS is saving the sweet potato

Have you ever thought of a sweet potato as ugly? These tuberous, root vegetables are a holiday staple, but the sweet potato industry prefers a certain size, shape and weight for them to make it to your grocery store. Many farmers even leave the potatoes deemed “ugly” in the fields,

Data Visualization
0
The Graph Guy is retiring!

The rumors are true - The Graph Guy is retiring! I've been working at SAS for about 30 years, and had lots of fun stretching the limits of SAS' graphing & mapping software over the years. But I've decided to retire while I'm still young enough to pursue a lot

0
Let's dive into some data - SCUBA site data!

SCUBA diving is one of those activities that should be on your bucket list - everyone should experience it at least once! But where should you go diving? ... Coral reefs are always popular - and they are typically in shallow water, making it an 'easy' dive. But, being in

0
Why you should visualize distributions instead of report means

Graphing data is almost always more informative than displaying a table of summary statistics. In a recent article about "dynamite plots," I briefly mentioned that graphs such as box plots and strip plots are better at showing data than graphs that merely show the mean and standard deviation. This article

0
Simulate proportions for groups

A statistical programmer asked how to simulate event-trials data for groups. The subjects in each group have a different probability of experiencing the event. This article describes one way to simulate this scenario. The simulation is similar to simulating from a mixture distribution. This article also shows three different ways

Data Visualization
0
Remaking a panel of dynamite plots

A colleague spent a lot of time creating a panel of graphs to summarize some data. She did not use SAS software to create the graph, but I used SAS to create a simplified version of her graph, which is shown to the right. (The colors are from her graph.)

Data Visualization
0
Remaking a panel of dynamite plots

A colleague spent a lot of time creating a panel of graphs to summarize some data. She did not use SAS software to create the graph, but I used SAS to create a simplified version of her graph, which is shown to the right. (The colors are from her graph.)

0
Cary NC data - weather

Many cities have Open Data pages. But once you download the data, what can you do with it? This is my sixth in a series of blog posts where I download public data about Cary, NC, and demonstrate how you might analyze that type of data (for Cary, or any

0
Analyzing movement and tracking data using SAS Visual Analytics

Technological advancements in connectivity and global positioning systems (GPS) have led to increased data tracking and related business use cases to analyze such movements. Whether analyzing a vehicle, an animal or a population's movements - each use case requires analyzing underlying spatial information. Global challenges such as virus outbreaks, deforestation

0
Cary NC data - parks and trails

Many cities have Open Data pages. But once you download the data, what can you do with it? This is my fifth in a series of blog posts where I download public data about Cary, NC, and demonstrate how you might analyze that type of data (for Cary, or any

0
Cary NC data - population

Many cities have Open Data pages. But once you download the data, what can you do with it? This is my fourth in a series of blog posts where I download public data about Cary, NC, and demonstrate how you might analyze that type of data (for Cary, or any

0
Sliced survival graphs in SAS

This article shows how to create a "sliced survival plot" for proportional-hazards models that are created by using PROC PHREG in SAS. Graphing the result of a statistical regression model is a valuable way to communicate the predictions of the model. Many SAS procedures use ODS graphics to produce graphs

0
Cary NC data - streetlights

Many cities have Open Data pages. But once you download the data, what can you do with it? This is my third in a series of blog posts where I download several datasets from Cary, NC's open data page, and give you a few ideas to get you started on

0
A comparison of different weighting schemes for ranking sports teams

A previous article discusses the geometry of weighted averages and shows how choosing different weights can lead to different rankings of the subjects. As an example, I showed how college programs might rank applicants by using a weighted average of factors such as test scores. "The best" applicant is determined

0
Cary NC data - fire incidents

Many cities have Open Data pages. But once you download the data, what can you do with it? This is my second blog post where I download several datasets from Cary, NC's open data page, and and give you a few ideas to get you started on your own data

0
Cary NC data - car crashes

Many cities have Open Data pages. But once you download this data, what can you do with it? I'm going to download several datasets from Cary, NC's open data page, and try to give you a few ideas to get you started on your own data exploration! And what data