StatLabStudent EditionUser guideGalleryFeaturesAbout

Binomial test

Compares the proportion of one of two outcomes (yes/no, pass/fail) with a test proportion, using the exact binomial distribution.

Menu: Analyze → Nonparametric Tests → Legacy Dialogs → Binomial…

When should I use it?

What are the assumptions?

How do I run it in StatLab?

  1. Move the variable to the test list.
  2. Set the test proportion (default .50).
  3. For a scale variable choose 'Cut point' — values at or below it form group 1.

How do I read the output?

OutputMeaning
Group 1 / Group 2Group 1 is the first value met in the data (or ≤ cut point); the test proportion refers to Group 1.
Exact Sig. (2-tailed)Shown when the test proportion is .50.
Exact Sig. (1-tailed)Shown for any other test proportion, in the direction of the observed result.

Worked example

On the practice survey dataset (File → Sample dataset), this command — which the dialog's Paste button also produces — runs the procedure:

PROC npBinomial /vars=(smoker) /p=0.5 /define=data.

Output tables: Binomial Test.

How would I report it in APA style?

An exact binomial test was used. Smoker: 104 of 150 (69.3%) in group 1 vs. test proportion .50, exact p < .001 (2-tailed).

Computed by StatLab's validated procedure code when this page was built. The example only illustrates the steps; choose variables that fit your own research question.

What are common mistakes?

Open StatLab   All guide topics