📊 What Are Variables in Statistics?

In statistics, variables are characteristics, quantities, or properties that can be measured, counted, or recorded. A variable is called “variable” because its value can change from one observation to another.

Simple Explanation:
A variable is anything that can take on different values.

Examples of variables:

  • Age of a person
  • Height of a student
  • Weight of an animal
  • Length of a table
  • Height of a building

Each value we record represents a measurement of a variable, and those values may differ depending on the person, object, or situation.

🐶 Example: Tracking Puppy Growth

Lucas has recently welcomed five new puppies into his family. To monitor their health, he begins recording their weight.

  • Chiara weighs 4.5 pounds
  • Simba weighs 5.0 pounds
  • Rocky weighs 4.8 pounds
  • Nala weighs 4.6 pounds
  • Bruno weighs 5.0 pounds
In this example, weight is the variable because its value changes for each puppy.

If Lucas wants to monitor their growth more carefully, he can measure additional variables such as:

  • Height
  • Body length
  • Tail length
  • Daily food intake

By collecting more variables, Lucas creates a larger dataset, meaning he has more information to better understand the puppies’ development.

🔢 Types of Variables

Variables are generally divided into two main categories:

1️⃣ Quantitative Variables (Numerical Variables)

Quantitative variables are variables that are expressed using numbers. These variables represent quantities that can be measured or counted.

Examples:

  • Weight (4.5 pounds, 60 kg)
  • Height (150 cm, 6 feet)
  • Age (12 years, 35 years)
  • Distance (5 km, 100 meters)
  • Number of students in a class
These variables answer questions like “How many?” or “How much?”

In Lucas’s puppy example, weight, height, and length are all quantitative variables because they are measured in numbers.

📝 Qualitative Variables (Categorical Variables)

Qualitative variables describe qualities or characteristics that cannot be measured with numbers. Instead, they are expressed using words or labels.

Examples for people:

  • Gender
  • Ethnicity
  • Profession
  • Nationality
  • Eye color

Examples for Lucas’s puppies:

  • Coat color (brown, black, white)
  • Eye color (blue, green, brown)
  • Breed type
  • Temperament (playful, calm, energetic)
Qualitative variables describe “What type?” rather than “How many?”.

If Lucas replaces weight measurements with coat color descriptions, he changes from quantitative data to qualitative data.

📚 Key Differences Between Variable Types

Quantitative Variables Qualitative Variables
Expressed using numbers Expressed using words or labels
Measure quantities Describe qualities or categories
Examples: height, age, weight Examples: gender, color, profession
Arithmetic operations are possible Arithmetic operations are not meaningful

✅ Why Variables Matter in Statistics

Variables are essential because they help us:

  • Collect meaningful information
  • Compare differences between groups
  • Identify patterns and trends
  • Perform calculations and analysis
  • Make data-driven decisions
The more relevant variables we collect, the better we can understand a situation or problem.