Pearson Chi2. The number after pearson chi2 4 is the chi square value generated by the test. Moreover the group option yields the related hosmer lemeshow test.
The number after pr is the p value. A chi squared test also written as χ 2 test is a statistical hypothesis test that is valid to perform when the test statistic is chi squared distributed under the null hypothesis specifically pearson s chi squared test and variants thereof. Chi square test of independence in stata.
The chi squared test of homogeneity now suggests that there is a high degree of association.
For this example we will use a dataset called auto which contains information about 74 different automobiles from 1978. Pearson s chi squared test displaystyle chi 2 is a statistical test applied to sets of categorical data to evaluate how likely it is that any observed difference between the sets arose by chance. The chi squared test of homogeneity now suggests that there is a high degree of association. Chi square test of independence in stata.