Statistics & Quantitative Methods for Analytics

Chapter 4
Descriptive Statistics and Business Data Visualization

Diploma in Business Analytics
Statistics & Quantitative Methods for Analytics   •   Diploma

Descriptive Statistics and Business Data Visualization

Introduction

Business analytics begins with the disciplined description of data. Before an analyst models customer churn, evaluates employee performance, or forecasts sales, the data must be organized, summarized, and displayed in a form that reveals important patterns without distorting them. Descriptive statistics answers questions such as: What is typical? How much do observations vary? Where are values located in a distribution? Are there unusual observations? How do two categorical variables relate?

Descriptive analysis does not establish causation. It summarizes observed data and supports informed investigation. Its quality depends not only on calculation but also on variable definitions, data quality, measurement units, graphical design, and honest communication.

Learning Objectives

By the end of this chapter, you should be able to:

  1. Distinguish populations, samples, variables, and levels of measurement.
  2. Construct frequency distributions and cumulative frequency tables.
  3. Calculate and interpret measures of central tendency, dispersion, position, and shape.
  4. Select suitable charts for categorical, numerical, and time-series data.
  5. Use cross-tabulations and conditional percentages to examine categorical relationships.
  6. Explain and calculate basic price, quantity, and value index numbers.
  7. Design clear dashboards and identify misleading statistical displays.
  8. Apply descriptive statistics to a business decision while recognizing limitations and ethical responsibilities.

1. The Foundation: Data, Variables, and Measurement

A population is the complete set of units relevant to a study, such as all customers who purchased from a company during a year. A sample is a subset selected from that population. A parameter describes a population; a statistic describes a sample. Analysts often use sample statistics to estimate or describe a larger population, but this requires attention to sampling quality.

A variable is a characteristic recorded for each observational unit. Examples include monthly revenue, product category, delivery time, customer satisfaction rating, and whether an invoice was paid late. A data set usually contains rows representing units and columns representing variables.

Levels of measurement

LevelMeaningExamplesAppropriate summaries
NominalCategories without orderRegion, payment methodCounts, percentages, mode
OrdinalOrdered categories, unequal intervals not assuredSatisfaction rating, risk bandFrequencies, median, percentiles
IntervalEqual differences, no meaningful absolute zeroTemperature in °C, calendar yearMean, standard deviation, correlation
RatioEqual differences and a meaningful zeroSales, units, time, costAll ordinary arithmetic summaries

The level of measurement constrains analysis. A customer code may be represented numerically but remains nominal; calculating its mean has no meaning. Likewise, averaging “poor,” “fair,” and “excellent” ratings assumes numerical spacing that may not exist, although medians or carefully justified scores can be useful for ordinal data.

Data should also be classified as categorical or quantitative. Quantitative data may be discrete, such as number of complaints, or continuous, such as delivery time. Analysts must specify whether a variable is measured in dollars, thousands of dollars, minutes, percentages, or another unit.

2. Frequency Distributions

A frequency distribution records how often values or categories occur. For category i, the relative frequency is:

ri = fi ÷ n

where f_i is the frequency of category i and n is the total number of observations. The percentage frequency is 100 × r_i. Frequencies should sum to n, while relative frequencies should sum to 1, apart from rounding.

Worked example: customer orders

Suppose an online retailer records the delivery rating of 20 orders:

4, 5, 3, 4, 2, 5, 4, 3, 5, 4, 1, 4, 3, 5, 4, 2, 4, 3, 5, 4.

RatingFrequencyRelative frequencyPercentage
110.055%
220.1010%
340.2020%
480.4040%
550.2525%
Total201.00100%

The modal rating is 4, and 65% of orders received a rating of 4 or 5. A frequency table is often the best first summary because it exposes sparse categories, coding errors, and concentration.

For numerical data with many distinct values, class intervals can be used. Classes should be mutually exclusive and collectively exhaustive. If delivery times are grouped as 0–9, 10–19, and 20–29 minutes, the boundary rule must be clear. For continuous measurements, intervals such as 0 ≤ t < 10 and 10 ≤ t < 20 avoid overlap.

Cumulative frequency is the running total of frequencies. A cumulative percentage answers questions such as “What percentage of customers waited no more than 20 minutes?” It is meaningful for ordered variables, but not for nominal categories.

3. Measures of Central Tendency

Central tendency describes a typical or central value. The appropriate measure depends on the scale, distribution, and purpose.

Mean

For n observations x₁, x₂, …, xₙ, the arithmetic sample mean is:

x̄ = (∑ᵢ₌₁ⁿ xᵢ) ÷ n

The mean uses every observation and is useful for approximately symmetric numerical data. It is sensitive to extreme values. A population mean is commonly denoted μ, while x̄ denotes a sample mean.

Median

The median is the middle ordered observation. For an odd number of observations it is the central value. For an even number, it is the arithmetic mean of the two central observations. The median is resistant to extreme values and is often preferable for income, transaction values, or waiting times with strong right skew.

Mode

The mode is the most frequently occurring value or category. It is the only common measure of central tendency that applies directly to nominal data. A distribution may have more than one mode or no unique mode.

Weighted mean

When observations have different importance or quantities, the weighted mean is:

x̄w = (∑ wᵢxᵢ) ÷ (∑ wᵢ)

where xᵢ is a value and wᵢ is its non-negative weight. The weights must represent the intended basis of importance, such as units sold or credit hours. A weighted average can be misleading if weights are omitted or incorrectly chosen.

Geometric mean

For positive values, the geometric mean is:

G = (x₁ × x₂ × … × xₙ)^(1 ÷ n)

It is useful for multiplicative growth rates and ratios. It should not be used when values are zero or negative without a carefully justified transformation. For growth over several periods, the compound average growth rate is often more informative than the arithmetic average of annual rates.

Example

For monthly sales of $8, $9, $10, $11, and $32 thousand, the mean is:

x̄ = (8 + 9 + 10 + 11 + 32) ÷ 5 = 14

The median is $10 thousand. The large $32 thousand month raises the mean substantially, so the median better represents a typical month if the objective is to describe ordinary performance.

4. Measures of Dispersion

Two data sets can have the same mean but very different levels of risk or consistency. Dispersion measures quantify variation.

Range and interquartile range

The range is:

Range = maximum − minimum

It is simple but depends entirely on two observations. The quartiles divide ordered data into four parts. The interquartile range is:

IQR = Q₃ − Q₁

where Q₁ is the first quartile and Q₃ is the third quartile. The IQR covers the middle 50% and is resistant to extreme values. Different software conventions can produce slightly different quartiles, so the chosen convention should be documented.

Variance and standard deviation

For a sample, the sample variance is:

s² = [∑ᵢ₌₁ⁿ (xᵢ − x̄)²] ÷ (n − 1)

and the sample standard deviation is:

s = √s²

The denominator n − 1 is used when estimating population variability from a sample; it corrects the tendency of division by n to underestimate variance. For a complete population, the population variance uses N in the denominator and the population standard deviation is σ.

Standard deviation has the same units as the original variable. Variance has squared units, which is mathematically useful but less directly interpretable. Standard deviation is most informative when the mean is meaningful and the distribution is not extremely skewed.

Coefficient of variation

For a positive mean, the coefficient of variation is:

CV = s ÷ x̄

It is often reported as 100 × CV%. It allows relative variability comparison across measures with different units or different means. It is unsuitable when the mean is zero, near zero, or not meaningful.

Worked calculation

For processing times of 2, 4, and 6 minutes, the mean is 4 minutes. The deviations are −2, 0, and 2; squared deviations total 8. The sample variance is 8 ÷ (3 − 1) = 4 minutes², and the sample standard deviation is 2 minutes. The calculation assumes these three observations are a sample rather than the complete population of interest.

5. Position and Shape

Measures of position identify where an observation lies relative to the rest of the data. The percentile p is a value below which approximately p% of observations fall. The 50th percentile is the median. Quartiles are the 25th, 50th, and 75th percentiles.

A standardized score, or z-score, is:

z = (x − x̄) ÷ s

when a sample mean and sample standard deviation are used. It expresses a value in standard-deviation units from the sample mean. A z-score is dimensionless. It is useful for comparing relative positions across variables, but it does not prove that a value is erroneous or unusual in a business sense.

Outliers

The common IQR rule flags observations below Q₁ − 1.5 × IQR or above Q₃ + 1.5 × IQR. This is a screening rule, not a deletion rule. An unusual transaction may indicate a data error, fraud, a major customer, or a genuine exceptional event. The analyst should investigate its source and business meaning before changing the data.

Shape concerns symmetry, skewness, modality, and tail behaviour. A right-skewed distribution has a long upper tail; in many such distributions the mean exceeds the median. A left-skewed distribution has a long lower tail. A bimodal distribution may indicate two customer segments or operational processes. Shape should be assessed with plots and context rather than inferred mechanically from one numerical measure.

6. Visualizing Business Data

A visualization is an analytical argument: it selects variables, scales, categories, and emphasis. Good charts make comparisons easy, identify uncertainty where relevant, and state units and time periods clearly.

PurposeSuitable displayImportant caution
Compare categoriesBar chartUse a common baseline and ordered categories when useful
Show distribution of numerical dataHistogramBins affect appearance; do not confuse with a bar chart
Show median, quartiles, and outliersBox plotExplain what the whiskers represent
Show a time trendLine chartUse an appropriate time interval and avoid false continuity
Show part-to-wholeStacked bar or carefully used 100% barParts may be hard to compare; pie charts should be limited
Examine two numerical variablesScatter plotConsider overplotting and hidden groups
Examine two categorical variablesHeat map or mosaic-style displayLabel counts or percentages clearly

A histogram groups quantitative observations into adjacent intervals; a bar chart displays separate categories with visible gaps. A line chart is appropriate when the order of observations has substantive meaning, especially time. Connecting unrelated categories with a line can imply a trend that does not exist.

Principles of honest visual design

Use a clear title that states the subject, measure, population, and period. Label axes with units. Make category definitions and missing-value treatment explicit. Use a zero baseline for bar charts unless a justified alternative is prominently disclosed. Keep scales consistent across comparable panels. Avoid excessive decoration, three-dimensional effects, unexplained dual axes, and colour combinations that exclude people with colour-vision deficiencies.

Truncating a bar chart’s vertical axis can make a small difference appear large. A line chart may legitimately use a focused scale in some circumstances, but the scale must be visible and the design must not exaggerate change. Percentage change and percentage-point change are different: a rise from 20% to 30% is an increase of 10 percentage points but 50% relative growth.

7. Cross-Tabulations and Conditional Percentages

A cross-tabulation, or contingency table, summarizes the joint distribution of two categorical variables. For example, a retailer may compare payment status by customer segment.

SegmentPaid on timeLateRow total
Business721890
Consumer8030110
Column total15248200

The late-payment rate for Business customers is 18 ÷ 90 = 20%. For Consumer customers it is 30 ÷ 110 ≈ 27.3%. These are row percentages because each row is the relevant denominator. Column percentages answer a different question, such as the proportion of all late accounts that are Consumer accounts: 30 ÷ 48 = 62.5%.

Confusing row and column percentages is a frequent analytical error. A cross-tabulation identifies association, not causation. Segment differences may reflect customer size, product type, credit policy, or other confounding variables. Small counts can make percentages unstable, so both counts and percentages should be reported.

8. Index Numbers

An index number expresses a value relative to a selected base. If the base-period value is assigned an index of 100, a simple index is:

It = (Xt ÷ X0) × 100

where X_t is the value in period t and X₀ is the value in the base period. If sales rise from $50,000 to $60,000, the index is (60,000 ÷ 50,000) × 100 = 120. This means sales are 20% above the base, not that sales equal $120,000.

A simple aggregate price index is:

P = (∑ pt ÷ ∑ p0) × 100

where p_t and p₀ are current- and base-period prices for the same items. It gives equal influence to listed items and may be inappropriate when quantities differ substantially.

A Laspeyres price index uses base-period quantities:

PL = [∑(pt × q0) ÷ ∑(p0 × q0)] × 100

A Paasche price index uses current-period quantities:

PP = [∑(pt × qt) ÷ ∑(p0 × qt)] × 100

Here p denotes price and q denotes quantity. The Laspeyres index asks how much the base-period basket would cost now; the Paasche index asks how much the current basket would have cost in the base period. Index numbers require a stable item definition, an explicit base, and attention to quality changes, substitutions, discounts, and weights. They are not automatically measures of inflation or business success.

9. Dashboards for Business Communication

A dashboard is a purposeful collection of visual summaries used to monitor performance or support decisions. It should begin with decisions and users, not with a collection of available charts.

A practical dashboard design process is:

  1. Define the decision, audience, scope, and refresh frequency.
  2. Specify each metric, including numerator, denominator, unit, time window, and exclusions.
  3. Validate source data, joins, missing values, and refresh dates.
  4. Establish a baseline, target, or comparison period.
  5. Choose the simplest chart that answers the question.
  6. Use a visual hierarchy: key indicators first, diagnostic detail second.
  7. Add filters cautiously and display their current settings.
  8. Test readability on desktop and mobile devices.
  9. Document definitions, ownership, and data lineage.
  10. Monitor whether users interpret the dashboard correctly.

A dashboard KPI should not be a decorative number. For example, “conversion rate” requires a defined numerator and denominator; a change in tracking rules can create an apparent performance change without any customer behaviour change. Good dashboards show both current status and context, such as target, prior period, trend, and sample size.

10. Illustrative Case: Regional Delivery Performance

Background

A fictional logistics company, Northstar Deliveries, operates in three regions. Management believes the Central region has the worst service because its average delivery time is highest.

Problem

An analyst must determine whether the conclusion is supported by the data and design a dashboard for weekly operations meetings.

Analysis

The analyst summarizes 600 deliveries by region, reporting count, median, IQR, mean, and late-delivery percentage. Central has a mean of 42 minutes and a median of 31 minutes; its distribution contains several very large commercial orders routed through a special process. East has a mean of 35 minutes and a median of 34 minutes. West has a mean of 36 minutes and a median of 35 minutes.

The mean alone makes Central appear worst, but the median indicates that a typical Central delivery is faster than a typical East or West delivery. A box plot reveals a long upper tail in Central. A cross-tabulation shows that 70% of Central observations are residential deliveries, while only 40% of West observations are residential; the delivery mix is therefore different. The analyst also checks whether timestamps use the same time zone and whether cancelled orders were excluded consistently.

Approach and solution

The dashboard includes: total deliveries; median delivery time; 90th percentile delivery time; late-delivery rate; a weekly line chart; regional box plots; and a table showing counts by delivery type. Definitions appear in an information panel. The dashboard uses a common scale and displays both medians and tail performance. Operations managers investigate the long Central tail rather than concluding that every Central delivery is poor.

Outcome and learning points

The original claim was incomplete. Central had the most severe tail problem for a smaller group of orders, but not the slowest typical delivery. The case demonstrates why analysts should combine central tendency, dispersion, position, distribution shape, subgroup analysis, and data validation. It also shows that a dashboard can improve decisions only when its measures are defined and its comparisons are fair.

11. Limitations, Ethics, and Governance

Descriptive statistics can conceal important variation through aggregation. A company-wide average may hide poor performance for a particular region or protected group. Analysts should examine relevant subgroups while protecting privacy and avoiding unnecessary disclosure of small cells.

Data visualization can create harm through selective time windows, omitted denominators, inappropriate colour, misleading scales, or suppression of uncertainty. KPI definitions should be version-controlled. Access should follow legitimate business need, and personally identifiable information should be masked or aggregated where possible. If automated systems generate summaries or charts, an accountable human should review the source data, calculations, labels, and narrative claims.

Privacy-preserving aggregation does not automatically eliminate risk: combinations of seemingly harmless attributes may re-identify individuals. Analysts should follow applicable data-protection law, organizational policy, retention rules, and professional codes of conduct. Transparency is especially important when statistics influence credit, employment, pricing, healthcare access, or customer treatment.

12. Best-Practice Checklist

Before publishing a descriptive analysis, ask:

  • What population, sample, period, and unit does the analysis cover?
  • Are variable definitions, exclusions, and missing values documented?
  • Is the summary appropriate for the measurement level and distribution shape?
  • Are both counts and percentages shown where denominators matter?
  • Are mean, median, and dispersion interpreted together?
  • Are unusual observations investigated rather than automatically removed?
  • Does every chart have an honest scale, clear labels, and stated units?
  • Are comparisons based on equivalent populations and consistent definitions?
  • Could the display mislead a reasonable reader?
  • Are privacy, accessibility, fairness, and governance requirements satisfied?

Chapter Summary

Descriptive statistics organizes raw observations into meaningful evidence. Frequency distributions show counts and proportions; central tendency describes typical values; dispersion measures consistency and risk; percentiles and z-scores describe position; and skewness, modality, and tails reveal distribution shape. Means are sensitive to extreme values, whereas medians and IQRs are more resistant. Cross-tabulations require careful choice of row or column denominators and demonstrate association rather than causation. Index numbers express change relative to a base and depend on explicit weights and definitions. Effective visualizations and dashboards combine accurate calculations with clear scales, labels, context, accessibility, and governance. The analyst’s responsibility is not merely to produce a chart, but to communicate evidence fairly and support sound decisions.

Key Terms

Population: The complete set of units relevant to a study.

Sample: A subset of a population.

Variable: A characteristic recorded for an observational unit.

Nominal scale: A measurement scale consisting of unordered categories.

Ordinal scale: An ordered categorical scale without assured equal intervals.

Mean: The arithmetic average of numerical observations.

Median: The middle value after observations are ordered.

Mode: The most frequently occurring value or category.

Weighted mean: An average in which observations receive specified weights.

Range: The maximum value minus the minimum value.

Quartile: A value dividing ordered data into four parts.

Interquartile range: The difference Q₃ − Q₁.

Variance: The average squared deviation, with denominator determined by population or sample context.

Standard deviation: The square root of variance, expressed in the original units.

Coefficient of variation: Standard deviation divided by a positive mean.

Percentile: A position value below which a specified percentage of observations falls.

Cross-tabulation: A table summarizing the joint distribution of categorical variables.

Index number: A relative measure comparing a value with a base-period value.

Dashboard: A purposeful collection of visual summaries supporting monitoring or decisions.

Outlier: An observation unusually distant from the main body of data under a stated rule or context.

Review Questions

Short Answer Questions

  1. Distinguish a population parameter from a sample statistic.
  2. Why is the median often preferred to the mean for highly right-skewed transaction values?
  3. What information does the interquartile range provide?
  4. Explain the difference between a histogram and a bar chart.
  5. Why must the denominator be identified when interpreting a cross-tabulation percentage?

Long Answer Questions

  1. Explain the four levels of measurement and discuss how each limits the choice of descriptive statistics.
  2. Compare the mean, median, mode, weighted mean, and geometric mean, giving a business context for each.
  3. Explain sample variance and standard deviation, including the reason for using n − 1 in sample variance.
  4. Discuss the principles of honest visual design and explain how a chart can mislead without containing an arithmetic error.
  5. Explain Laspeyres and Paasche price indices, including their weighting logic and limitations.

Analytical / Application Questions

  1. A company reports average delivery time by region, but one region has a few extremely large orders. Design an analysis that determines whether the region’s typical performance is actually worse.
  2. A retailer’s late-payment table contains counts by customer segment. Specify which row and column percentages should be calculated to answer two different management questions, and explain why both counts and percentages are needed.
  3. Design a dashboard for monitoring weekly customer service. Specify at least five measures, their definitions, suitable visualizations, and two safeguards against misleading interpretation.

Multiple Choice Questions with Answers

Question 1

Which measure is generally most resistant to an extreme high transaction value?

A. Mean

B. Median

C. Range

D. Variance

Correct Answer: B. Median

Question 2

A sample has values 2, 4, and 6. What is its sample standard deviation?

A. 1

B. 2

C. 4

D. 8

Correct Answer: B. 2

Question 3

A frequency of 25 in a data set of 100 represents what percentage?

A. 0.25%

B. 2.5%

C. 25%

D. 250%

Correct Answer: C. 25%

Question 4

Which chart is most appropriate for showing the distribution of a quantitative variable?

A. Histogram

B. Pie chart

C. Bar chart of unrelated categories

D. Organizational chart

Correct Answer: A. Histogram

Question 5

If Q₁ = 12 and Q₃ = 20, what is the interquartile range?

A. 8

B. 16

C. 32

D. 40

Correct Answer: A. 8

Question 6

Sales increase from $50,000 in the base period to $60,000 in the current period. What is the simple sales index?

A. 83.3

B. 100

C. 110

D. 120

Correct Answer: D. 120

Question 7

In a cross-tabulation, 18 of 90 Business customers pay late. What is the Business row late-payment rate?

A. 18%

B. 20%

C. 27.3%

D. 62.5%

Correct Answer: B. 20%

Question 8

Which statement about a z-score is correct?

A. It is always measured in dollars.

B. It expresses distance from the mean in standard-deviation units.

C. It proves that an observation is an error.

D. It can be calculated only for nominal data.

Correct Answer: B. It expresses distance from the mean in standard-deviation units.

Question 9

What is a major problem with truncating the vertical axis of a bar chart?

A. It removes all category labels.

B. It can exaggerate apparent differences.

C. It converts categories into numerical data.

D. It guarantees causal interpretation.

Correct Answer: B. It can exaggerate apparent differences.

Question 10

Which index uses base-period quantities as weights?

A. Laspeyres price index

B. Paasche price index

C. Simple median index

D. Unweighted mode index

Correct Answer: A. Laspeyres price index

Statistics & Quantitative Methods for Analytics
Chapter 4 of 14