If countries have a similar median age, does that mean they are also similar in other ways? My best guess at an answer is – probably. Perhaps if we plot the data on a map, we’ll be able to see the answer more clearly. I first started thinking about this topic when I saw the… Continue reading Map: Median age by country
To stack the deck means to cheat or to fix something so a desired outcome is achieved. This term originated in card games, but can also be applied to other things. And here, I apply it (both metaphorically and literally) to creating a better graph! I recently saw the following graph created by NPR. It… Continue reading How to ‘stack the deck’ for a better graph!
How many times have you entered a phone number on a web page, only to be told that you did not type it the “correct” form? I find that annoying. Don’t you? In my latest book, Cody’s Data Cleaning Techniques, 3rd edition, I show how to convert a phone number in any form and convert… Continue reading Standardizing phone numbers using SAS
I guess a coding dinosaur is someone who uses an old/legacy computer language, or at least a language that isn’t en vogue these days. Coding dinosaurs are still around (and probably will be for a while), whereas the real dinosaurs that lived millions of years ago are extinct. What caused their extinction has been a… Continue reading What happened to the dinosaurs? (not the coding dinosaurs – the real ones!)
An idiom is a group of words established by usage as having a meaning not deducible from those of the individual words. For example, “don’t cry over spilled milk,” or “the cat is out of the bag.” Idioms are fun to use, and fun to hear – don’t you agree? And I think idioms are… Continue reading Map of idioms, from around the world
If you’re a SAS programmer, you have likely used loops in your SAS code to make life easier from time to time. In this blog post, I demonstrate a few ways you can use loops to do clever things in your graph code. Perhaps even the old dogs can learn some new tricks! But before… Continue reading Using loops in your SAS graph code
When developing SAS® data sets, program code and/or applications, efficiency is not always given the attention it deserves, particularly in the early phases of development. Since data sizes and system performance can affect a program and/or an application’s behavior, SAS users may want to access information about a data set’s content and size. To access,… Continue reading Determining the size of a SAS data set