Solved – Explanation of the different variable types in statistics

categorical datacomputational-statisticsdescriptive statisticsdiscrete data

One thing that has always tripped me up when trying to learn new methods in statistics is understanding what type of features/variables can this method be applied to.

The variable types that especially trip me up are

  • Discrete
  • Continuous
  • Categorical
  • Nominal
  • Ordinal

What are some examples and simple explanations of these and other commonly used variables types.

Best Answer

I was able to find a diagram from this page that clarified a lot of the original confusion.

enter image description here

  • A continuous variable is a numeric variable. Observations can take any value between a certain set of real numbers (height, age, temperature, ect..)
  • A discrete variable is a numeric variable that only consist of integers (number of kids, cars, pets,ect...)
  • An ordinal variable is a categorical variable that can be ranked (grades,pizza size,levels of satisfaction)
  • A nominal variable is a categorical variable that can't be ranked (race,religion, sex)