Data Types

Data types

Data type

A. Categorical data

1. Nominal data

  • Male/Female.
  • Countries’ names.
  • Colors.

1.1. Statistical methods

  • Frequency.
  • Proportion.
  • Percentage.

1.2. Visualization

2. Ordinal data

  • Low, medium, and high. Each level could have different units of measurement, such as the level of happiness, pain, etc.
  • Morning: from sunrise to 11:59 am, it is around 6hours or 6 units of time.
  • Afternoon: from 12:00 pm to 5:00 pm, it is 5 hours or 5 units of time.
  • Evening: from 5:01 pm to 8:00 pm, it is 3 hours or 3 units of time.
  • Night: from 8:01 pm to sunrise, it is around 10hours or 10 units of time.
  • Preschool: from 3 to 5 years old, and it has one grade.
  • Elementary school: from 5 to 14 years old, and it has 8 grades.
  • High school: from 14 to 18 years old, and it has 3 grades.
  • College: from 18 to 22 years old, and it has 4 to 5 years of education.
  • Graduate school: ages vary.

2.2. Statistical methods

  • Frequency.
  • Proportions.
  • Percentages.

2.2. Visualization

B. Continuous data

1. Interval data

  • Intelligence quotient or IQ.
  • Temperature.
  • Time of the day, ex: 1 pm, 2 pm, 4 am, etc.

1.1. Statistical methods

  • Percentiles, median, interquartile range.
  • Mean, median, or mode.
  • Standard deviation, range, or IQR.

1.2. Visualization

2. Ratio data

  • Distance: 5km, 1,84m, etc.
  • Weight: 81.5kg.
  • Days: 2 or 3 days.
  • Times: 1 hour, 34min.

2.1. Statistical methods

  • Percentiles, median, interquartile range.
  • Mean, median, or mode.
  • Standard deviation, range, or IQR.

2.2. Visualization

Summary

Data type summary
Data type summary table

Good to know

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mustapha Mekhatria

Mustapha Mekhatria

28 Followers

I strongly believe that “everything is easy to understand”, if taught well :)