teststyle = median
If there are groupby columns, they comprise the UPI. Otherwise, ChiSq is the UPI.
Column | Data Type | Description |
---|---|---|
Chisq | Float | Chi-Squared statistic. |
DF | INTEGER | Degrees of freedom. |
MedianPValue | Float | Probability associated with Chi-Squared statistic. |
MedianPText | Char | Text description if probability is outside table range. |
MedianCallP_0.01 | Char | Chi-Squared result:
|
Example
The following table shows how the Median test was computed on income over marital_status by years_with_bank. Results are sorted by years_with_bank. The tests show that values came from populations with the same median where MedianCallP_0.01 = a and from populations with different medians where MedianCallP_0.01 = p.
years_with_bank | ChiSq | DF | MedianPValue | MedianPText | MedianCallP_0.01 |
---|---|---|---|---|---|
0 | 12.13288563 | 3 | 0.007361344 | p | |
1 | 12.96799683 | 3 | 0.004848392 | p | |
2 | 13.12480388 | 3 | 0.004665414 | p | |
3 | 8.504645761 | 3 | 0.038753824 | a | |
4 | 4.458333333 | 3 | 0.225502846 | a | |
5 | 15.81395349 | 3 | 0.001527445 | p | |
6 | 4.531466733 | 3 | 0.220383974 | a | |
7 | 11.35971787 | 3 | 0.009950322 | p | |
8 | 2.855999742 | 3 | 0.25 | >0.25 | a |
9 | 2.23340311 | 3 | 0.25 | >0.25 | a |