Association of Attributes

Lesson 12 of 213 min7 practice questionsFree

Turn two yes-or-no attributes into counts

An attribute is a characteristic recorded as present or absent. Suppose a workshop records A = arrived before the start and B = handed in a practice sheet. Every participant belongs in one of four cells.

             B yes  B no
A yes          a     b
A no           c     d

The four entries are joint counts. The row and column totals are marginal counts. Thus n(A) = a + b, n(B) = a + c, and N = a + b + c + d. Here n(A ∩ B) = a. If the question gives the margins and a, recover b and c by subtraction. The neither cell is N − n(A) − n(B) + a. Every cell must be a nonnegative whole count.

Check the data before measuring association. Among 50 people, if 40 have A and 25 have B, at least 15 must have both. Otherwise the total with at least one attribute would exceed 50. In general, the overlap is at least max(0, n(A) + n(B) − N) and at most min(n(A), n(B)).

Compare the observed overlap with independence

If at least one record has A, independence would make the proportion with B among those with A equal the overall proportion with B. Multiplying the overall proportion by the A row total gives the benchmark below.

Expected overlap = n(A) × n(B) / N.

  • Observed overlap above expected means a positive association in the table.
  • Observed overlap below expected means a negative association in the table.
  • Exact equality fits the independence benchmark. Keep fractional expected counts unrounded when deciding the sign.

Worked example. In a workshop with 100 participants, 40 arrived early, 50 submitted the sheet, and 30 did both.

           B yes  B no  Total
A yes        30    10    40
A no         20    40    60
Total        50    50   100

The expected overlap is 40 × 50 / 100 = 20. The observed overlap is 30, so the association is positive. A quick check is to compare the submission rates. They are 30/40 = 75% for early arrivals and 20/60 = 1/3 for the others. IGNOU, Theory of Attributes

Calculate and interpret Yule’s Q

Use the same cell order as above. Multiply along each diagonal, then compute the difference divided by the sum:

Q = (ad − bc) / (ad + bc).

In the workshop table, ad = 30 × 40 = 1,200 and bc = 10 × 20 = 200. Thus Q = (1,200 − 200) / (1,200 + 200) = 5/7. Its positive sign agrees with the comparison against the expected overlap.

  • When ad + bc > 0, Q ranges from −1 to +1. If ad = bc, Q = 0. If ad > bc, Q is positive. If ad < bc, Q is negative.
  • When both diagonal products are zero, the denominator is zero and Q is undefined. A table with an empty A row has this problem.
  • If you replace one attribute by its complement, such as replacing A with ‘A is absent’, the two products switch places and Q changes sign. State which categories count as present.

A table tells you how the attributes occur together in the observed records. To judge whether early arrival itself affects submission, a study would also need to address other explanations such as prior preparation. IGNOU, Yule’s coefficient · SSC CGL Statistics syllabus

Practise this lesson7 questions · 7 marks · +1 a question · every answer explained
Start practice: Association of Attributes Practice

Sign in to keep your progress. Sign in