What is a variable? Distinguish between a discrete and a continuous variable.
n statistics the term variable is used, only if the changing characteristics can be numerically measured. The heights and weights of individuals are variables, as they can be measured in numerical terms. Prices of commodities vary time and space, and they can be numerically measured. So the price is variable.
Continuous Variable : It can take all values in a given range. For example, heights and weights of individuals, prices of commodities, income of individuals may be treated as continuous variables.
Discrete VariablesIf the variables can take only some particular value like whole numbers, it is called a discrete variable. For example, number of students in different classes or different schools or the size of the households.