Many tests involving two categorical variables only require the count (frequency) of observations in each group, rather than the actual observations. The counts for the groups can be arranged using a 2-way table dataset, with counts entered instead of the observations.
EXAMPLE The two-way table dataset below contains counts of subjects classified by two factors, Drug: A, B & C, and Sex: M & F. The groups for Drug are placed on first row of the dataset, the groups for the factor Sex on the first column of the dataset, and the counts in the cells.
As for the 2-way table dataset, using a single row of headers does not allow the names of the variables to be specified.
The solution is to use an additional header row to hold the names of the variables. The name of the factor across the top of the columns is placed above the first group on the columns, and the name of the factor down the left of the rows is placed in the cell above the first row group. Analyse-it will then pick-up the names of the variables.
EXAMPLE The dataset below is the same as before except an extra row has been added to hold the variable names. The name of factor on the columns Drug is placed above the first group A, and the name of the factor on the rows Sex is placed above the group M.
When the dataset is arranged on the Excel worksheet the next step is to define the range as a dataset.
To define the dataset:
We've been developing intuitive high-quality statistical software at an affordable price, backed up by fast friendly customer service for over 25 years...
Office hours: 9am-5pm GMT Mon-Fri
It's Tuesday 5:02 PM and the office is closed - e-mail us and we'll get back to you as soon as possible.