SquareTable.test_ordinal_association(row_scores=None, col_scores=None) Assess independence between two ordinal variables.
This is the ‘linear by linear’ association test, which uses weights or scores to target the test to have more power against ordered alternatives.
| Parameters: |
|
|---|---|
| Returns: |
|
The scores define the trend to which the test is most sensitive.
Using the default row and column scores gives the Cochran-Armitage trend test.
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.stats.contingency_tables.SquareTable.test_ordinal_association.html