Methods of Categorizing Variables in Statistics
The Importance of Categorizing Variables
- Categorizing variables is foundational to the study of statistics because it determines the mathematical operations and analytical techniques that can be applied to data.
- Researchers cannot use every statistical tool with every kind of variable; each method is limited to specific categories of data.
- Example: Measuring the favorite color of a sample of people allows for different statistical possibilities compared to measuring the height of a sample of people.
- There are two primary ways to categorize variables: a simple binary classification (Discrete vs. Continuous) and a more nuanced classification (The Four Scales of Measurement).
Discrete vs. Continuous Variables
Discrete Variables * Definition: A discrete variable consists of a limited number of categories. Significantly, no intermediate value is possible between any two adjacent categories. * The "Jump" Characteristic: Discrete variables move from one score to the next in sudden jumps rather than gradual transitions. * Example: Number of Siblings: You can have or siblings, but it is impossible to have or siblings. You remain at siblings until the exact moment a third is born. * Example: College Units: A student might have completed units and then jump to or units at the end of a semester. A counselor would find a value like units impossible. * Example: Recipe Ingredients (Counted): A recipe calling for eggs is discrete. You add or eggs, not eggs. * Identification Tip: Discrete variables are typically things you count (e.g., "number of…").
Continuous Variables * Definition: Continuous variables have an infinite number of categories. Between any two categories, there is an infinite number of possible intermediate values. * The "Flow" Characteristic: Continuous variables do not jump; they pass through every decimal place (e.g., , , , ) as they increase or decrease. * Example: Sugar in a Recipe: Unlike eggs, sugar is measured. A recipe might call for or cups, but one could technically measure out cups with a precise enough tool. * Example: Height and Weight: These are naturally continuous. To grow from inches to inches, a person must pass through every trillionth of an inch in between. * Identification Tip: Continuous variables are typically things you measure rather than count. * Philosophical Connection: The concept of passing through an infinite number of subdivisions is related to Zeno's Paradox (attributed to the ancient Greek philosopher Zeno or Xeno).
Gray Areas and Nuance (The Case of Age vs. Time) * Time: Time is fundamentally continuous. It passes through infinite fractions of a second (e.g., seconds). * Age: While age measures the continuous passage of time, it is culturally treated as a discrete variable. People state they are years old until the exact day or minute they become . We generally do not use values like years old in standard conversation.
The Four Scales of Measurement (NOIR)
The four scales—Nominal, Ordinal, Interval, and Ratio—provide a gradation of detail. They follow the mnemonic NOIR. This hierarchy is cumulative: each higher scale possesses all the properties of the levels below it plus one unique characteristic.
Nominal Scale * Definition: Sets of categories that serve as names only, with no particular logical order or structure. * Etymology: "Nom" means name. * Example: Religion: In a survey with checkboxes for religion (e.g., Protestant, Catholic, Buddhist, Muslim, None), there is no "correct" mathematical order to list them. * Example: Academic Majors: Psychology, Sociology, and Nursing are just names given to different sets of classes. * Other Examples: Gender, ethnicity, and nationality.
Ordinal Scale * Definition: Sets of categories that possess a built-in, logical order. * Cumulative Property: Nominal properties (names) + Order. * Example: Military Ranks: Ranks like Private, Colonel, and General have a clear hierarchy that must be respected. * Example: Year in School: Freshman, Sophomore, Junior, and Senior follow a fixed sequence. * Example: Sizes: Small, Medium, Large. * Example: Olympic Medals: Gold (), Silver (), and Bronze (). * Key Limitation: The distance (interval) between categories is not necessarily equal. In a race, the time difference between Gold and Silver might be seconds, while the difference between Silver and Bronze might be only seconds.
Interval Scale * Definition: Ordered categories where the distance (interval) between any two adjacent categories is consistent across the entire scale. * Cumulative Property: Ordinal properties (order) + Consistent Intervals. * Example: Temperature (Fahrenheit and Celsius): The difference between and represents the same amount of heat change as the difference between and . A degree is always a degree, regardless of the starting point. * Example: Money (as a concept of interval): On a scale of earnings, the interval of () is the same whether you are moving from to or from to .
Ratio Scale * Definition: An interval scale with a meaningful, absolute zero point, representing the complete absence of the variable. * Cumulative Property: Interval properties (consistent intervals) + Absolute Zero. * Negative Values: A ratio scale cannot have negative numbers because you cannot have less than "nothing." * Example: Amount of Sugar: Zero cups of sugar means no sugar exists in the cup. You cannot have negative cups. * Example: Income from a Single Job: You can earn if you did not work, but you cannot earn negative money from that specific job. * Example: Temperature in Kelvins: Unlike Fahrenheit or Celsius (where zero is just another number and negatives are possible), is absolute zero. It represents the point where all molecular motion ceases (average kinetic energy is ). This corresponds to approximately .