What Statistics Is
Statistics is not a branch of math that exists to punish you. It is a set of honest habits for one stubborn fact about the world: things vary. Two people on the same diet lose different amounts of weight. Two machines that are the same make slightly different parts. Two polls of the same election disagree by three points. Statistics is the skill of describing that variation clearly. It is also the skill of deciding what a small pile of data does, and does not, let you conclude about the much larger world it came from. This chapter builds the words that every later chapter leans on. It does so with math no harder than splitting a restaurant bill.
By the end of this chapter you can
- Explain what statistics is and why variation makes it needed.
- Tell descriptive statistics apart from inferential statistics, and say which one a given claim uses.
- Define population, sample, parameter and statistic. Use the right symbols (μ, σ, N versus x̄, s, n).
- Explain why we sample. Tell sampling error apart from sampling bias.
- Sort a variable as qualitative or quantitative, and sort quantitative variables as discrete or continuous.
- Place a variable at its level of measurement: nominal, ordinal, interval or ratio. Say which sums that level allows.
- Work out and explain a mean, a median and a range. Explain when the mean misleads.
- Read a claim built on statistics with a critical eye. Name the most common ways numbers are used to mislead.
Section 1Why statistics: turning data into decisions

Variation is the reason this subject exists
If every patient responded to a drug in the same way, you would need one patient to test it. If every light bulb failed at exactly 1,200 hours, you would need one bulb to write the warranty. Nothing behaves that way. Measurements of the same thing differ. People differ from one another. Repeating a study gives slightly different answers each time. Statistics is the science of collecting, organizing, summing up and drawing conclusions from data when that variation is present.
The practical payoff is decisions. Think of a hospital deciding whether to change a protocol. Think of a company deciding which of two web pages to keep, or a city deciding where to put a bus route. All of them face the same problem. They have some data. The data are noisy. The data cover only part of the situation. And a choice still has to be made. Statistics is how you make that choice one you can defend, not just one you feel sure about.
The field splits cleanly in two. Knowing which half you are in is most of the battle. Descriptive statistics sums up the data you actually have. Inferential statistics uses those data to make a claim about a larger group you did not measure. It also attaches an honest statement of uncertainty to that claim.
Descriptive statistics: making a pile of numbers speak
Say you record your trip to work, in minutes, on nine workdays:
22, 25, 19, 31, 24, 27, 21, 88, 23
Nine numbers is already too many to hold in your head. Descriptive statistics squeezes them down. Start with the mean (the arithmetic average). It is written x̄ and read “x-bar”:
x̄ = Σx ÷ n
The symbol Σ (capital sigma) just says “add them all up.” And n is how many values you have. Adding: 22 + 25 + 19 + 31 + 24 + 27 + 21 + 88 + 23 = 280, and n = 9, so
x̄ = 280 ÷ 9 = 31.1 minutes
Now the median, the middle value once the data are sorted. Sorted, the nine values are 19, 21, 22, 23, 24, 25, 27, 31, 88. With n = 9, the middle position is the 5th. So the median is 24 minutes. And the range, the roughest measure of spread, is largest minus smallest: 88 − 19 = 69 minutes.
Look at what those three numbers show. The mean says 31.1 minutes. The median says 24. They disagree because of one day, the 88, when something went badly wrong. Delete that one day, and the other eight add up to 192. That gives a mean of 192 ÷ 8 = 24.0 minutes, exactly the same as the median. One unusual value dragged the average up by seven minutes. If you planned 31 minutes for your trip, you would be early almost every single day.
That is the first real lesson of the subject. A summary is a choice, and different summaries answer different questions. The median answers “what is a typical day?” The mean answers “what happens on average over many days?” That is the right question if you are adding up the hours lost to the trip over a year.
Inferential statistics: from the part to the whole
Descriptive work stops at the data in front of you. The moment you say “and so the population is like this,” you have crossed into inference. Say 640 of 1,000 voters surveyed favor a measure. The descriptive fact is that 64% of those 1,000 favored it. The inferential claim is “about 64% of all voters favor it, give or take three points.” That is a leap. Inference is the machinery that makes the leap safely. It also measures how far off target the leap might land.
Two tools do most of that work. Both are often described wrongly, so meet them correctly now, even though the details come later. A confidence interval is a range built from your sample by a method with a known success rate over the long run. “95% confidence” describes the method. It means that if the study were repeated over and over, about 95% of the intervals made that way would contain the true value. It does not mean there is a 95% chance that the one interval in front of you contains it. A p-value is the chance of getting data at least as extreme as yours if a stated “nothing is going on” hypothesis were true. It is firmly not the chance that the hypothesis is true.
Both tools come with conditions, and the conditions are the part most often skipped. Their promised performance, the 95% and the p-value, holds only under three conditions. The sample must truly be drawn at random from the population being described. The observations must not depend on one another (they must be independent). And the model behind the math must fit the data reasonably well. Feed either method a sample that picked itself, and it will still give back a neat interval and a crisp p-value. Those numbers just will not mean what they claim to. Assumptions are not fine print added on after a result. They are the wall holding up the result. Every later chapter will state them before it states a conclusion.
| Descriptive statistics | Inferential statistics | |
|---|---|---|
| Question | What do these data look like? | What does the larger group look like? |
| Scope of claim | Only the cases measured | Beyond the cases measured |
| Typical tools | Mean, median, range, standard deviation, tables, histograms, box plots | Confidence intervals, hypothesis tests, regression, margin of error |
| Uncertainty | None to report: the numbers are what they are | Must be reported: it is the whole point |
| Example | “The 30 students in this class averaged 78 on the exam.” | “Students taught this way score about 5 points higher, 95% CI 2 to 8.” |
- Statistics exists because measurements and people vary. Its job is turning noisy data into decisions you can defend.
- Descriptive statistics sums up the data you have. Inferential statistics reaches beyond them and reports the uncertainty.
- The mean (x̄ = Σx ÷ n) is pulled by extreme values. The median is not. Report both when they disagree.
- “95% confident” describes how the method behaves over the long run. It is not the chance that this one interval is right.
Section 2Population and sample

The whole group and the piece you can afford
A population is the whole collection of people, objects or measurements you actually want to know about. A sample is the part of that population you manage to observe. Notice that “population” does not have to mean people. It can be every weld on a bridge, every sale last quarter or every possible roll of a die. The question you are asking defines the population. If you want to know about licensed electricians in Ohio, that is your population. A study of the electricians who work for one Ohio contractor is a sample from it, and possibly a poor one.
Measuring every member of a population is a census. It is the ideal, and it is most often impossible. Populations may be too big, too costly to reach or too spread out. They may still be forming, since next year's customers do not exist yet. Or measuring may destroy them. You cannot crash test every car you plan to sell, or taste test every jar of sauce. A well chosen sample of 1,200 people can describe a nation of 300 million to within a few percentage points. It costs only a few days of phone calls. That efficiency is the whole reason sampling exists.
Parameter versus statistic
This difference carries the rest of the book, so learn it once and learn it well. A parameter is a number that describes a population. A statistic is a number that describes a sample. The parameter is what you want. The statistic is what you can get. Each has its own symbols. Mixing them up is the most common symbol error in a first course.
| Quantity | Population parameter | Sample statistic | Status |
|---|---|---|---|
| Size | N | n | Counts |
| Mean | μ (mu) | x̄ (x-bar) | μ is fixed and unknown; x̄ varies by sample |
| Standard deviation | σ (sigma) | s | σ is fixed and unknown; s varies |
| Proportion | p | p̂ (p-hat) | p is fixed and unknown; p̂ varies |
Here is a memory hook that really works. Population goes with Parameter and with Greek letters. Sample goes with Statistic and with ordinary Roman letters. Greek for the truth you cannot see, Roman for the estimate you can work out.
Worked example: one parameter, many statistics
Take a tiny population of five workers whose years on the job are 2, 4, 6, 8 and 10. This population is small enough to measure fully. So we can work out the parameter directly:
μ = (2 + 4 + 6 + 8 + 10) ÷ 5 = 30 ÷ 5 = 6 years
The population standard deviation uses σ = √[ Σ(x − μ)2 ÷ N ]. The gaps (deviations) from 6 are −4, −2, 0, 2, 4. Squaring gives 16, 4, 0, 4, 16, which add up to 40. So σ2 = 40 ÷ 5 = 8 and σ = √8 ≈ 2.83 years.
Now pretend we could only afford to look at three workers. Different samples of three give different answers:
| Sample of n = 3 | Sum | x̄ | Σ(x − x̄)2 | s2 = Σ(x − x̄)2 ÷ (n − 1) | s |
|---|---|---|---|---|---|
| 2, 4, 6 | 12 | 4.0 | 4 + 0 + 4 = 8 | 8 ÷ 2 = 4 | 2.00 |
| 2, 6, 10 | 18 | 6.0 | 16 + 0 + 16 = 32 | 32 ÷ 2 = 16 | 4.00 |
| 6, 8, 10 | 24 | 8.0 | 4 + 0 + 4 = 8 | 8 ÷ 2 = 4 | 2.00 |
The parameter μ never moved. It is 6, for good. The statistic x̄ came out 4.0, 6.0 and 8.0. That spread of answers is sampling error. It is the difference between a sample statistic and the population parameter that cannot be avoided. It comes only from looking at a part instead of the whole. Sampling error is not a mistake, and it cannot be wiped out. It can only be measured and shrunk. Larger samples make it smaller.
Notice also the n − 1 in the sample variance. Gaps are measured from x̄, which is itself pulled toward the sample's own values. So the squared gaps come out a little too small on average. Dividing by n − 1 instead of n fixes that tilt. Then s2 neither overestimates nor underestimates σ2 in a steady way. Population variance divides by N. Sample variance divides by n − 1.
Sampling bias is a whole different animal. Bias is a steady tilt in how the sample was chosen. It pushes the statistic away from the parameter in the same direction each time. Examples are surveying only people who answer landlines, only customers who bothered to leave a review, or only patients well enough to come back for follow-up. The defense against sampling error is a bigger sample. The defense against bias is a properly random one, in which every member of the population has a known chance of being picked that is not zero.
- A population is everyone or everything you want to describe. A sample is the part you observe. A census measures the whole population.
- Parameters (μ, σ, p, N) describe populations. They are fixed but unknown. Statistics (x̄, s, p̂, n) describe samples. They change from sample to sample.
- We sample because a census costs too much, takes too long, cannot reach everyone or destroys what it measures.
- Sampling error is the natural wobble from sample to sample. It shrinks with a larger n. Sampling bias is a steady tilt from poor selection. It shrinks only with better design.
Section 3Types of data

Qualitative versus quantitative
A variable is any trait that can differ from one person or thing to the next. The recorded values are the data. The first fork in the road is whether the variable names a quality or measures an amount.
Qualitative variables (also called categorical variables) put each person or thing into a group (a category). Examples are blood type, brand of phone, county where you live and whether a part passed inspection. The values are labels. You can count how many fall in each group and work out percentages. But the labels themselves cannot be added, averaged or subtracted.
Quantitative variables (also called numerical variables) record an amount or a count. Examples are height, salary, number of brothers and sisters, and reaction time in milliseconds. Their values are real numbers, and math on them means something. Here is a useful test. Ask "how much" or "how many." If the answer is a number you would sensibly add up, the variable is quantitative.
Discrete versus continuous
Quantitative variables split again. A discrete variable can take only separate values, most often from counting. You can list the choices, and there are gaps between them. The number of children in a household is 0, 1, 2, 3, …. No household has 2.4 children. A continuous variable can take any value in a range, most often from measuring. Between any two possible values there is always another. A person's weight might be 68 kg, 68.4 kg or 68.4173 kg. The only limit is how precise the scale is.
The rule of thumb: things you count are discrete, and things you measure are continuous. Money is the classic gray case. Strictly it is discrete, because it comes in cents. But it has so many closely spaced values that we treat it as continuous in practice.
| Variable | Qualitative or quantitative? | Discrete or continuous? | Why |
|---|---|---|---|
| Blood type (A, B, AB, O) | Qualitative | - | A label, not an amount |
| Eye color | Qualitative | - | A category |
| Number of siblings | Quantitative | Discrete | Counted; only whole numbers occur |
| Cars sold per day | Quantitative | Discrete | Counted; gaps between values |
| Body temperature | Quantitative | Continuous | Measured; any value in a range |
| Time to finish a race | Quantitative | Continuous | Measured; limited only by the clock |
| ZIP code | Qualitative | - | Digits used as a name for a place |
Numbers that are not quantities
Plenty of data look like numbers but are not amounts. ZIP codes, jersey numbers, patient ID numbers and phone numbers are made of digits. But the digits work as names. The average ZIP code of your customers is a meaningless number that a spreadsheet will happily work out for you. The same trap shows up when groups are coded for a computer. Entering 1 = single, 2 = married, 3 = divorced does not make marital status quantitative. A “mean marital status of 1.8” is nonsense. Always ask what the number stands for, not what it looks like.
Here is a worked point on the discrete side that trips people up. An average of a discrete variable need not be a possible value. Take five households with 1, 2, 0, 3 and 2 children. The sum is 1 + 2 + 0 + 3 + 2 = 8, and n = 5, so
x̄ = 8 ÷ 5 = 1.6 children per household
No household has 1.6 children, and that is fine. The mean sums up the group. It does not describe any one member. “The average family has 1.6 children” is a correct statement about families as a group. It is an absurd statement about any one family.
- Qualitative (categorical) data name groups. Quantitative (numerical) data measure amounts or counts.
- Quantitative data are discrete (counted, separate values) or continuous (measured, any value in a range).
- Digits are not always amounts. ZIP codes and coded groups are qualitative.
- The mean of a discrete variable can be a value no one has (1.6 children). A summary describes the group, not a member.
Section 4Levels of measurement

Four levels, each adding one property
Sorting data as qualitative or quantitative is a good first cut. But it is too rough to tell you which sums are fair to do. The levels of measurement refine it into four rungs. Each rung keeps everything the rung below has and adds exactly one new ability. So the ladder is easy to remember.
Nominal is the bottom rung: groups with no natural order. Examples are blood type, religion, marital status and department. You can count and compare how often each comes up, and that is all. The only measure of center you can use is the mode, the most common group.
Ordinal adds order. Groups can be ranked, but the distances between ranks are unknown or unequal. Examples are class rank, military rank, letter grades, survey answers from “strongly disagree” to “strongly agree,” and cancer stage I-IV. First, second and third place tell you who beat whom, but not by how much. The winner may have finished a tenth of a second ahead of second place. Second place may have been five minutes ahead of third. The mode and the median can be used. The mean is doubtful.
Interval adds equal, meaningful distances. The gap between 20 and 30 is the same size as the gap between 70 and 80. So adding and subtracting are fair. What interval scales lack is a true zero. Their zero is a chosen landmark, not the absence of the thing. Temperature in Celsius or Fahrenheit is the standard example. Calendar years and IQ scores are others. The mode, the median and the mean can all be used, but ratios cannot.
Ratio adds the true zero, where 0 really means “none of it.” Examples are height, weight, age, income, distance, reaction time and counts of anything. Because zero is real, ratios finally mean what they say. 40 kg is twice 20 kg. A 60 minute task takes three times as long as a 20 minute task. Every summary statistic is allowed.
| Level | Categories? | Ordered? | Equal intervals? | True zero? | Examples | Center you may use |
|---|---|---|---|---|---|---|
| Nominal | Yes | No | No | No | Blood type, ZIP code, eye color | Mode only |
| Ordinal | Yes | Yes | No | No | Letter grade, cancer stage, race placing | Mode, median |
| Interval | Yes | Yes | Yes | No | Celsius, Fahrenheit, calendar year, IQ | Mode, median, mean |
| Ratio | Yes | Yes | Yes | Yes | Height, weight, income, time elapsed | All, plus meaningful ratios |
The zero test, worked out in numbers
The line between interval and ratio is the one students really get wrong. One calculation settles it. Is 20°C twice as hot as 10°C? At first glance, 20 ÷ 10 = 2, so it looks that way. Test that claim. Write the same two temperatures on a different scale and work out the ratio again.
Change to Fahrenheit with °F = (9 ÷ 5) × °C + 32:
10°C → (9 ÷ 5)(10) + 32 = 18 + 32 = 50°F
20°C → (9 ÷ 5)(20) + 32 = 36 + 32 = 68°F
Ratio: 68 ÷ 50 = 1.36
Change to kelvin, which does have a true zero, with K = °C + 273.15:
10°C → 283.15 K
20°C → 293.15 K
Ratio: 293.15 ÷ 283.15 = 1.035
The same two physical states give ratios of 2, 1.36 and 1.035, depending on which scale you write them in. If "twice as much" changes when you change units, it is not really a ratio at all. The kelvin figure is the honest one. That is because 0 K is the real absence of heat energy, while 0°C is just the freezing point of water, a handy landmark someone chose. Differences, however, survive the change perfectly. 20°C − 10°C = 10 Celsius degrees, and 293.15 K − 283.15 K = 10 kelvins. That is exactly what “interval level” means. Differences can be trusted. Ratios cannot.
Why the level dictates the arithmetic
Think of four patients who rate their pain on a 0 to 10 scale as 2, 3, 3 and 8. The mean is (2 + 3 + 3 + 8) ÷ 4 = 16 ÷ 4 = 4.0. The median is the average of the two middle values, (3 + 3) ÷ 2 = 3.0. Which should you report? A pain rating people give themselves is ordinal. Nothing promises that the step from 2 to 3 hurts as much as the step from 7 to 8. And one patient's 8 is not another's 8. The mean of 4.0 quietly assumes equal spacing that the scale does not give. It has also been dragged up by the one 8. The median of 3.0 assumes only that the ratings can be ranked, which is true. So it is the safer summary.
In practice, researchers do sometimes average ordinal scales. Averaging Likert answers is nearly universal. It is often fair when there are many groups and they are spaced about evenly. But it is a modeling assumption, not a right given by math. It should be made on purpose. The general rule holds: statistics worked out at a higher level than your data support will give numbers that look exact and mean nothing.
- The four levels are nominal → ordinal → interval → ratio. Each adds one property: order, then equal gaps, then a true zero.
- Nominal allows only counts and the mode. Ordinal adds the median. Interval adds the mean. Ratio adds ratios that mean something.
- Interval scales lack a true zero. So 20°C is not twice as hot as 10°C. The same pair gives ratios of 2, 1.36 or 1.035, depending on the unit.
- Averaging ordinal data assumes equal spacing the scale does not promise. The median is the safer summary.
Section 5How statistics mislead

Correlation is not causation
Two variables are correlated when they move together. That fact alone allows four very different explanations, and the math cannot tell them apart. A may cause B. B may cause A. (Hospitals are full of sick people, but hospitals do not cause sickness.) A third factor, a confounding variable, may cause both. Or it may be coincidence, which is far more common than you would guess. Sift enough data series against enough other series, and you will find pairs that track each other beautifully and have nothing to do with each other.
The classic confounding example: ice cream sales and drownings rise and fall together across the year. Ice cream does not drown anyone. Hot weather drives both, each on its own. The way to break a confound is a randomized experiment. Here the researcher assigns the treatment by chance. Then all other factors, known and unknown, are balanced across groups on average. Data from just watching (observational data) can suggest causes. Randomization is what lets you claim one.
The standard repertoire of tricks
Most misleading statistics are not made up. They are true numbers shown in a way that leads a reasonable reader to a false conclusion. A short list covers most of what you will meet.
| The trick | What it looks like | The question that defeats it |
|---|---|---|
| Truncated axis | A bar chart whose y-axis starts at 94 instead of 0, turning a 2% gap into a cliff | Where does the axis start, and how big is the change really? |
| Cherry-picked window | “Crime is up 30%” measured from an unusually quiet year | Why that start date? What does the full series look like? |
| Relative risk alone | “Doubles your risk” with no baseline given | Doubles it from what to what, in absolute terms? |
| Missing denominator | “More accidents happen within 5 miles of home” | Out of how many trips? Is the rate actually higher? |
| Survivorship bias | “Our graduates earn six figures” measured only on those who replied | Who is missing from this data, and why? |
| Average hides the spread | “Average wait 12 minutes” when half wait 2 and half wait 40 | What is the median? What is the spread? Show me the distribution. |
| Selective outcome reporting | Twenty outcomes measured, the one “significant” result published | How many things were tested? Was this planned in advance? |
| Tiny or unstated sample | “80% of users preferred it” (from ten users) | What is n? Who were they? How were they chosen? |
| Precision theater | “Satisfaction rose to 73.62%” from a survey of 200 | Do the data support that many digits? Where is the margin of error? |
The relative risk trick deserves the math, because it is the one that changes real decisions. Say a condition affects 2 in 1,000 untreated people. A new drug cuts that to 1 in 1,000. Two headlines are possible, and both are true:
Relative risk reduction = (0.002 − 0.001) ÷ 0.002 = 0.001 ÷ 0.002 = 0.50 = 50%: “the drug halves your risk.”
Absolute risk reduction = 0.002 − 0.001 = 0.001 = 0.1 percentage points: one fewer case per thousand people treated.
The absolute figure gives you the number needed to treat: NNT = 1 ÷ 0.001 = 1,000. One thousand people must take the drug for one to benefit. “Cuts your risk in half” and “999 out of 1,000 people get no benefit” describe the very same study. Marketing prints the first. A fair report prints both. Whenever you see a percent change in a risk, find the starting point (the baseline) before you react.
Reading a claim critically
You do not need advanced methods to catch most bad statistics. You need a short list of questions, asked again and again.
- What exactly was measured, and on whom? Definitions do a huge amount of work. “Unemployment,” “homelessness” and “engagement” each have several fair definitions that give different numbers.
- Who was in the sample, and how were they chosen? Volunteers, subscribers and people who answered the phone are not random samples of anyone.
- What is n, and what is the margin of error? A result with no stated uncertainty is a result you cannot judge.
- Compared with what? A number with no comparison group is not evidence. “70% improved” means nothing if 70% improve without treatment.
- Is this an experiment or an observation? Only random assignment supports a claim about cause.
- Who is missing? Dropouts, people who did not respond and businesses that failed do not show up in the data. They are often the most telling cases.
- Who paid, and what result did they want? This does not rule a study out, but it tells you where to look hardest.
- Does the conclusion really follow? Statistical significance is not practical importance. A tiny, useless effect can be “significant” in a large enough study.
Two readings are worth nailing down for good, because they are misstated all the time, even in published work. A p-value of 0.03 means this. If there were truly no effect, data at least as extreme as ours would turn up about 3% of the time. It does not mean there is a 3% chance the effect is absent. It does not mean a 97% chance the finding is real, or that the effect is large. The mirror image error is just as common and just as harmful. A large p-value, say 0.40, does not show that there is no effect. Failing to find strong evidence against a hypothesis is not the same as showing it is true. A small or noisy study often misses real effects. “We did not reject it” means only that these data fit with it. Absence of evidence is not evidence of absence. And a 95% confidence interval of 2 to 8 points describes a method. Used again and again across many studies, the method catches the true value about 95% of the time. For the single interval printed in front of you, the true value is either inside it or it is not. The 95% belongs to the method, not to this one result.
- Correlation allows four explanations: cause, reverse cause, confounding or coincidence. Only a randomized experiment singles out cause.
- Common tricks: cut off axes, cherry picked starting points, relative risk without the absolute, missing denominators, survivorship bias, and averages that hide the spread.
- A 50% relative cut can mean a 0.1 percentage point absolute cut and an NNT of 1,000. Always ask for the baseline.
- A p-value is not the chance the hypothesis is true. A 95% confidence interval describes the method over the long run, not this one interval.
The chapter in one breath
- Statistics exists because things vary. It turns noisy, partial data into decisions you can defend.
- Descriptive statistics sums up the data in hand. Inferential statistics reaches out to a population and must report its uncertainty.
- The mean is pulled by extreme values and the median is not. Nine trips that averaged 31.1 minutes had a median of just 24.
- A population is what you want to know about. A sample is what you can afford. Parameters (μ, σ, p) are fixed and unknown. Statistics (x̄, s, p̂) vary from sample to sample.
- Sampling error is a wobble you cannot avoid, and it shrinks with larger samples. Sampling bias is a design flaw that a bigger sample does not touch. Extra data only pin down the wrong value more exactly.
- Data are qualitative (groups) or quantitative. Quantitative data are discrete (counted) or continuous (measured). Digits alone do not make an amount.
- The four levels of measurement are nominal, ordinal, interval and ratio. Each adds one property, and they decide which sums are fair. Without a true zero, “twice as much” means nothing.
- Most misleading statistics use true numbers framed badly. Ask what was measured, on whom, compared with what, out of how many, and who is missing.
ReferenceWords worth knowing
A quick reference for the terms in this chapter. Skim it now to see the shape of the words. Then come back whenever a word in a later chapter will not sit still.
- Bias (sampling bias)
- A steady tendency for a way of sampling to give statistics that miss the parameter in the same direction. Unlike sampling error, a larger sample does not reduce it.
- Categorical (qualitative) variable
- A variable whose values are labels that put each person or thing into a group, such as blood type or county. Counts and percentages mean something. Math on the labels does not.
- Census
- A study in which every member of the population is measured. It gives parameters directly instead of estimating them.
- Confidence interval
- A range of likely values for a parameter. It comes from a method with a stated success rate over the long run. “95% confidence” describes how often the method catches the truth across many repeats. It is not the chance that one particular interval does.
- Confounding variable
- An outside factor linked to both variables being studied. It can make the two seem linked (correlated) even when neither causes the other.
- Continuous variable
- A quantitative variable that can take any value within a range, limited only by how precisely it is measured: height, time, temperature.
- Correlation
- A tendency for two variables to move together. A correlation fits four different situations: one variable causing the other, the reverse, a confounding variable driving both, or coincidence. The number itself cannot tell them apart. Only a randomized experiment allows a claim about cause.
- Descriptive statistics
- Methods for organizing and summing up the data actually collected. They make no claim about anyone not measured.
- Discrete variable
- A quantitative variable whose possible values are separate, most often from counting: number of children, cars sold per day.
- Inferential statistics
- Methods for drawing conclusions about a population from a sample. They always come with a statement of uncertainty.
- Interval level
- A level of measurement with ordered groups and equal, meaningful distances, but no true zero. Differences mean something; ratios do not. Celsius temperature and calendar years are examples.
- Mean
- The arithmetic average: Σx ÷ n for a sample and Σx ÷ N for a population. It uses every value. That is why one extreme value can pull it far from most of the data.
- Median
- The middle value of a sorted data set. When the count is even, it is the average of the two middle values. How extreme the extreme values are does not affect it. So it is the more honest summary of a lopsided (skewed) distribution.
- Mode
- The value or group that comes up most often. It is the only measure of center you can use for nominal data.
- Nominal level
- The lowest level of measurement: groups with no order. Only counts, proportions and the mode mean something.
- Ordinal level
- A level of measurement whose groups can be ranked, but with unknown or unequal distances between ranks. The median fits. The mean needs an added assumption.
- Parameter
- A number that describes a population, such as μ or σ. Its value is fixed and, in practice, unknown.
- Population
- The whole collection of people, objects or measurements that a question is about.
- P-value
- The chance of seeing data at least as extreme as those found, worked out assuming a stated null hypothesis is true. It is not the chance that the hypothesis is true.
- Quantitative (numerical) variable
- A variable that records an amount or a count. Math on it means something.
- Random sample
- A sample picked by chance, in which every member of the population has a known chance of being picked that is not zero. It is the main defense against bias.
- Range
- The largest value minus the smallest. It is the simplest measure of spread, and the most fragile, since the two most extreme values decide it fully.
- Ratio level
- The highest level of measurement: ordered, equally spaced and with a true zero that means “none.” Ratios such as “twice as much” mean something. Weight, income and time passed are examples.
- Sample
- The part of a population that is actually observed and measured.
- Sampling error
- The natural difference between a sample statistic and the population parameter. It comes only from looking at a part instead of the whole. It shrinks as the sample size grows.
- Statistic
- A number that describes a sample, such as x̄ or s. It can be worked out from data, and it is different for every sample drawn.
- Variable
- Any trait that can differ from one person or thing to another. The recorded values of a variable are the data.