HSE {HSEtest} | R Documentation |
Homogeneity of Stratum Effects Test
Description
To test the homogeneity of stratum effects in stratified paired binary data.
Usage
HSE(Tab)
Arguments
Tab |
the table combining k 2*2 tables by rows, k is 1,2,...,n |
Value
T |
the statistic following the chi-squared distribution |
p |
the p value, if p<0.05, there was a statistically significant difference among the stratum |
Note
Please feel free to contact us, if you have any advice and find any bug!
Reference:
1. Yan D. Zhao, Dewi Rahardja, De-Hui Wang & Haili Shen (2014) Testing Homogeneity of Stratum Effects in Stratified Paired Binary Data, Journal of Biopharmaceutical Statistics, 24:3, 600-607, DOI: 10.1080/10543406.2014.888440
Update:
Version 0.1.0: The first version.
Examples
table1 <- matrix(c(30,4,3,20),ncol=2)
table2 <- matrix(c(25,2,3,20),ncol=2)
table <- rbind(table1,table2)
HSE(table)
[Package HSEtest version 0.1.0 Index]