Armitage's trend test
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,
1253–1261.
Updated after adding comments on the input.
Cite As
Mohammed Sadeq Al-Rawi (2023). Armitage's trend test (https://www.mathworks.com/matlabcentral/fileexchange/35638-armitage-s-trend-test), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Genome, SNP marker(s) contingency table(s)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.