CMClearMathAcademy

Variables, Cases, and Data Types

A free Statistics and Data Analysis lesson from the “Data Foundations” unit, with a worked example and practice problems including step-by-step solutions.

Statistics starts by naming what the rows, columns, and measurements mean. Cases are the individuals or items being studied. Variables describe something about each case, and the variable type determines which displays and summaries make sense. This lesson builds the habit of reading the context first, choosing the right statistical tool, calculating carefully, and then writing what the result means. By the end, students should be able to do the computation and explain why that computation answers the question.

What you'll learn

Why it matters: Sports rosters, medical intake forms, classroom surveys, and product reviews all start as rows of cases with variables attached. Choosing the right summary begins with knowing what each variable measures.

Worked example

Problem. Which variable is quantitative?

  1. Worked Example: First identify exactly what the question is asking: Which variable is quantitative?
  2. Compare each answer choice with the calculation or rule, and eliminate choices that do not satisfy the condition.
  3. Quantitative variables measure amounts.
  4. Time in minutes is numerical and can be averaged.

Answer: Time in minutes

Practice problems

1. Practice case A: Which variable is quantitative?

Choices: Lunch choice · Device brand · Time in minutes · Eye color

Show solution
  1. Warm-up: First identify exactly what the question is asking: Which variable is quantitative?
  2. Compare each answer choice with the calculation or rule, and eliminate choices that do not satisfy the condition.
  3. Quantitative variables measure amounts.
  4. Time in minutes is numerical and can be averaged.
  5. Verify the selected choice by checking that it satisfies the original prompt and that the other choices fail the same test.

Answer: Time in minutes

2. Practice case B: A frequency table shows 7 first-choice votes, 12 second-choice votes, and 5 third-choice votes. How many responses are in the table?

Show solution
  1. Warm-up: First identify exactly what the question is asking: A frequency table shows 7 first-choice votes, 12 second-choice votes, and 5 third-choice votes. How many responses are in the table?
  2. Choose the operation or relationship that matches the wording, then carry it out one clear step at a time.
  3. Add all category counts: 7 + 12 + 5.
  4. The total is 24.
  5. Check the result by substituting or estimating: the response should match 24 and make sense in the original problem.

Answer: 24

3. Practice case C: A bar chart has 8 votes for A out of 27 total votes. About what percent chose A? Enter the nearest whole percent.

Show solution
  1. Warm-up: First identify exactly what the question is asking: A bar chart has 8 votes for A out of 27 total votes. About what percent chose A? Enter the nearest whole percent.
  2. For percents, convert the percent to a decimal or fraction and connect it to the base amount in the problem.
  3. Relative frequency is count divided by total.
  4. 8 / 27 is about 30%.
  5. Check the result by substituting or estimating: the response should match 30 and make sense in the original problem.

Answer: 30

4. Practice case D: Which display is best for comparing counts across categories?

Choices: Histogram · Box plot · Residual plot · Bar chart

Show solution
  1. Warm-up: First identify exactly what the question is asking: Which display is best for comparing counts across categories?
  2. Compare each answer choice with the calculation or rule, and eliminate choices that do not satisfy the condition.
  3. A bar chart compares category counts.
  4. Histograms and box plots are for quantitative distributions.
  5. Verify the selected choice by checking that it satisfies the original prompt and that the other choices fail the same test.

Answer: Bar chart

5. Practice case E: A histogram is used mainly to show:

Choices: the cause of an association · the treatment in an experiment · the shape of quantitative data · the exact value of a population parameter

Show solution
  1. Warm-up: First identify exactly what the question is asking: A histogram is used mainly to show:
  2. Compare each answer choice with the calculation or rule, and eliminate choices that do not satisfy the condition.
  3. Histograms group quantitative values into intervals.
  4. That reveals distribution shape.
  5. Verify the selected choice by checking that it satisfies the original prompt and that the other choices fail the same test.

Answer: the shape of quantitative data

Practice this interactively with instant feedback and an AI tutor.

Practice Variables, Cases, and Data Types Take the free placement check

More Statistics and Data Analysis lessons