Coding in Python with SAS University Edition

February 5, 2018
By
Coding in Python with SAS University Edition

Good news learners! SAS University Edition has gone back to school and learned some new tricks. With the December 2017 update, SAS University Edition now includes the SASPy package, available in its Jupyter Notebook interface. If you're keeping track, you know that SAS University Edition has long had support for

The post Read more »

Simulate the birthday-matching problem

February 5, 2018
By
Simulate the birthday-matching problem

This article simulates the birthday-matching problem in SAS. The birthday-matching problem (also called the birthday problem or birthday paradox) answers the following question: "if there are N people in a room, what is the probability that at least two people share a birthday?" The birthday problem is famous because the

The post Read more »

Can felons vote in your state?

February 2, 2018
By

Can felons vote? This seemed like a simple question, but I realized that I wasn't 100% sure of the answer. Therefore I looked into the data ... and apparently "it depends". Follow along and see how I created a map to help answer this question. But befo...
Read more »

Does Detroit really have the most violent crime?

February 1, 2018
By

For the past few years, I've been hearing from many news sources that Detroit is the most violent large city in the US. If the news is saying this, then the data should corroborate it, eh? Well, of course I decided to check for myself... When comparing...
Read more »

Demystifying SAS Certification (Part 2): Write it down

February 1, 2018
By

Do you know what the #1 fear in North America is? Most people say fear of public speaking or fear of death, but you may just want to consider this new fear upping the charts - the fear of writing a SAS Certification exam! The real test begins before ev...
Read more »

Create a stacked band plot in SAS

January 31, 2018
By
Create a stacked band plot in SAS

This article shows how to construct a "stacked band plot" in SAS, as shown to the right. (Click to enlarge.) You are probably familiar with a stacked bar chart in which the cumulative amount of some quantity is displayed by stacking the contributions of several groups. A canonical example is

The post Read more »

Building a better flu map!

January 30, 2018
By

The flu seems to be especially potent this year. "How potent is it," you might ask? ... Well, let's plot some data on a map to help find out! Here in the US, the Centers for Disease Control and Prevention (CDC) compiles data about diseases, and provide...
Read more »

A better way to view flu data

January 29, 2018
By

Have you, or someone you know, gotten the flu this year? Word on the street is that this year's flu might be particularly bad, and the data seem to be corroborating that so far. You don't want to take my word for it? -- well then, let's have a look [.....
Read more »

Jedi SAS Tricks – The Double vs. Decimal Dilemma

January 29, 2018
By

I ran across an interesting conundrum the other day. The intent was to compare the value of X to a list of desired values, and if X matched one of the values in the list, set Flag to 1, otherwise set Flag to 0.  I wrote and executed this test program, ...
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.