
MantelHaenszel's test 1.0 File ID: 79857 


 MantelHaenszel's test 1.0 License: Shareware File Size: 10.0 KB Downloads: 2
Submit Rating: 



MantelHaenszel's test 1.0 Description 

Description: Performs MantelHaenszel's test for k strata of 2x2 tables. Mantel and Haenszel proposed this asymptotic test based on the chi2 distribution. Assuming no threeway interaction (k independent strata). Ref.: DeltaProt toolbox at http://services.cbu.uib.no/software/deltaprot/
Input: X: data matrix (size 2x2xK) of the observed frequency cells, (a,b,c,d) for each stratum k. tail: desired test ('lt' or 'gt': onetail; 'ne': twotailed(default)).
Output: Pvalue
Use: P = MantelHaenTest(Observed,'ne') Each stratum k must be a 2x2 table design such as:
S NonS  Sample1: a b Sample2: c d ....... (S=success; NonS=failure).
The test has low power for small strata sizes, and one should limit the use to situations where expected cell counts of at least 5 in most of the cells in each stratum (Reis et al. 1999).
The null hypothesis specifies that the success probabilities are equal from stratum to stratum. In each stratum the two rows can be viewed as data from two independent binomial distributions. If these two probabilities goes in one direction in one strata, and in the oposite direction in other strata, the test will have less power (less ability to detect a false null hypothesis).
Please, use the following reference: Thorvaldsen, S. , FldoDE, T. and Willassen, N.P. (2010) DeltaProt: a software toolbox for comparative genomics. BMC Bioinformatics 2010, Vol 11:573. See http://www.biomedcentral.com/14712105/11/573
Other references: Mantel, N. and Haenszel, W. (1959): Statistical aspects of the analysis of data from retrospective studies of disease. J. National Cancer Inst., 22:719748. Hollander, M. and Wolfe, D.A. (1999): Nonparametric Statistical Methods. John Wiley & Sons. Reis, I.M et al. (1999): Exact and asymptotic tests for homogenity in several 2x2 tables. Statistics in Medicine, 18, p. 893906.
License: Shareware Related: Reference, false, thorvaldsen, willassen, bioinformatics, genomics, comparative, Software O/S:BSD, Linux, Solaris, Mac OS X File Size: 10.0 KB Downloads: 2


More Similar Code 

This file use the Sandler's test to evaluate if exist a difference after a treatment. The Sandler's Avalue can be transformed in the Student's tvalue. Sandler requires Statistics Toolbox because use TINV and TCDF funtion. To compute power, Sandler requires powerStudent by TrujilloOrtiz, A. and R. HernandezWalls. If this function is not present on the computer, Sandler try to download it from FEX
Dunn's test is the not parametric analog of HolmSidak multiple ttest. When you use the KruskalWallis test, you know if there is a difference among your groups, but you can't apply the KWtest for each couple because the overall error is...
Paired proportions have traditionally been compared using McNemar's test but an exact alternative due to Liddell is preferable. the usual reason for using approximate methods, when exact methods are available, is that the former are...
In statistics, McNemar's test is a nonparametric method used on nominal data to determine whether the row and column marginal frequencies are equal. It is named after Q. McNemar, who introduced it in 1947. It is applied to 2x2 contingency...
Tukey's test of additivity for a twoway analysis of variance design with replication (can be equal or unequal sample sizes) or without replication.
This file performs the StuartMaxwell's test for all the marginal homogeneity (i.e. across all the categories simultaneously) for each of the two sample times (nominal samples). Obviously, it need a square KxK table.
It is a...
This mfile performs the Bowker's test for symmetry. It is an extension of the McNemar test to a KxK situation. There are now K response categories for the two dependent samples.
The null hypothesis is that the probabilities in the...
BrownForsythe's test is developed to estimate whether more than two groups are homoscedastic. In the BrownForsythe's test the data are transforming to yij = abs[xij  median(xj)] and uses the F distribution performing an oneway ANOVA using y as...
In the Obrien's test to check out the homogeneity of variances the data are transforming to yij = ((nj1.5)*nj*((xijmean(xj))**2)((0.5)*(var(xj))*(nj1)))/((nj1)*(nj2)) and uses the F distribution performing an oneway ANOVA using y...

User Review for MantelHaenszel's test 
