about ETF5922
0 · Exam mapCOURSE.JSON · BRIEF
Quizzes 10% · Assignment 1 10% · Assignment 2 15% · Assignment 3 15% · Final exam 50%.
official-rule status · briefPermitted materials: not confirmed for this offering in the course materials we hold — check the exam instructions on the LMS.
1 · Purpose → claimCH 1
Exploration is rapid, provisional plotting to discover structure. Communication selects evidence and context so another reader can recover the intended comparison without narration.
| Mode | Keep / change |
|---|---|
| Explore | many candidate views; rough labels acceptable |
| Communicate | stable labels, selected evidence, context and limitation |
| Across audiences | keep values, units, order and calculation base; change hierarchy and detail |
answer scaffoldReader + decision → visible comparison → measured support → boundary of claim.
1b · Annotation auditCH 1 FAQ
Hide the annotation and ask a fresh reader for the main comparison; restore it and test whether accuracy or speed improves. Keep labels that identify evidence, context or uncertainty; remove repetition that competes with the focal mark.
| Brief field | What earns its place |
|---|---|
| reader | prior knowledge and decision conditions |
| decision | comparison/action the graphic must support |
| scope | observations, time window, unit and denominator |
| evidence | values and context sufficient for the claim |
| limit | main uncertainty or explanation outside scope |
Release test: a communication graphic must survive separation from its maker. Rebuild when question, comparison base or limitation cannot be recovered unaided. When several audiences share a page, keep the common numerical core and reveal extra detail through hierarchy or optional notes.
2 · Power BI contextCH 2
Filter context is the complete set of report, page and visual filters governing a displayed calculation. A measure recalculates under that context; a stored column retains row-level values.
| Audit order | Question |
|---|---|
| 1 · source rows | what total should these rows produce? |
| 2 · keys | unique, duplicated or unmatched? |
| 3 · relationships | which direction propagates selection? |
| 4 · state | which slicers/filters are active? |
| 5 · output | do card, table, chart and title reconcile? |
Unexpected totals can arise from duplicate keys, bidirectional paths or implicit aggregation even when the page looks polished. A static export must print the selected subset or date range because controls may disappear.
3 · Reproducible RCH 3
| Atomic vector | one dimension; elements share an underlying type |
| NA | unavailable, not zero or an empty string; declare treatment |
| Factor | levels control categories/order; ordered factors permit ordinal comparison |
| Project root | stable relative paths, not personal machine paths |
completeness beside centremean = Σ observed values / n observed
missing % = n missing / n expected × 100
Restart and run from the top. A vanished object exposes hidden console state; a second clean environment must restore dependencies, locate inputs and reproduce outputs.
Availability is part of the result: a mean without the observed count cannot show whether expected records contributed. Report the calculation and its missing-value condition together. Keep factor levels deliberate: character-to-factor conversion may change order, summaries and plot structure.
4 · Grammar of graphicsCH 4
A plot is an explicit construction: data supply observations/variables; aesthetic mappings connect variables to visible channels; geoms draw marks; scales, facets, coordinates and themes complete the view.
mapping vs settinginside aes(…) → a variable controls the channel
inside geom(…) → every mark receives the same appearance
| Reader task / variable | Defensible display |
|---|---|
| category magnitude | bar / dot; aligned length or position |
| continuous distribution | histogram + rug; density + raw support; boxplot for landmarks |
| two quantitative variables | scatter; position carries both |
| ordered time | line/points with interval and gaps visible |
| groups with common comparison | small multiples on fixed scales |
4b · Distribution sensitivityCH 4 FAQ
Bin width changes which observations are pooled; bandwidth changes density smoothing. A mode, gap or cluster is defensible only if it survives nearby reasonable settings and remains visible in raw support.
| Display | Carries / compresses |
|---|---|
| rug | exact locations / little summary |
| histogram | pooled counts / depends on boundaries and width |
| density | smooth shape / bandwidth can create or conceal peaks |
| boxplot | centre, spread, potential outliers / hides local clusters |
Decision rule: choose the display whose perceptual task matches the question, then add a complementary view when a transformation or smoothing choice could hide the observations supporting the claim.
5 · Wrangling = argumentCH 5
Observation grain is the entity represented by one row at the current stage. State it before transforming: the chart inherits every population, denominator and duplication error in its table.
| Verb | Expected structural effect |
|---|---|
| select | columns change; rows preserved |
| filter | declared rows removed; population changes |
| mutate | variables added/changed; rows preserved |
| group + summarise | many source rows → one row per group; carry observed/missing counts |
| pivot | wide ↔ long layout; substantive measurements unchanged |
| join | row count follows key cardinality; unmatched keys may disappear |
localise an errorrecord n rows + key uniqueness after each verb; the first unexpected change identifies the operation to inspect.
5b · Join gateCH 5 FAQ
| Before | After |
|---|---|
| name both keys; test uniqueness; predict 1:1, 1:M or M:M; record expected n | inspect unmatched and multiplied rows; reconcile important totals; confirm grain |
A left join grows when a right-side key has multiple matches. Do not repair the plot while leaving duplicated records in the data.
| Cardinality | Row-count implication |
|---|---|
| 1:1 | at most one match on either side; retained keys remain single rows |
| 1:M | the “one” record repeats once per matching “many” row |
| M:M | combinations multiply; require an explicit substantive justification |
| unmatched | retained or discarded according to join type; count explicitly |
Summarise gate: grouping changes row meaning to one row per group. Carry n observed and n missing into the output so a clean bar does not conceal unequal evidence support.
6 · Encode more variablesCH 6
| Channel | Use / warning |
|---|---|
| position | most precise quantitative comparison; reserve for primary variables |
| length | good magnitude comparison on a common baseline |
| hue / shape | category identity; test greyscale and output size |
| lightness | ordered magnitude when the palette is sequential |
| size / area | coarser judgement; avoid if exact comparison matters |
| labels | lookup; direct labels can remove legend travel |
Palettes: qualitative for categories; sequential for ordered low→high; diverging around a meaningful midpoint. An accessible palette preserves the required comparison under common colour-vision differences and realistic reproduction.
6b · Facet decisionCH 6 FAQ
| Fixed scales | cross-panel magnitude is the task; common ruler retained |
| Free scales | local shape is the task; warn that panel magnitudes are not directly comparable |
| Caption | name each subset, scale choice, comparison and channel meaning |
If removing a channel loses no variable, remove it. Facets reduce overload only when repeated meanings and labels remain consistent.
7 · Perceptual honestyCH 7
Data ink carries values or essential guides; chartjunk competes without improving interpretation. Data-to-ink reasoning is not indiscriminate minimalism: keep context needed for accurate reading.
lie factorapparent proportional change / actual data proportional change
target: 1; state whether geometry uses length, area or another dimension.
| Perceptual rule | Exam consequence |
|---|---|
| position/length beat angle/area/hue | assign precise quantities to the most accurate channel |
| preattentive contrast directs search | reserve emphasis for the focal evidence |
| proximity, similarity, enclosure, connection group marks | make perceived groups match data structure |
8 · Pattern + supportCH 8–9
Explore distribution, association, clusters, unusual observations and gaps together. A centre without spread hides heterogeneity; a smooth without raw points hides support; a mean without completeness can imply false precision.
| If you see… | Do this |
|---|---|
| outlier | retain while checking measurement, context and influence; report sensitivity |
| small/unequal groups | show raw points, observed n and missing proportion |
| association | describe co-variation; do not upgrade it to cause |
| interval | name what variability/support it represents and its assumptions |
| unstable conclusion | vary one defensible treatment and report what persists |
Analytical critique connects a visible choice to a consequence for accuracy, comparison or readability, then proposes one targeted repair. Stop when the intended reader recovers the comparison, values/scope reconcile, and every remaining element has a role.
9 · Time + interactionCH 10–11
| Time | state frequency, window, gaps, aggregation and baseline before trend/seasonality |
| Indexing | for relative growth from a common start; label base and retain raw units |
| Interaction | expose filter/selection/zoom state and provide a documented reset |
| Tooltip | optional detail only; units, scope and key evidence remain visible |
| Animation | stable axes, identities and reference points; controls plus static fallback |
| Small multiples | prefer for precise comparisons across several moments |
three-sentence interpretation1 pattern visible · 2 quantified support · 3 uncertainty/limitation.