Rana Maninder Singh
Lesson 2 of 10Business Analytics

Descriptive Analytics

Lesson opener

In one line: Descriptive analytics summarises what happened — with the right centre, spread, grain, and a four-sentence interpretation leaders can act on.

Why it matters: Every predictive model and dashboard sits on descriptive truth. Wrong grain or mean-on-skewed revenue produces confident nonsense.

Before this lesson: Introduction to Business Analytics

Goal

Summarize historical data so stakeholders understand what happened and where to look deeper.

What you will be able to do

Measures of center

Mean vs median
Mean vs median
MeasureWhen to useFormula (concept)
MeanSymmetric data, no extreme outliersSum / count
MedianSkewed data (revenue, salary)Middle value
ModeCategoriesMost frequent value

Rule: Report median for income and order values; mean for temperatures or standardized scores.

Measures of spread

Distributions

Aggregation and grain

Always state grain: row = one customer? one order? one day?

Wrong: "Average revenue is $50" (per customer? per order?)
Right: "Average order value (AOV) in Q1 was $50"

Pivot thinking (Excel/SQL/Python)

DimensionMetric
RegionSum(revenue), Count(orders)
Product categoryMean(margin), % of total

Sample analysis (Python)

import pandas as pd

df = pd.read_csv("data/customers.csv")
summary = df.groupby("segment").agg(
    customers=("customer_id", "count"),
    avg_orders=("total_orders", "mean"),
    avg_revenue=("total_revenue", "mean"),
).round(2)
print(summary)

Business interpretation template

  1. Observation — "Segment B has 2× the average revenue of Segment A."
  2. Context — "Segment B is only 12% of customers."
  3. Implication — "Growth in B disproportionately lifts revenue."
  4. Next step — "Analyze acquisition cost by segment."

Teacher walkthrough: NovaRetail segment summary

All figures illustrative.

Step 1 — Name the decision. "Which segment deserves retention attention this month?"

Step 2 — Check grain. customers.csv: one row = one customer. Averages are per-customer, not per-order.

Step 3 — Centre and spread. For total_revenue, report median (skewed) and IQR; use mean only with an outlier note.

Step 4 — Pivot. Group by segment: count, mean orders, median revenue.

Step 5 — Interpret. Observation (Gold median revenue 2× Silver) → Context (Gold is 15% of base) → Implication (small Gold growth lifts revenue) → Next step (CAC and churn by segment in Customer analytics).

Failure example: mean revenue that misled finance

Symptom: Pack said "average customer revenue ₹8,400." Finance planned capacity on that number; realised collections were far lower for most customers.

Diagnosis: Mean pulled by a few whales; grain mixed with order-level extracts in a later slide.

Correction: Lead with median + segment table; label grain on every chart title.

Validation: Next pack titles read "Median revenue per customer (one row = customer)"; finance stops using the mean alone for planning.

Guided practice

Given orders: ₹200, ₹220, ₹250, ₹280, ₹9,000 — which centre for "typical order," and what one sentence do you tell a manager?

Complete solution: Median ≈ ₹250 (or ₹220–₹280 band). Say: "Typical order is about ₹250; the ₹9,000 order is an outlier — do not staff on the mean of ₹1,990."

Independent practice

Acceptance criteria:

Common mistakes

  1. Reporting mean for skewed money metrics without median.
  2. Omitting grain ("average revenue" with no unit of analysis).
  3. Charts without a next-step sentence.
  4. Mixing customer and order extracts in one table.

Practice

Do this now (click): Open Exercise 1 — Descriptive basics →

Data: Preview customers.csv / data/sales.csv (website → Data preview)

Checklist

  • [ ] I computed mean, median, and std for a numeric column
  • [ ] I built a group-by summary by at least one category
  • [ ] I wrote a 4-sentence business interpretation
  • [ ] Acceptance criteria above are met