Description Usage Arguments Value References Examples
catt_asy
calculates the Cochran-Armitage trend test statistic (Cochran (1954), Armitage (1955)) and the one-sided p-value for the corresponding asymptotic test.
The exact form of used test statistic can be found in the paper by Portier and Hoel (1984).
1 | catt_asy(dose.ratings, totals, cases)
|
dose.ratings |
A vector of dose ratings, the i-th entry corresponds to the dose-rating of the i-th group. This vector must be strictly monotonically increasing |
totals |
The vector of total individuals per group, the i-th entry corresponds to the total number of individuals in the i-th group |
cases |
The vector of incidences per groups, the i-th entry corresponds to the number of incidences in the i-th group |
A list containing the value of the Cochran-Armitage Trend Test Statistic and its asymptotic p-value.
Armitage, P. Tests for linear trends in proportions and frequencies. Biometrics, 11 (1955): 375-386.
Cochran, W. G. Some methods for strengthening the common χ^2 tests, Biometrics. 10 (1954): 417-451.
Portier, C., and Hoel D. Type 1 error of trend tests in proportions and the design of cancer screens. Communications in Statistics-Theory and Methods, 13 (1984): 1-14.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.