Specify the matrices of categorized data values.
Perform the goodness-of-fit test upon this sample.
Chi-Square Test for Goodness-of-Fit
-----------------------------------
Null Hypothesis:
Observed sample does not differ from expected sample
Alt. Hypothesis:
Observed sample differs from expected sample
Categories: 6
Distribution: ChiSquare(5)
Computed Statistic: 5.000000000
Computed p-value: .415879723998286
Critical Values: 11.0704974062099
Result: [Accepted]
This statistical test does not provide enough evidence to conclude that the null hypothesis is false.
| |
Another example.
Chi-Square Test for Goodness-of-Fit
-----------------------------------
Null Hypothesis:
Observed sample does not differ from expected sample
Alt. Hypothesis:
Observed sample differs from expected sample
Categories: 9
Distribution: ChiSquare(8)
Computed Statistic: 19.90000000
Computed p-value: .0107210773034122
Critical Values: 15.5073130558655
Result: [Rejected]
This statistical test provides evidence that the null hypothesis is false.
| |
If the output=plot option is included, then a plot will be returned.
If the output=both option is included, then both a report and a plot will be returned.
Chi-Square Test for Goodness-of-Fit
-----------------------------------
Null Hypothesis:
Observed sample does not differ from expected sample
Alt. Hypothesis:
Observed sample differs from expected sample
Categories: 9
Distribution: ChiSquare(8)
Computed Statistic: 19.90000000
Computed p-value: .0107210773034122
Critical Values: 15.5073130558655
Result: [Rejected]
This statistical test provides evidence that the null hypothesis is false.
Histogram Type: default
Data Range: 1 .. 6
Bin Width: 1/6
Number of Bins: 30
Frequency Scale: relative
Histogram Type: default
Data Range: 1 .. 8
Bin Width: 7/30
Number of Bins: 30
Frequency Scale: relative
| |