← First Pair Library

4 Combining articles into a person profile

4.1 Start with associations and keep the background unique

Our fictional example has people A, B, C, and D. The 45 distinct articles are grouped below only to save space: articles in a batch have identical toy coordinates and associations. They are distinct observations, not duplicate records to count repeatedly. E and L identify two source-and-decade cells. A cell specifies both the source and the decade; the letters do not imply that every early or late article belongs together.

The coordinates in the table are already standardized news coordinates zz. Their reference basis and scales are stipulated for this toy example, not estimated from the 45 rows.

Batch Cell Distinct articles N1 N2 N3 Associated people
E1 E 10 2 0 1 A, B
E2 E 5 1 1 2 A
E3 E 5 0 2 2 C
E4 E 5 -1 0 -2 D
L1 L 5 1 -1 2 A
L2 L 5 2 1 -2 B
L3 L 5 0 3 2 B, C
L4 L 5 -2 0 -1 D

There are 25 distinct articles in E and 20 in L. A has 20 associated articles, B has 20, and C and D have 10 each. Thus there are 60 person-article associations but only 45 unique articles. The ten E1 articles each name two people, as do the five L3 articles. This is why adding person counts is not a way to count the archive.

An incidence matrix records these associations. Its rows are people, its columns are articles, and an entry is 1 when the article is associated with the person and 0 otherwise. It is a bookkeeping device; it does not turn the association into a verified identity match or a social relationship. The figure compresses identical article columns into one column per batch, with its multiplicity shown below.

The toy association table and fixed news coordinates. Shared batches contribute to more than one person but only once to a cell’s background.

4.2 A cell supplies its own comparison

Let pp index a person and gg a source-and-decade cell. Let π’œg\mathcal A_g be the set of unique eligible background articles in cell gg, and π’œpg\mathcal A_{pg} its subset associated with person pp. For any set π’œ\mathcal A, |π’œ||\mathcal A| denotes its number of members, called its cardinality. The notation aβˆˆπ’œga\in\mathcal A_g means that article aa belongs to that set; a sum with that condition includes each member once. Recall that zaz_a is article aa’s standardized news-coordinate row. Let qgq_g be the background mean and mpgm_{pg} the person-cell mean, both 1Γ—K1\times K rows. For nonempty article sets, divide the coordinate sums by their respective article counts:

qg=βˆ‘aβˆˆπ’œgza|π’œg|,mpg=βˆ‘aβˆˆπ’œpgza|π’œpg|.q_g=\frac{\sum_{a\in\mathcal A_g}z_a}{|\mathcal A_g|},\qquad m_{pg}=\frac{\sum_{a\in\mathcal A_{pg}}z_a}{|\mathcal A_{pg}|}.

The background is drawn from qualified candidate-associated articles, not from every article in the news corpus.

Write qE,1q_{E,1} for the first coordinate of cell E’s background row. It is

qE,1=10(2)+5(1)+5(0)+5(βˆ’1)25=0.8.q_{E,1}=\frac{10(2)+5(1)+5(0)+5(-1)}{25}=0.8.

Computing the other coordinates in the same way gives

qE=(0.8,0.6,0.8),qL=(0.25,0.75,0.25).q_E=(0.8,0.6,0.8),\qquad q_L=(0.25,0.75,0.25).

Now consider A. Its 15 E articles have mean (1.6667,0.3333,1.3333)(1.6667,0.3333,1.3333); its five L articles have mean (1,βˆ’1,2)(1,-1,2). Subtracting each cell’s background gives

mAEβˆ’qE=(0.8667,βˆ’0.2667,0.5333),m_{AE}-q_E=(0.8667,-0.2667,0.5333), mALβˆ’qL=(0.75,βˆ’1.75,1.75).m_{AL}-q_L=(0.75,-1.75,1.75).

The question has changed from β€œwhat is A’s coverage like?” to β€œhow does A’s coverage differ from its available comparison coverage in each cell?” A negative coordinate means relatively less in that direction, not an absence of articles or disagreement with a topic.

4.2.1 Keep the numerator and denominator visible

For E, add each batch row multiplied by its distinct-article count. The coordinate sums are (20,15,20)(20,15,20): N2 receives 10(0)+5(1)+5(2)+5(0)=1510(0)+5(1)+5(2)+5(0)=15, while N3 receives 10(1)+5(2)+5(2)+5(βˆ’2)=2010(1)+5(2)+5(2)+5(-2)=20. Divide all three sums by 25 to obtain qE=(0.8,0.6,0.8)q_E=(0.8,0.6,0.8). For L the sums are (5,15,5)(5,15,5) and the count is 20, giving qL=(0.25,0.75,0.25)q_L=(0.25,0.75,0.25).

A’s E numerator includes only E1 and E2: 10(2,0,1)+5(1,1,2)=(25,5,20)10(2,0,1)+5(1,1,2)=(25,5,20). Divide by 15 to obtain (5/3,1/3,4/3)(5/3,1/3,4/3). Its L numerator is 5(1,βˆ’1,2)=(5,βˆ’5,10)5(1,-1,2)=(5,-5,10); division by five returns (1,βˆ’1,2)(1,-1,2). Subtract corresponding backgrounds one coordinate at a time. In E the first contrast is 5/3βˆ’4/5=25/15βˆ’12/15=13/155/3-4/5=25/15-12/15=13/15. The other two are 1/3βˆ’3/5=βˆ’4/151/3-3/5=-4/15 and 4/3βˆ’4/5=8/154/3-4/5=8/15. These exact fractions explain the rounded contrast row above.

Each denominator counts the observations named by that numerator. The background counts unique eligible articles in a cell. The personal mean counts that person’s associated articles within that cell. Neither denominator counts the number of named people in the article.

4.3 Give supported cells equal weight

A has three times as many articles in E as in L. If we pooled the articles, E would dominate. Let 𝒒p\mathcal G_p be the set of cells with enough articles for person pp; |𝒒p||\mathcal G_p| counts retained cells. In production, a cell needs at least five articles associated with that person. For a nonempty retained-cell set, let rpr_p be the 1Γ—K1\times K balanced contrast row. The implemented aggregation computes it by averaging the supported cell contrasts equally:

rp=1|𝒒p|βˆ‘gβˆˆπ’’p(mpgβˆ’qg).r_p=\frac1{|\mathcal G_p|}\sum_{g\in\mathcal G_p}(m_{pg}-q_g).

In the toy example both cells qualify for every person. A’s average contrast is therefore

rA=(0.8083,βˆ’1.0083,1.1417).r_A=(0.8083,-1.0083,1.1417).

For comparison, weighting A’s two contrasts in the article-count ratio 15:5 would give (0.8375,βˆ’0.6375,0.8375)(0.8375,-0.6375,0.8375). Neither averaging rule is a law of nature. They encode different questions. Equal supported-cell weighting prevents a densely covered cell from receiving greater weight merely because it contains more articles.

For A, compute a mean in each cell, subtract the cell background, and average the two contrasts. Equal-cell and article-count weighting estimate different quantities.

Equal cell weights are not necessarily equal source weights. A source spanning three supported decades contributes three cells, while another source spanning one contributes one. Nor does background subtraction remove every archive bias. It changes a specified comparison, within the selected coverage that is available.

The production gates require at least five articles in a person-cell and at least ten across the retained cells for a person-window. The contrast must also have nonzero numerical length. A cell with four articles is not quietly padded, and an unsupported profile is missing rather than a zero vector. These are operational support rules, not a proof of statistical reliability.

4.3.1 Average contrasts, then check eligibility

For A, the first balanced coordinate is (13/15+3/4)/2=(52/60+45/60)/2=97/120(13/15+3/4)/2=(52/60+45/60)/2=97/120. The other two are (βˆ’4/15βˆ’7/4)/2=βˆ’121/120(-4/15-7/4)/2=-121/120 and (8/15+7/4)/2=137/120(8/15+7/4)/2=137/120. Thus the exact contrast is (97,βˆ’121,137)/120(97,-121,137)/120. A denominator of two gives one vote to each retained cell.

Article weighting gives E the weight 15/20=3/415/20=3/4 and L the weight 5/20=1/45/20=1/4. Its first coordinate is (3/4)(13/15)+(1/4)(3/4)=0.65+0.1875=0.8375(3/4)(13/15)+(1/4)(3/4)=0.65+0.1875=0.8375. The difference comes from weights, not from any changed article coordinate.

The order of the support gates matters. Counts of six and four sum to ten, but the four-article cell is removed first. Only six retained articles remain, so that person-window fails. Counts of fifteen and four leave one retained cell with fifteen articles; its contrast alone supplies the average. Counts of fifteen and five retain both cells and twenty supporting articles. Missing means have no invented zeros. The notebook checks all three cases explicitly.

4.4 Keep direction and report support separately

Let bpb_p denote person pp’s 1Γ—K1\times K unit profile. For a nonzero contrast, normalize it as follows:

bp=rpβ€–rpβ€–.b_p=\frac{r_p}{\lVert r_p\rVert}.

For A the result is approximately (0.4688,βˆ’0.5847,0.6621)(0.4688,-0.5847,0.6621). Multiplying rAr_A by a positive constant would produce the same bAb_A. This makes directions comparable without turning article volume into profile length. It also discards magnitude. A small, unstable contrast can become a full-length unit vector, which is one reason to display support counts and eventually evaluate uncertainty rather than trusting the norm alone.

Let BB be the matrix formed by stacking those unit profiles. In the toy example its four rows, in person order A, B, C, D, are

Bβ‰ˆ(0.4688βˆ’0.58470.66210.94840.3161βˆ’0.0243βˆ’0.21830.75900.6134βˆ’0.6882βˆ’0.2294βˆ’0.6882).B\approx\begin{pmatrix} 0.4688&-0.5847&0.6621\\ 0.9484&0.3161&-0.0243\\ -0.2183&0.7590&0.6134\\ -0.6882&-0.2294&-0.6882 \end{pmatrix}.

Each row describes one person’s direction of relative coverage in the fixed news space. We have not yet learned a people pattern.

Check 4. Why would counting E1 once for A and once for B inside the background change the question? Why is it nevertheless correct for E1 to enter both individual profiles?

4.4.1 Normalize A without hiding the scale

The exact balanced contrast has squared length

β€–rAβ€–2=972+1212+13721202=9409+14641+1876914400=4281914400.\begin{aligned} \lVert r_A\rVert^2&=\frac{97^2+121^2+137^2}{120^2}\\ &=\frac{9409+14641+18769}{14400}\\ &=\frac{42819}{14400}. \end{aligned}

Its length is 42819/120\sqrt{42819}/120, approximately 1.72440. Dividing each entry by that length cancels the common denominator, so bA=(97,βˆ’121,137)/42819b_A=(97,-121,137)/\sqrt{42819}. Its squared coordinates add to 42819/42819=142819/42819=1.

This cancellation explains both the convenience and the loss. We can recover the direction from the normalized row, but we cannot determine whether the contrast originally had length 1.72440, twice that length, or half that length. Nor does the unit row remember that A had twenty supporting articles. Counts, magnitude, and article links must remain separate records.