✦ScienexySCIENCE KNOWLEDGE LIBRARY
reference · SCI-MAT-010-023

Variables and Their Types

A variable is a characteristic that can take different values across individuals, objects, events, or observations. Variables are classified according to the nature of their values and measurement scales.

Explanation

Variables are the characteristics measured or recorded in a statistical investigation. A variable may describe a category, such as blood group or educational level, or a numerical quantity, such as age or temperature. Qualitative variables represent categories, while quantitative variables represent numerical amounts. Quantitative variables may be discrete, when their possible values are countable, or continuous, when they can take values across an interval. Measurement scales are also important: nominal variables classify without order, ordinal variables have an order, interval variables have meaningful differences but no true zero, and ratio variables have meaningful differences and a true zero. Correct classification helps determine suitable summaries, graphs, and statistical methods.

Variables

  • Qualitative variable: records categories or qualities.

  • Quantitative variable: records numerical quantities.

  • Discrete variable: takes countable distinct values.

  • Continuous variable: can take values across a continuous range.

  • Nominal scale: categories without a natural order.

  • Ordinal scale: categories with a meaningful order.

  • Interval scale: numerical scale with equal intervals and no true zero.

  • Ratio scale: numerical scale with equal intervals and a true zero.

Example or application

In a student survey, blood group is qualitative and nominal, satisfaction level is qualitative and ordinal, examination score is quantitative and commonly treated as numerical, and height is quantitative and continuous.

Definition

A variable is a characteristic of an individual, object, event, or unit that can take different values or categories across observations.

Purpose

To explain how statistical variables are defined and classified so that researchers can select appropriate measurement, presentation, and analysis methods.

Importance

Variable classification determines which mathematical operations and statistical procedures are meaningful. Incorrect classification can produce misleading summaries and unsuitable analyses.

Learning Objectives

  • Define a statistical variable.

  • Distinguish qualitative and quantitative variables.

  • Differentiate discrete and continuous variables.

  • Explain nominal, ordinal, interval, and ratio scales.

  • Classify variables using practical examples.

Key Concepts

  • Variable

  • Qualitative data

  • Quantitative data

  • Discrete variable

  • Continuous variable

  • Nominal scale

  • Ordinal scale

  • Interval scale

  • Ratio scale

Working Principle

Researchers identify what characteristics vary across study units, define how each characteristic will be measured, and classify the resulting variables. This classification guides data recording, summaries, visualizations, and statistical analysis.

Process

  • Identify the characteristics relevant to the research question.

  • Define each variable precisely.

  • Determine whether its values are categorical or numerical.

  • For numerical variables, determine whether they are discrete or continuous.

  • Identify the appropriate measurement scale.

  • Choose summaries and analytical methods that suit the variable type.

Applications

  • Survey design

  • Scientific measurement

  • Medical data analysis

  • Educational assessment

  • Business analytics

  • Machine learning

  • Experimental research

Worked Example

Classify four variables: number of siblings, body temperature, blood group, and satisfaction level. Number of siblings is quantitative discrete. Body temperature is quantitative continuous and commonly measured on an interval scale in Celsius. Blood group is qualitative nominal. Satisfaction level such as low, medium, and high is qualitative ordinal.

Common Misconceptions

  • Every variable containing numbers is quantitative.

  • A discrete variable must always be small.

  • Ordinal categories have equal numerical distances.

  • A temperature of 0 °C means that no temperature exists.

  • All quantitative variables are continuous.

Practice Questions

  • What is a variable in statistics?

  • Classify age, blood group, and number of books as variable types.

  • What is the difference between discrete and continuous variables?

  • Explain the four measurement scales.

  • Why is the distinction between interval and ratio scales important?

Key Takeaway

Variables describe what is measured in a study. Correctly identifying their data types and measurement scales is essential for meaningful statistical analysis.

Prerequisites

  • Introduction to Statistics

  • Statistical Questions and Investigations

  • Basic understanding of measurement

Reference

  • Alan Agresti and Barbara Finlay, Statistical Methods for the Social Sciences.

  • OpenStax, Introductory Statistics.

Related Topics

  • Statistical Notation and Terminology

  • Statistical Studies and Research Design

  • Populations and Samples

  • Data, Information and Evidence

Sources and verification

Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.

  • Source verification pending; check an authoritative textbook, university, standards body, or peer-reviewed source.

Suggest a correction or source · More in Statistics