Cochran-Armitage trend test
A test of whether a proportion rises or falls steadily across ordered groups. It uses the order of the groups and therefore has more power than a general chi-square test.
Example: The share of smokers across four age groups falls: 42 %, 35 %, 30 %, 22 %. The trend test checks whether this steady decline exceeds chance.
Caution: The test checks a linear trend. It does not detect a U-shaped relation.