Unit 1.2 – The Language of Variation: Variables

What Is a Variable? In statistics, a variable is any characteristic or attribute that can vary from one individual to another.

🌟 Understanding Variables

  • Variable: A property that takes on different values (e.g., age, hair color, income).
  • Data: Particular values the variable takes for individuals.
  • Each column in a data table is a variable; each row is an individual's measurements.

🔎 Types of Variables

  • Quantitative Variable: Takes numerical values for which arithmetic operations make sense (e.g., height, weight).
  • Categorical Variable: Places an individual into a group or category (e.g., gender, eye color).
  • Discrete Variable: Quantitative variable with a countable number of values (e.g., number of books, goals scored).
  • Continuous Variable: Quantitative variable with values in any interval (e.g., weight, temperature).
Summary Table: Types of Variables
Type Description Examples
Quantitative Numerical & arithmetic works Height, test scores, temperature
Categorical Non-numeric; groups or labels Eye color, genre, brand
Discrete Countable, no in-betweens Number of pets, tickets sold
Continuous Any value in an interval Weight, time, distance

🧬 Why Variation Matters

  • Variation is the rule, not the exception, in data.
  • Understanding variation helps identify real patterns versus random noise.
  • Without variation, statistics is unnecessary (everyone is the same!).
Sources of Variation
  • Differing genetics, environment, or backgrounds
  • Measurement errors and rounding
  • Chance and randomness

📊 Describing Variable Distributions

  • For **quantitative variables**: look at mean, median, standard deviation, range, outliers.
  • For **categorical variables**: describe by proportions, percentages, and bar/pie charts.
Common Quantitative Formulas
Mean: \( \bar{x} = \frac{1}{n} \sum_{i=1}^{n} x_i \)
Standard Deviation: \( s = \sqrt{\frac{1}{n-1} \sum_{i=1}^{n}(x_i - \bar{x})^2} \)
Range: Largest value \(-\) Smallest value
Proportion: \( \hat{p} = \frac{\text{count of successes}}{n} \)

💡 Study Tips & Tricks

  • Clearly define each variable (what, who, units).
  • Classify variables before analyzing.
  • Use graphs: dotplots for discrete, histograms for continuous, bar charts for categorical.
  • Always label axes and include units on graphs/tables.
  • Remember only **quantitative variables** use mean/SD, while **categorical** use proportions/pie/bar charts.
  • For small sample size, check if data actually varies—ask "why is there variation?"

❌ Common Mistakes

  • Calling a variable "quantitative" when it's actually an ordered category (e.g., rating scales)
  • Using mean with categorical data (doesn't make sense!)
  • Forgetting to report units or clearly define the variable
  • Mixing up discrete and continuous (e.g. shoe size is discrete, but foot length is continuous)
  • Ignoring variation in the data or reporting only the mean
Summary:
Unit 1.2 covers what variables are, the different types (quantitative, categorical, discrete, continuous), why variation matters, and how to describe and summarize variable distributions. **Correctly naming and classifying variables** is fundamental in AP Statistics!