In statistics, variables are central to any analysis and they need to be understood well by the researcher. Even though the concept looks deceptively simple, many studies and experienced researchers can go wrong by using the wrong variables.

## This article is a part of the guide:

## Browse Full Outline

Like any variable in mathematics, variables can vary, unlike mathematical constants like pi or e. In statistics, variables contain a value or description of what is being studied in the sample or population.

For example, if a researcher aims to find the average height of a tribe in Columbia, the variable would simply be the height of the person in the sample. This is a simple measure for a simple statistical study. However, most statistical analyses are not as straightforward.

In many cases, statistical variables do not contain numerical values but rather something descriptive, such as the color of fins of a fish or the kind of species in a given natural habitat.

## Qualitative to Quantitative Conversion

In many studies, the qualitative aspects of study are converted into numerical data for statistical analysis. In this case, the final variable used in the statistical analysis is a number instead of an attribute. This is central to good design of experiments.

For example, a research study might aim to find out how happy the sample group of students is before and after eating a bar of chocolate. In this case, it is very difficult to describe happiness, which is a very subjective and qualitative attribute. Converting this into a numerical scale of say 1-10 is what will give the study some credibility and help the researchers draw the right conclusions and inferences.

## Quantitative Variables: Discrete and Continuous

Quantitative variables in statistics can be of different types, but the most commonly used classification is that they can either be discrete or continuous. These types of variables have some inherent differences that the researcher needs to be aware of.

For example, the test scores of a sample of students is clearly a discrete type of data that will be represented by discrete variables.

On the other hand, the signal noise produced in a study involving communicating devices is continuous in nature because the noise can take any value. This would be represented by a continuous variable.

## Discrete to Continuous Conversion

These different types of variables require different kinds of analysis. For example, a number of continuous variables can be described using normal distribution. In fact, many discrete variables can also be represented in this manner when the sample space is so large that it looks like a continuous variable.

For example, the results of a coin toss involving 5 tosses is very discrete but if the number of flips is increased to 5000, the data looks smooth and continuous and the probability of obtaining say at least 2300 heads can be computed with a very good level of accuracy using continuous variables (coin tosses follow a normal distribution).

Siddharth Kalla (Apr 23, 2011). Variables and Statistics. Retrieved Sep 20, 2020 from Explorable.com: https://explorable.com/variables-and-statistics

## You Are Allowed To Copy The Text

The text in this article is licensed under the Creative Commons-License Attribution 4.0 International (CC BY 4.0).

This means you're free to copy, share and adapt any parts (or all) of the text in the article, as long as you give ** appropriate credit** and

**to this page.**

*provide a link/reference*That is it. You don't need our permission to copy the article; just include a link/reference back to this page. You can use it freely (with some kind of link), and we're also okay with people reprinting in publications like books, blogs, newsletters, course-material, papers, wikipedia and presentations (with clear attribution).