Types of Variables - Research Prospect

Types of Variables

Published by at August 14th, 2021 , Revised On November 5, 2021

A variable is any qualitative or quantitative characteristic that can change and have more than one value, such as age, height, weight, gender, etc.

Before conducting research, it’s essential to know what needs to be measured or analyzed and choose a suitable statistical test to present your study’s findings. 

In most cases, you can do it by identifying the key issues/variables related to your research’s main topic.

Example: If you want to test whether the hybridization of plants harms the health of people. You can use the key variables like agricultural techniques, type of soil, environmental factors, types of pesticides used, the process of hybridization, type of yield obtained after hybridization, type of yield without hybridization, etc.

Variables are broadly categorized into:

  • Independent variables
  • Dependent variable
  • Control variable

Independent Vs. Dependent Vs. Control Variable

Type of variable Definition Example
Independent Variable (Stimulus) It is the variable that influences other variables.
  • Age
  • Gender
Dependent variable (Response) The dependent variable is the outcome of the influence of the independent variable. You want to identify “How refined carbohydrates affect the health of human beings?”

Independent variable: refined carbohydrates

Dependent variable: the health of human beings

You can manipulate the consumption of refined carbs in your human participants and measure how those levels of consuming processed carbohydrates influence human health.

Control Variables
Control variables are variables that are not changed and kept constant throughout the experiment.
Physical activities, water consumption, natural environment of the participants.

The research includes finding ways:

  • To change the independent variables.
  • To prevent the controlled variables from changing.
  • To measure the dependent variables.

Note: The term dependent and independent is not applicable in correlational research as this is not a controlled experiment. A researcher doesn’t have control over the variables. The association and between two or more variables are measured. If one variable affects another one, then it’s called the predictor variable and outcome variable.

Example: Correlation between investment (predictor variable) and profit (outcome variable)

What data collection best suits your research?

  • Find out by hiring an expert from Research Prospect today!
  • Despite how challenging the subject may be, we are here to help you.

Types of Variables Based on the Types of Data

A data is referred to as the information and statistics gathered for analysis of a research topic. Data is broadly divided into two categories, such as:

Quantitative/Numerical data is associated with the aspects of measurement, quantity, and extent. 

Categorial data is associated with groupings.

A qualitative variable consists of qualitative data, and a quantitative variable consists of a quantitative variable.


Types of variable

Quantitative Variable

The quantitative variable is associated with measurement, quantity, and extent, like how many. It follows the statistical, mathematical, and computational techniques in numerical data such as percentages and statistics. The research is conducted on a large group of population.

Example: Find out the weight of students of the fifth standard studying in government schools.

The quantitative variable can be further categorized into continuous and discrete.

Type of variable Definition Example
Continuous Variable A continuous variable is a quantitative variable that can take a value between two specific values.
  • Income and age
  • Scale: Interval and ratio.
  • Number of fruits in a basket
  • Number of votes in an election
Discrete Variable A discrete variable is a quantitative variable whose attributes are separated from each other.  Literacy rate, gender, and nationality.

Scale: Nominal and ordinal.

Categorial Variable

The categorical variable includes measurements that vary in categories such as names but not in terms of rank or degree. It means one level of a categorical variable cannot be considered better or greater than another level. 

Example: Gender, brands, colors, zip codes

The categorical variable is further categorised into three types:


Type of variable Definition Example
Dichotomous (Binary) Variable This is the categorical variable with two possible results (Yes/No) Alcoholic (Yes/No)
Nominal Variable Nominal Variable can take the value that is not organized in terms of groups, degree, or rank.
  • Eye colour
  • Religion
  • Gender
  • Brand
Ordinal Variable Ordinal Variable can take the value that can be logically ordered or ranked.
  • Size of clothes (small, medium, large, extra, large)
  • level of seniority in college students (fresher, junior, senior)

Note: Sometimes, an ordinal variable also acts as a quantitative variable. Ordinal data has an order, but the intervals between scale points may be uneven.

Example: Numbers on a rating scale represent the reviews’ rank or range from below average to above average. However, it also represents a quantitative variable showing how many stars and how much rating is given.

Not sure which statistical tests to use for your data?

Let the experts at Research Prospect do the daunting work for you.

Using our approach, we illustrate how to collect data, sample sizes, validity, reliability, credibility, and ethics, so you won’t have to do it all by yourself!

Other Types of Variables

It’s important to understand the difference between dependent and independent variables and know whether they are quantitative or categorical to choose the appropriate statistical test.

There are many other types of variables to help you differentiate and understand them.

Type of variable Definition Example
Confounding variables The confounding variable is a hidden variable that produces an association between two unrelated variables because the hidden variable affects both of them. There is an association between water consumption and cold drink sales.

The confounding variable could be the hot weather and compels people to drink a lot of water and a cold drink to reduce heat and thirst caused due to the heat.

Latent Variable These are the variables that cannot be observed or measured directly. Self-confidence and motivation cannot be measured directly. Still, they can be interpreted through other variables such as habits, achievements, perception, and lifestyle.
Composite variables
A composite variable is a combination of multiple variables. It is used to measure multidimensional aspects that are difficult to observe.
Survey questionnaire in which respondents were asked to indicate the purpose of using computers. They could score multiple categories, such as:

  • Entertainment
  • Online education
  • Accounting
  • Database management, storage, and retrieval
  • Research
Moderator Variable The moderator variable affects the cause and effect relationship between the independent and dependent variables. As a result, the influence of the independent variable in the presence of the moderator variable.
  • Gender
  • Race
  • Class

Suppose you want to conduct a study, educational awareness of a specific area. Educational awareness will be your dependent variable. The area will be an independent variable if you feel that the student’s age/race may also affect the students’ association between area and educational awareness. Then age/race will be considered as the moderator variable. However, they might be more than one moderator variable, and you need to decide which one to use a moderator variable.

About Carmen Troy

Troy has been the leading content creator for Research Prospect since 2017. He loves to write about the different types of data collection and data analysis methods used in research. Troy has also been lucky enough to work as an editor for BBC.