BINOMIAL Subcommand (NPAR TESTS command)

NPAR TESTS BINOMIAL [({.5})]=varlist[({value,value})] 
                      {p }            {value      }  

BINOMIAL tests whether the observed distribution of a dichotomous variable is the same as what is expected from a specified binomial distribution. By default, each named variable is assumed to have only two values, and the distribution of each named variable is compared to a binomial distribution with p (the proportion of cases expected in the first category) equal to 0.5. The default output includes the number of valid cases in each group, the test proportion, and the two-tailed probability of the observed proportion.

Syntax

Operations

Example

NPAR TESTS BINOMIAL(.667)=V1(0,1).