The height of an office building is considered as a continuous variable.

A set of data is said to be continuous if the values / observations belonging to it may take on any value within a finite or infinite interval. You can count, order and measure continuous data.

For example height, weight, temperature, the amount of sugar in an orange, the time required to run a mile.

Some examples will clarify the difference between discrete and continuous variables.

## Suppose the fire department mandates that all fire fighters must weigh between 150 and 250 pounds. The weight of a fire fighter would be an example of a continuous variable; since a fire fighter's weight could take on any value between 150 and 250 pounds.

## Suppose we flip a coin and count the number of heads. The number of heads could be any integer value between 0 and plus infinity. However, it could not be any number between 0 and plus infinity. We could not, for example, get 2.5 heads. Therefore, the number of heads must be a discrete variable.

Learn how to tell the difference between discrete vs continuous variables in easy steps shared by *Statisticshowto.com*.