6.0.6. Tests with Binary Data
The tests in this category (e.g. the Binomial Test) are accessed from the menu option Statistics 1 → Nonparametric Tests (1-2 Samples) → Binomial Proportion.
The Variable Selection Dialogue contains the following three data type options.
1) Column Contains Two Categories: Select one column from the Variables Available list. It can be a string, numeric, factor or continuous data column but it should contain only two distinct values (levels). The program will not proceed with the test if this requirement is not met.
2) Column Contains Continuous Group Data: One column containing string or numeric factor or continuous data can be selected. It will be split into two groups, i.e. those below and above a certain value.
At the next dialogue, you will be asked to enter a cut-point. All observations less than the cut-point (i.e. excluding it) will be considered as being in group 1 and all those greater than or equal to the cut-point (i.e. including it) will be considered as being in group 2. The string variables are separated according to their lexicographic ordering. The output includes the number of cases falling within each group.
3) Frequencies are Given: Enter size of groups 1 and 2.