Variable is just like a box where we can store the property of an object. The property of an object may be a value or a characteristic, variable takes more than one value. For example, “marks” of a student in an exam is a variable. Eye color of individuals is a variable which is measured on nominal scale. Height of individuals is also a variable which is measured on ratio scale. Variables are classified into two categories those are Continuous Variable and Discrete Variable.
Continuous Variable Definition: A variable is said to be continuous variable if takes each and every value in between two values (or limits). Continuous variable Example is given below.
• “Rain fall in a day” is a continuous variable it can take any value in between 0 and infinity.
• “Time to complete this answer” is a continuous variable it can take any value between 0 and infinity.
• “Water level in a tank” is a continuous variable it can take any value between 0 and maximum capacity of tank.
Continuous Variable Definition: A variable is said to be continuous variable if takes each and every value in between two values (or limits). Continuous variable Example is given below.
• “Rain fall in a day” is a continuous variable it can take any value in between 0 and infinity.
• “Time to complete this answer” is a continuous variable it can take any value between 0 and infinity.
• “Water level in a tank” is a continuous variable it can take any value between 0 and maximum capacity of tank.