Topic summary

Discrete variable

Discrete variable

Extracted from the Wikipedia article Continuous or discrete variable.

Discrete variable

In contrast, a variable is a discrete variable if and only if there exists a one-to-one correspondence between this variable and a subset of , the set of natural numbers. In other words, a discrete variable over a particular interval of real values is one for which, for any value in the range that the variable is permitted to take on, there is a positive minimum distance to the nearest other permissible value. The number of permitted values is either finite or countably infinite. Common examples are variables that must be integers, non-negative integers, positive integers, or only the integers 0 and 1.