How few unique values variable can be classified as discrete

How can few unique values in variable can be used to classify that the variable is discrete
Refer below:

First we need to understand the definition of discrete and continuous variable.
The definition of discrete variable is
Discrete variables are numeric variables that have a countable number of values between any two values. A discrete variable is always numeric. For example, the number of customer complaints or the number of flaws or defects.

While the definition of continuous variable is
Continuous variables are numeric variables that have an infinite number of values between any two values. A continuous variable can be numeric or date/time. For example, the length of a part or the date and time a payment is received.

So according to above definition if we have a numerical variable which has only take countable number of unique values then we could put it as discrete value. (if the number of unique value for a numerical variable is very less like around less than 20 or 30 then we can consider that the variable is taking only countable number of values and not an infinite values)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.