liveBook · Manning

Continuous data

As explained in The Well-Grounded Data Analyst

Continuous data consists of numerical measurements that can take values across a range, including arbitrarily fine subdivisions.

Continuous data consists of numerical measurements that can take values across a range, including arbitrarily fine subdivisions. In tabular analysis, it contrasts with categorical data, which belongs to a discrete set. section 6.1

Classify continuous measurements by their scale:

  • Interval data has evenly spaced values, but zero does not represent an absence of the measurement; temperature is an example. section 6.1
  • Ratio data has evenly spaced values and a meaningful zero representing absence; height and weight are examples. section 6.1
  • Numeric-looking columns are not automatically continuous: sex is treated as nominal categorical data rather than averaged like age. section 6.1

Patient measurements

A heart disease dataset combines continuous measurements such as age with categorical fields such as sex. Identifying these types determines which summaries and analyses are appropriate. section 6.1

Table 6.1 An overview of the different types of data
Name
Categorical or continuous?
Properties
Example
Nominal
Categorical
Data has discrete values, and categories are not ordered.
Colors, political parties
Ordinal
Categorical
Data has discrete values, and categories have a natural order, but spacing is uneven between categories.
T-shirt sizes (S/M/L), survey responses (good versus bad)
Interval
Continuous
Values are spaced evenly, but zero is not an absence of the measurement.
Temperature
Ratio
Continuous
Values are spaced evenly, and zero means an absence of the measurement.
Height, weight

Use the scale overview to compare nominal, ordinal, interval, and ratio data by discreteness, ordering, spacing, and zero meaning. section 6.1

How The Well-Grounded Data Analyst covers it

How deep it goes
Distinguishes interval and ratio scales through spacing and zero meaning, but stops short of detailed statistical modeling.
Examples
Uses age, temperature, height, weight, and patient measurements, including data from a heart disease dataset.
What it assumes
Assumes tabular data familiarity while clarifying how numeric-looking categorical columns differ from continuous measurements.
What you can do after
Evaluate whether a column is continuous and choose an interval or ratio interpretation before analysis.
How it connects
Connects continuous data with categorical data, interval scales, ratio scales, and visualization choices.

Also explained in

Compare how 5 books explain continuous data →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of The Well-Grounded Data Analyst. The section links point to the parts of the book it draws on.