← Back to Blog
🇬🇧 English

Two-Proportion Z-Test in SPSS: Comparing Rates Between Groups

Two-Proportion Z-Test in SPSS: Comparing Rates Between Groups
IBM SPSS Statistics 27 File Edit View Data Transform Analyze Graphs Utilities Descriptive Statistics ▶ Crosstabs ▶ ▶ Statistics Menü Yolu: Analyze → Descriptive Statistics → Crosstabs → Statistics Yukarıdaki menü yolunu takip ederek analiz penceresini açın

📸 Two-proportion comparison in SPSS via Crosstabs → Risk statistics

Testing the Difference Between Two Proportions

When you need to compare whether a binary outcome occurs at different rates in two independent groups, the two-proportion z-test applies. Mathematically, in a 2×2 table, the Pearson chi-square equals the squared z-statistic. SPSS additionally provides Risk Ratio (RR) and Odds Ratio (OR), which convey the magnitude of difference more clearly than chi-square alone.

Running in SPSS

Step 1: Analyze → Descriptive Statistics → Crosstabs. Group to Row; binary outcome to Column.
Step 2: Statistics: check Chi-square and Risk (for OR and RR) → Continue → OK.
SPSS Statistics Output Viewer Risk Estimate Statistic Value 95% CI Lower 95% CI Upper Odds Ratio 2.94 1.68 5.14 Risk Ratio (RR) 1.62 1.26 2.08 Chi-Square (p=.000*) 14.21 * p < .05 anlamlı sonuç gösterir

📸 Two-proportion output with Risk Ratio and Odds Ratio

APA Reporting

The proportion of patients achieving recovery was significantly higher in the treatment group (68%) than in the placebo group (42%), χ²(1)=14.21, p<.001, RR=1.62 (95% CI [1.26, 2.08]).

Professional Statistical Analysis Consulting

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

WhatsApp Contact →