StatLabStudent EditionUser guideGalleryFeaturesAbout

⚡ Chi-square test in 4 steps

A quick recipe on the practice survey dataset. Press the button to load the data and run it, or follow the steps yourself after File → Sample dataset.

Load the data and run it

What are the steps?

  1. Analyze → Descriptive Statistics → Crosstabs…
  2. Row: smoker, Column: gender.
  3. Tick Expected counts and Row percentages.
  4. Press OK; read Pearson Chi-Square (or Fisher if footnote b warns).

What result should I see?

χ²(1, N = 150) = 0.09, p = .765; Fisher's exact p = .859; φ = .02

How to read every number: guide page. Worked through on a full study: Gender and product preference, A/B test of a checkout page, Exam stress in first-year and final-year students.