← Back to Blog
🇬🇧 English

Chi-Square Goodness of Fit Test in SPSS: One Variable, Multiple Categories

Chi-Square Goodness of Fit Test in SPSS: One Variable, Multiple Categories
IBM SPSS Statistics 27 File Edit View Data Transform Analyze Graphs Utilities Nonparametric Tests ▶ Legacy Dialogs ▶ ▶ Chi-Square Menü Yolu: Analyze → Nonparametric Tests → Legacy Dialogs → Chi-Square Yukarıdaki menü yolunu takip ederek analiz penceresini açın

📸 Chi-Square Goodness of Fit in SPSS

Goodness of Fit vs. Test of Independence

The chi-square test of independence tests whether two variables are related. The chi-square goodness of fit test is different — it tests whether the observed frequency distribution of a single categorical variable matches a specified expected distribution.

Example: Are blood types distributed equally? Do patients' preferred treatment choices match population norms?

Running Goodness of Fit in SPSS

Step 1: Analyze → Nonparametric Tests → Legacy Dialogs → Chi-Square.
Step 2: Move the categorical variable to Test Variable List.
Step 3: Expected Values: "All categories equal" for uniform distribution. Or select "Values" and enter each category's expected proportion → OK.
SPSS Statistics Output Viewer Test Statistics Blood Type Chi-Square 12.431 df 3 Asymp. Sig. .006* 0 cells expected < 5 * p < .05 anlamlı sonuç gösterir

📸 Goodness of fit test output

APA Reporting

A chi-square goodness of fit test indicated that the distribution of blood types in the patient sample differed significantly from population norms, χ²(3)=12.43, p=.006.

Professional Statistical Analysis Consulting

Let's run your analyses together with SPSS, GraphPad, and R.

WhatsApp Contact →