-
Notifications
You must be signed in to change notification settings - Fork 10
Alexander Govern test
Maurice HT Ling edited this page Aug 13, 2021
·
5 revisions
Purpose: To test whether the means of populations where 2 or more samples were drawn from are equal.
Null hypothesis: All population means are equal.
Alternate hypothesis: At least one population mean is not equal to the rest.
Note: Alexander Govern test does not assumes variances of all samples to be equal. If variances can be assumed to be equal, ANOVA - One-way can be used.
Code:
>>> from scipy import stats
>>> X1 = [9.07, 8.97, 6.41, 3.03, 1.19, 2.67, 2.81, 9.2]
>>> X2 = [3.82, 8.26, 5.99, 3.81, 1.07, 5.06, 5.66, 4.47]
>>> X3 = [8.46, 7.46, 4.48, 1.41, 3.16, 1.77, 5.33, 6.61]
>>> result = stats.alexandergovern(X1, X2, X3)
>>> print("A = %.3f" % result.statistic)
A = 0.210
>>> print("p-value = %.3f" % result.pvalue)
p-value = 0.901
Reference:
- Alexander RA, Govern DM. A New and Simpler Approximation for ANOVA under Variance Heterogeneity. Journal of Educational Statistics 19(2), 91-101.
Copyright (c) 2008-2024, Maurice HT Ling
Refereed Publications and Technical Reports
Abstracts and Other Un-Refereed Works
Autobiographic Verses (Poems that I wrote) and My Sayings