Variable Types
Variable Types
Data Types
Data Types
Categorical Data
● Discrete
● No Specific Order
● Discrete
● Specific Order
● Name vs Order
● Quantitative Meaning
● Information type
Data Types
Numerical Data
● Quantitative
● Numerical significance
Ex. Your sleeping hours ? Ex. When did you sleep last night?
Do both these
questions
represent similar
values ?
Discrete Data
● Takes only certain values
● Can be counted
● Numerical operations
Current Balance
(float)
Data Type: Boolean
● Boolean variable has only two possible values:- True/False
● Comparison
Ex. ( (7>3) & (5>6) )
False
Vehicle number?
Data Type: Date Time
Time of accident?
Data Type: Category
● Categorical variable is used to represent the categorical data.
● Can Specifying an order.
Colour of Car?
Date Time