Quiz 2
Registry Synced

stats1-week1

678 words
3 min read

Reading compass

Now · Week map

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.
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.