Results Data | Chi-Squared Test | Vantage Analytics Library - Chi-Squared Test Results Data - Vantage Analytics Library

Vantage Analytics Library User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Vantage Analytics Library
Release Number
2.2.0
Published
March 2023
Language
English (United States)
Last Update
2024-01-02
dita:mapPath
ibw1595473364329.ditamap
dita:ditavalPath
iup1603985291876.ditaval
dita:id
zyl1473786378775
Product Category
Teradata Vantage

teststyle = chisq (Default)

Column1 is the UPI.

Column Data Type Description
column1 CHAR First of pair of variables.
column2 CHAR Second of pair of variables.
Chisq FLOAT Chi-Squared statistic.
DF INTEGER Degrees of freedom.
Z FLOAT Z-score.
CramersV FLOAT Cramer's V.
PhiCoeff FLOAT Phi coefficient.
LlhChiSq FLOAT Likelihood ratio Chi-Squared statistic.
ContAdjChiSq FLOAT Continuity-adjusted Chi-Squared statistic.
ContinCoeff FLOAT Contingency coefficient.
ChiPValue FLOAT Probability associated with Chi-Squared statistic.
ChiPText CHAR Text description if probability is outside table range.
ChiCallP_0.05 CHAR Chi-Squared result:
  • a=accept null hypothesis

    (not significantly different)

  • p=reject null hypothesis (positive)

    (significantly different)

  • n=reject null hypothesis (negative)

Example

The following tables show how the Chi-Squared test was computed on all combinations of pairs of the two sets of variables. Results are sorted by column1 and column2. The tests show that probabilities observed are the same for three pairs of variables and different for three other pairs.

Chi-Squared Test (Part 1)
column1 column2 Chisq DF Z CramersV PhiCoeff LlhChiSq
female ccacct 3.2131312 1 1.480358596 0.065584911 0.065584911 3.21543611
female ckacct 8.2389731 1 2.634555949 0.105021023 0.105021023 8.23745744
female svacct 3.9961257 1 1.716382791 0.073140727 0.073140727 3.98861957
single ccacct 6.9958187 1 2.407215881 0.096774063 0.096774063 7.01100739
single ckacct 0.6545145 1 0.191899245 0.02960052 0.02960052 0.65371179
single svacct 1.5387084 1 0.799100586 0.045385576 0.045385576 1.53297321
Chi-Squared Test (Part 2)
column1 column2 ContAdjChiSq ContinCoeff ChiPValue ChiPText ChiCallP_0.05
female ccacct 2.954339388 0.065444311 0.077657185   a
female ckacct 7.817638955 0.10444661 0.004512106   p
female svacct 3.697357526 0.072945873 0.046729867   p
single ccacct 6.600561728 0.096324066 0.00854992   p
single ckacct 0.536617115 0.029587561 0.25 >0.25 a
single svacct 1.35045989 0.045338905 0.226624385   a