← First Pair Library

Reading and notation guide

A formula is a compact record of operations. First identify the inputs, then the operation, then what its output measures. Each chapter follows that order. The original four-person example remains one connected calculation; smaller examples are explicitly synthetic and set aside that fitted model temporarily. A successful arithmetic check does not validate the archive’s identities, attribution, or social claims.

In either notebook, run the setup and then the cells in reading order. A kernel is the running language process. Restarting it and running every cell checks that no hidden earlier calculation is needed. An assertion is a check that stops execution when a stated identity or reference answer fails. Edit the declared inputs to experiment; when an input changes, a fixed reference answer can fail deliberately while an identity should still hold. The Python and OCaml versions compute independently and need no private archive.

Read a symbol as a named object

A scalar is one number, a vector is an ordered list, and a matrix is a rectangular table. Here an observation vector is a row. A direction used for projection is a column. A shape such as 4×34\times3 means four rows and three columns. The real numbers, written ℝ\mathbb R, include negative values, zero, and fractions; ℝ4×3\mathbb R^{4\times3} means a table of that shape with real entries.

An index selects an entry: vjv_j is coordinate jj of row vv, and WjℓW_{j\ell} is row jj, column ℓ\ell of matrix WW. The index is not a multiplier. The notation ∑j=13vj\sum_{j=1}^{3}v_j means v1+v2+v3v_1+v_2+v_3. Adjacent scalar symbols mean multiplication; adjacent matrices mean the row-by-column product taught below. Parentheses group operations, so work inside them first. The symbol ∈\in means membership, and |𝒜||\mathcal A| counts the members of a set 𝒜\mathcal A.

A square a2a^2 means aa multiplied by itself. For nonnegative aa, a\sqrt a is the nonnegative number whose square is aa. Single bars |a||a| give a scalar’s absolute value, removing its sign; double bars ‖v‖\lVert v\rVert give a vector’s length. A bar above a symbol denotes an average, and a hat denotes a reconstruction or estimate. The superscripts 𝖳\mathsf T and ⊤\top both transpose a matrix, exchanging rows and columns. The symbol II denotes a square identity matrix, with diagonal ones and other entries zero. A superscript −1-1 on a square matrix means an inverse when it exists. The symbol ≈\approx warns of rounded or approximate equality.

Keep the measuring objects distinct

This table is a reading map. The chapters introduce each object again with its dimensions before using it in a calculation.

Object Symbol and meaning
Article row zaz_a: article aa measured in standardized news coordinates.
Comparison within a cell qgq_g: unique-article background; mpgm_{pg}: person pp’s mean in cell gg.
Person before and after normalization rpr_p: balanced contrast; bpb_p: its unit direction.
Population reference b‾\bar b: average fitted person profile; hp=bp−b‾h_p=b_p-\bar b: centered row.
Learned people directions WW: loadings mapping news coordinates to retained people coordinates upu_p.
Dimension counts dd: embedding width; KK: news width; rr: retained people width. The scalar rr differs from row rpr_p.
Sample counts nn: fitted people; NN: reviewed training articles in the proposed concept model.
Concept model AA: slopes; β\beta: intercepts; ss: predicted score row.
Local reuse of a letter QQ is an SVD direction matrix; QpQ_p is a scalar residual statistic; QalignQ_{\mathrm{align}} is an alignment matrix.

Normalization makes one row have length one. Standardization divides each coordinate by its reference standard deviation. Centering subtracts a reference mean. These answer different questions and cannot be substituted for each other. A positive coordinate names one pole of an axis; its sign does not express approval, goodness, truth, or confidence.

Across volumes, equivalent roles sometimes use different symbols. The History Math companion’s unified notation uses LL for the retained people dimension count, WW for the direction matrix, SS for the score table, Θ\Theta for concept coefficients, and CC for the concept count. This established Anthropology edition writes those roles as rr, the same WW, rows upu_p stacked together, AA, and mm, respectively. History counts people with mm and writes their covariance as ΓB\Gamma_B; this book uses nn and CPC_P for those roles. Do not substitute letters without also matching their shapes and centering conventions. Here CPC_P remains the people covariance, not the concept count. Here QQ names the SVD’s right-direction matrix, while QpQ_p is a person’s scalar discarded squared length. These distinct objects never share a formula merely because their letters resemble one another.

The final notation table collects shapes. The glossary defines terms in words, and the subject index links to worked explanations. The Eigen Times companion sometimes writes observations as columns; transpose its complete formula when translating to this book’s row convention.