Quiz 2

Statistics I · Week 1 — Data & measurement scales

1174 words
6 min read
2026-08-16T00:00:00.000Z
Python Week 1: the first filter for runtime behavior
Visual companion
Python
Type and operator map

Python Week 1: the first filter for runtime behavior

View
Revision summary

What this note is really saying

Short form

cases, variables, nominal/ordinal/interval/ratio — concepts, pattern families, and traps for Quiz 2 week 1. # Week 1 — data & measurement scales > **Quiz 2 scope:** Weeks 1–8 per IITM May 2026 foundation courses.

Week 1 — data & measurement scales

Quiz 2 scope: Weeks 1–8 per IITM May 2026 foundation courses. Source baseline: IITM BS admissions important-dates calendar · May 2026 cycle. Times on assessments are operational conventions — verify hall ticket.
Part of the Quiz 2 prep system%20%C2%B7%20%5BWeeks%201%E2%80%938%20index%5D(.%2Fmay-2026-stats-quiz-2-weeks-1-8-prep) · Pattern atlas · Formula chains.

Week map

Case → variable → type → scale → valid operations

Classify → Represent → Execute → Trap-check

  • Recognize: Ask: Difference categorical vs numerical?
  • Procedure: Ask: number or category? If category, order meaningful? Fixed zero? Determines scale and allowed summary.
  • Variations / traps: Watch for: Averaging ordinal codes.

Formula chain (compressed)

case → variable → type (categorical/numerical) → scale (nominal…ratio) gates legal summaries.
  1. Population vs sampleparameter vs statistic — wording of claim
  2. Categoricallabels / categories — mode, bar charts
  3. Numericalcounts or measures — mean, spread
  4. Scalesnominal < ordinal < interval < ratio — which ops allowed

Deep study

Statistics I · Week 1 — Data types and measurement scales

Statistics starts with what you measured and what arithmetic means on that measurement — before any formula.

Week map

Case vs variable → categorical vs numerical → measurement scales → valid summaries → rows/columns in tables → common misclassification traps.

Core vocabulary

  • Case → one observed unit → one row often → student #42, Tuesday’s weather, one transaction.
  • Variable → characteristic recorded per case → column → height, major, rating.
  • Value → one observation of a variable for one case → 172 cm, "CS", 4.
  • Label → name of variable → not the same as a value.

Type split

TypeValuesExamples
Categoricallabels / codeseye color, department
Numericalnumbers with quantityheight, count, income
Numerical subtypes: discrete (counts) vs continuous (measurements within interval).

Measurement scales

  • Nominal → categories, no order → gender codes, zip codes.
  • Ordinal → ordered categories → Likert “satisfied”, medal ranks.
  • Interval → differences meaningful, no true zero → Celsius temperature.
  • Ratio → true zero, ratios meaningful → mass, distance, income.
Mini-examples:
  • Shirt size S,M,L,XL → ordinal (order) but not ratio (L is not “twice” S).
  • Year 2024 → interval-like for calendar years (no year 0 in CE) — often taught as not ratio.
  • Kelvin → ratio (0 K means no thermal energy).

Valid operations (quick gate)

ScaleOrder?Mean?Ratio “twice as much”?
nominalnonono
ordinalyescautionno
intervalyesoftenno
ratioyesyesyes
Trap: averaging ordinal codes without justification treats them as interval.

Pattern families

Easy — Classify variable

  • Given description, state categorical vs numerical.
  • Pick scale for one variable with reason in one line.
  • Identify case count n from table rows.

Medium — Table orientation

  • Rows as cases, columns as variables (usual).
  • Distinguish variable name from value entry.
  • Several variables same cases — joint dataset.

Hard — News headline traps

  • ID numbers nominal, not “big number” numerical analysis.
  • ZIP code nominal — do not average.
  • Percent correct as ratio; letter grades ordinal.

Worked mini-examples

Example 1 — Classify.
Dataset: for 50 buses, record route_id (text), passengers (count), on_time (Yes/No).
  • route_id categorical nominal
  • passengers numerical discrete
  • on_time categorical nominal (binary)
Example 2 — Scale.
Variable: pain scale 0–10 where 0 means none, 10 worst. Ordered, differences somewhat meaningful — often ordinal; not ratio (10 is not “double” 5 in pain perception).
Example 3 — Celsius.
20°C to 30°C is +10°C difference. 30°C is not “1.5× heat” of 20°C in ratio sense — interval, not ratio.
Example 4 — Cases.
Table 120 rows, columns age, city, salary → 120 cases, 3 variables.
Example 5 — Invalid mean.
Average of zip codes 10001 and 10002 is meaningless — nominal.

Traps

  • Confusing variable with value (“variable is John”).
  • Treating student ID as numerical for correlation.
  • Averaging ordinal satisfaction codes blindly.
  • Ratio claims on interval scales (twice as hot in °C).
  • Binary categorical treated as numerical 0/1 without context — sometimes OK for modeling, but type is still categorical.

Diagnostic (try yourself)

  1. Classify each variable as categorical or numerical: (a) number of siblings, (b) favorite fruit, (c) body temperature in °F, (d) race finish position.
  2. For “years of education completed”, which scale (nominal/ordinal/interval/ratio) is most appropriate? Brief reason.
  3. A spreadsheet has 200 rows and 15 columns of student records. What is n? How many variables?
  4. Why is “mode of zip code” silly but “mode of eye color” OK?
  5. Give one example variable that is numerical discrete and one numerical continuous.

ChatGPT prep archive

Archived import for extra depth — complements the notes above, not official IITM material.

Core concepts

  • Case: one observed unit (person, day, transaction).
  • Variable: characteristic measured on each case; label names it.
  • Types: categorical vs numerical; scales: nominal, ordinal, interval, ratio.
  • Valid ops: ratio allows all arithmetic; nominal only counts/mode.

Notation & vocabulary

ScaleExampleArithmetic
nominalgender codecount
ordinalsurvey ratingorder
intervalCelsiusadd/subtract
ratioheight, weightall ops

Pattern families

Easy — Classify variable

Ask: number or category? If category, order meaningful? Fixed zero? Determines scale and allowed summary.

Medium — Cases vs variables

Rows often cases, columns variables in data table. Identify n cases and p variables from context.

Hard — Scale traps in news

Temperature F/C interval not ratio (no true zero). Likert ordinal—do not average without justification. ZIP code nominal not numerical.
Drill these on the pattern atlas — filter to week 1.

Traps

  • Averaging ordinal codes.
  • Treating ID numbers as numerical.
  • Confusing variable with value.
  • Ratio scale without true zero claimed.

Retrieval prompts

  1. Difference categorical vs numerical?
  2. Why is Celsius interval not ratio?
  3. What is a case in a dataset?

Practice loop

  1. Read Deep study (if present) or core concepts once.
  2. Recite the formula chain without looking.
  3. Open one easy pattern on the interactive atlas for week 1.
  4. Attempt without solutions; mark studied after an honest try.
  5. Say one trap aloud before closing the tab.
Document outline

Keep your place and jump directly to a heading.

Table of Contents
System Normal // Awaiting Context

Intelligence Hub

Navigate the knowledge graph to generate context. The Hub adapts dynamically to surface backlinks, related notes, and metadata insights.