Armitage's trend test

Armitage's trend test on genotype distribution of marker(s).


Updated 16 Mar 2012

View License

This statistic can be used to compare genotype frequencies between affected (cases) and non-affected (controls) individuals.

It is used in categorical data analysis when the aim is to assess for the presence of an association between a variable with two categories and a variable with k categories.

For more information, see
Armitage,P. (1955) Tests for linear trends in proportions and frequencies.
Biometrics, 11, 375-386.

Sasieni,P.D. (1997) From genotypes to genes: doubling the sample size. Biometrics, 53,

Updated after adding comments on the input.

Cite As

Mohammed Sadeq Al-Rawi (2023). Armitage's trend test (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Association this file to the one that can be used to find the contingency tables, Genome, SNP marker(s) contingency table(s).

Comments regarding the input.