
How to Speak Geek, Part 1: Descriptives
Published Oct. 27, 2015 • Read time: 9m
Join the Conversation
0This is the first in what will be, depending upon time allocation, either a three- or four-part series on basic statistics. The idea behind this is twofold. First, it aims to give the lay reader a basic understanding of the statistical ideas that you will frequently see discussed in my work and in the work of other election analysts such as Nate Silver.
Please note: This is not intended to give you a graduate-level understanding of things. Instead, the goal is that if someone mentions “regression analysis” around you, you won’t instantly glaze over. This also goes for anyone who does have a graduate-level understanding of things. Yes, I gloss over and simplify things, and don’t strictly adhere to the assumptions of OLS (that’s “ordinary least squares” for the novices) everywhere. But that is the point.
Second, and more superficially, entry-level understandings of these things are surprisingly hard to find online. Even the Wikipedia entries for statistical concepts tend to be fairly technical. So the hope is that this provides something for journalists, including myself, to link back to in the future.
In any event, today we’ll start where almost every statistics course starts: with descriptive statistics. Tomorrow we’ll talk about probability and sampling. On Thursday and perhaps Friday, we’ll cover regression analysis.
Descriptive Statistics
Descriptive statistics are simply the statistics that allow us to describe how the data “look.” The descriptive statistics that you will most commonly encounter come in two varieties. The first set – with which most people are familiar – are mean, median and mode. These allow us to explore the “center” of a data set – something that is surprisingly hard to define!
As Many as 1 Million Kids Will Have School Choice This Year
Hypocrisy Behind the Campus Renaming Craze
Can Our Colleges Be Saved?
Hillary's Federal Education Jackboot Squad
The other set of statistics we’ll discuss are those that allow you to analyze the dispersion of data—that is, how spread out the data are from that center.
Measuring the Center of Data
1. Arithmetic Mean. You learned how to calculate an arithmetic mean in sixth grade, only then they called it an “average.” In “geek,” this is defined as (x1+x2+x3+ . . . +xn)/n. In plain English, this is pretty straightforward stuff: You add up the data, then divide by the number of observations.
What I actually wanted to highlight here was the concept of “n.” It’s a term that an awful lot of analysts throw around, as if people know what they are talking about. But just to be clear, when we talk about “n” we are talking about the number of observations. So if we talk about an “n” of 500 in a poll, we are speaking geek to mean “there are 500 people included in the poll.” If we’re conducting a regression analysis of 50 states plus the District of Columbia, our “n” is 51. And if we talk about “small n problems,” we just mean that the relatively few data points give us some pause. We’ll talk about this more tomorrow, when we discuss probability.
2. Median.
The next statistic is the median. In statistical terms, for some series (x1+x2+x3+ . . . +xn), the median value is xn/2. In plain English, this means “you line the data up from smallest to biggest (or vice versa; it doesn’t matter), and take the middle one.”
Why would we use a median? There are lots of reasons, but in particular, a median is useful if you have a skewed distribution. To see what I mean by this, consider a country where the subsistence level is $20,000 per year. In that country, there are five families. Three of them make $10,000 per year, one makes $20,000, and another makes $100,000.
If we use an average, we would say “the average family is making $20,000 per year – what great news!” But that $100,000 value is skewing things. Using the median, we see that, in fact, most families in the country are below the subsistence level. To be clear, the median isn’t better than the mean by any stretch: It’s less intuitive and most statistical formulas utilize the mean for the center of the data. There are just certain circumstances where knowing the median is also helpful (this, incidentally, is exactly why you’ll often hear economists referring to median income in the United States, rather than average income).
3. Mode
You would think there would be a better name for “the thing that occurs the most frequently” than “mode,” yet here we are. Why would you ever want to know the mode? Consider this piece that I wrote in early 2014 on the Democrats’ chances of losing the Senate. I utilized the modal outcome there because people were interested in which particular outcome was the most likely one. You can get into trouble here, because people often confuse the mode outcome as being “more likely than not.” Sometimes it is! But here it was just as accurate to say “it is 84 percent likely that Democrats will lose some number of seats other than eight,” as it was to say that an eight-seat pickup for Republicans was the most likely outcome.
4. Weighted Average
This is where things start to get tricky. Suppose that we are taking a course where tests count for 40 percent of the grade, the final exam counts for 30 percent of the grade, quizzes count for 20 percent, and homework counts for 10 percent. Imagine a student needs to get a score of 85 percent in the class to keep his grade point average up. He has an 83 on the tests, a 75 on the final, a 90 on the quizzes, and a 100 on the homework. He averages them and, voila! He has an 87 percent.
The problem, of course, is that he hasn’t weighted the data for the average. How do we do this? It’s pretty simple. You can enter the score for the exams 40 times, the final 30 times, the quizzes 20 times, and the homework 10 times, add it up, and divide by 100. This will work, but it quickly becomes impractical if you want to, say, weight the counties in a state, where populations can often run into the several millions.
But remember, if we multiply two times five, what we’re really saying is “I’m going to count two five times.” So rather than cluttering an Excel spreadsheet, we can multiply the exam score by 40, the final score by 30, the quizzes by 20, and the homework by 10. It is the exact same exercise as if we had entered the numbers individually. We then divide by 100 (the total of our weights), and see that, sadly, our friend has a score of only 83.7 percent, which is not enough.
So weighted averages are important when there is some important, numeric distinction underlying the data. Again, if we wanted to look at, say, the violent crime rate in the states, it would not do to simply average them. In this circumstance, California should count more than Wyoming. So you might opt to weight by population. Likewise, if you take the presidential candidates’ average performance in the states, you will have a different average than the national average. If you weight by the number of votes cast in each state, however, you should end up with the national average.
5. Variance
Now we get into measurements of the dispersion of the data. Think of it this way. You have your data, and you’ve calculated an average. You now want to know how far away the data are, in general, from the average. For example, let’s say you look at evaluations of two professors, and the average student has given both an 80. To compare them fully, however, it might be useful to know that almost all the scores for the first professor range between 75 and 85 percent, while the scores for the second professor run the gamut from 60 to 100. You might conclude that the first professor really is workmanlike, but that something in the second professor’s style makes some students really like him, while other students hate him.
So how might we measure this “spread”? One way would be to take the average, then go through each data point and subtract it from the average – this would give us the “distances” from each data point to the average. We can then average the “distances.”
The problem is this: Let’s say that a bunch of students give the professor a 70, and a similar number give the professor a 90. You will be adding up a bunch of 10s and -10s, which means your average will be zero.
There are a couple of ways around this. One way would be to take the absolute value of the differences. But the preferred way is to square the distances, which solves the problem because squaring a negative gives you a positive. If we do this, we get the variance (we also divide by n-1, for reasons well beyond the scope of this article). The variance is crucial for a number of statistical techniques, but for our purposes, just remember that the variance gives us some idea how much a set of data is spread out.
6. Standard Deviation
But the problem with the variance is that it isn’t scaled well. Remember our example above, where the mean score was 80 and the students were all giving the professor either 70 or 90? Because we’re squaring the distances, our variance is going to be around 104. This isn’t so helpful, because data really only varies by 10 points one way or the other.
To solve this, we often then turn around and take the square root of the variance, to get rid of the effect of the squaring. So in our example above, our 104 variance becomes a standard deviation of 10.2, which makes sense, given that all of our data are 10 points from the average.
Both the variance and standard deviation have some important properties that become important later on, so it is worth understanding what they are about. But for now, congratulations! You know the basics of descriptive statistics. Tomorrow: Probability and polling!

Newsom Defies Voters, Juries and Lawmakers To Spare Murderers While Defending Abortion
Curtis Hill • RealClearPolitics
The Algorithmic Tilt
Frank Filingeri • RealClearPolitics
A RealClear Thanksgiving: Investing in a Better Future
David DesRosiers • RealClearPolitics
Trump’s Newsom Problem: Antagonist-in-Chief
Carolina Lumetta • RealClearPolitics
America’s Free Spirit
John Maxwell Hamilton • RealClearPolitics
The GOP Majority Should Go Out in Glory
Daniel McCarthy • RealClearPolitics
RCP Today
Top stories on RealClearPolitics
The Takeaway
Polling intelligence and analysis delivered to your inbox
World News
Featuring the latest world news
Policy
Featuring the latest policy news
Support Our Mission
As part of RealClearPolitics, authors aim to provide balanced, non-partisan analysis by presenting top reporting and commentary from all sides of the political spectrum.
Trusted by policymakers and citizens alike since 2000