Posts

Statistics - Basic 1 - Types of Data

Types of Data 1. Numeric: Data that is quantifiable Two types of numeric data:  Discrete numeric data   : Counts an event. [Example: Transaction values, No. of days, etc.] Represented by a ratio Continuous numeric data : Represented by a range/interval [Example: Amount of rainfall, temperature range, etc.] 2. Categorical Data that has no inherent numeric meaning Nominal Categorical data : Example : Gender [Man/Woman], State of birth, etc. Numbers are assigned to these values but the numbers themselves don’t mean anything.  3. Ordinal Combination of numerical and categorical data. Example: Customer ratings between very satisfied[5] to not satisfied[0] for a restaurant, etc. Mean, Median, Mode Mean: Given a set of data points: x = [28, 49, 3, 78, 32, 9, 77] Mean = Total of the values of the samples/ Number of samples.  Mean = (28+49+3+78+32+9+77)/7 = 39.43 Median: Sort the values and take the middle value.  x_sorted ...