01 / 21

Data Types &
Summaries

Learn to identify categorical, numeric, and time series data, then choose the right summary statistics and visualizations for each.

Business Analytics

Why Data Types Matter

Every business decision starts with data. But not all data is created equal. A product's color is fundamentally different from its price, and both differ from a monthly revenue trend. Choosing the wrong analysis for the wrong type can mislead an entire strategy.

The Three Data Families

Categorical
Labels or groups with no inherent order (or a fixed order). Examples: product category, region, satisfaction rating.
Numeric
Measurable quantities you can add, subtract, and average. Examples: revenue, temperature, age.
Time Series
Numeric values recorded at regular intervals over time. Examples: daily stock prices, monthly sales, quarterly GDP.

Categorical Data: Nominal vs Ordinal

Nominal No natural order Color: Red, Blue, Green Region: North, South Brand: Nike, Adidas Ordinal Meaningful order Low → Medium → High 1 Star → 5 Stars Freshman → Senior

Numeric Data: Discrete vs Continuous

Discrete
Countable, whole-number values. Examples: number of employees, units sold, defect count.
Continuous
Any value within a range, including decimals. Examples: revenue ($1,234.56), weight (72.3 kg), time (4.7 hours).

Time Series: Data Over Time

Revenue ($K) Jan Feb Mar Apr May Jun 10 20 30 40 Seasonal dip Upward trend

The Summary Rule

What's your data type? Categorical Summaries: Frequency counts Mode Proportions / % Bar chart, Pie chart Numeric Summaries: Mean, Median, Mode Std. deviation, Range Quartiles (IQR) Histogram, Box plot Time Series Summaries: Moving average Growth rate / % change Trend & seasonality Line chart

Measures of Center

Mean (\(\bar{x}\))
Sum of all values divided by count: \(\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i\). Sensitive to outliers.
Median
Middle value when sorted. Resistant to outliers: great for skewed distributions like income.
Mode
Most frequent value. The only center measure that works for categorical data too.

Measures of Spread

1
Range: \(\text{max} - \text{min}\). Simple but heavily influenced by outliers.
2
Interquartile Range (IQR): \(Q_3 - Q_1\). Captures the middle 50% of data: robust to extremes.
3
Standard Deviation (\(s\)): \(s = \sqrt{\frac{1}{n-1}\sum_{i=1}^{n}(x_i - \bar{x})^2}\). Average distance from the mean.
4
Variance (\(s^2\)): The squared standard deviation. Useful in formulas but harder to interpret directly.

Categorical vs Numeric Summaries

Categorical Numeric
Center Mode only Mean, Median, Mode
Spread Not applicable Range, IQR, Std. Dev.
Shape Not applicable Skewness, Kurtosis
Count summary Frequency table Histogram bins
Best chart Bar chart / Pie chart Histogram / Box plot

5-Step Summary Workflow

1
Identify the variable. What column in your dataset are you analyzing?
2
Classify the type. Is it categorical (nominal/ordinal), numeric (discrete/continuous), or time series?
3
Pick the right center measure. Mode for categorical, mean or median for numeric.
4
Pick the right spread measure. IQR for skewed data, standard deviation for symmetric data. Skip for categorical.
5
Choose a visualization. Bar/pie for categorical, histogram/box plot for numeric, line chart for time series.

Example 1: Customer Regions

0 50 100 150 East West South North 130 80 170 50

Example 2: Order Values

$0 $50 $100 $150 $200 $250 Min: $20 \(Q_1\): $60 Median: $90 \(Q_3\): $150 Max: $190 Outlier: $240 Box Plot of Order Values

Example 3: Monthly Website Visits

Visits (K) 0 10 20 30 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Monthly visits 3-month moving avg.

Common Mistakes to Avoid

✕ Averaging Categories
Computing the mean of zip codes, product IDs, or Likert scales \((1-5)\) as if they were truly numeric. The mode or frequency table is correct.
✕ Ignoring Outliers
Reporting the mean when extreme values exist. A single $10M sale inflates the "average order value" far beyond what's typical: use the median.
✕ Wrong Chart Choice
Using a pie chart for numeric distributions or a histogram for categorical data. Match the chart to the data type.

Complete Summary Reference

Categorical Numeric Time Series
Center Mode Mean / Median Moving average
Spread --- Range, IQR, \(s\) Volatility
Shape --- Skew, Kurtosis Trend, Seasonality
Key chart Bar / Pie Histogram / Box Line chart
Example Region, Color Revenue, Age Monthly sales

Question 1 of 5

A dataset contains customer satisfaction ratings recorded as "Very Dissatisfied," "Dissatisfied," "Neutral," "Satisfied," and "Very Satisfied." What type of data is this?

Question 2 of 5

A company's order values have a right-skewed distribution with several extremely large orders. Which measure of center is most appropriate for a summary report?

Question 3 of 5

Which visualization is most appropriate for displaying the distribution of a continuous numeric variable like employee salaries?

Question 4 of 5

A dataset contains these values: 12, 15, 14, 13, 120, 16, 11. The IQR is resistant to the outlier (120). What does IQR measure?

Question 5 of 5

A business analyst plots quarterly revenue over the past 5 years to identify growth trends. What type of data is this, and what summary technique is most useful?