- Select the option that matches your data:
- Categorical variables: Enter categorical variables. If you do not use the Combine sub-dialog box, enter two worksheet columns. The first column is for the row categories. The second column is for the column categories. Minitab creates a contingency table from the data that you enter.
In this worksheet, the Gender column contains the row categories and Health column contains the column categories for the contingency table.
C1-T C2-T Gender Health Male Poor Female Good Female Good Male Excellent Female Poor Female Excellent - Columns of a contingency table: Enter the columns of a contingency table. Each worksheet column that you enter forms one column of the contingency table. All values in the contingency columns must be positive integers or zero.
In this worksheet, the worksheet cells contain the frequencies (counts) that make up the contingency table (CT). The columns represent five funding categories (A, B, C, D, E). The rows represent academic disciplines (Geology, Physics, and so on). Therefore, the value in row 1, column 2 indicates that 11 geology researchers were classified into funding category B.
C1 C2 C3 C4 C5 C6 C7 CT1 CT2 CT3 CT4 CT5 RowNames Colnames 3 11 2 7 2 Geology A 12 13 4 16 6 Physics B 16 22 24 23 8 Chemistry C 3 5 21 23 11 Botany D 8 5 13 32 4 Zoology E

###### Note

You must delete rows with missing data from the worksheet before using this analysis.

- Categorical variables: Enter categorical variables. If you do not use the Combine sub-dialog box, enter two worksheet columns. The first column is for the row categories. The second column is for the column categories. Minitab creates a contingency table from the data that you enter.
- In Row names, you can enter a column of names for the rows of the contingency table. The name column must be a text column whose length matches the number of rows in the contingency table. Minitab displays the first 8 characters of the names in tables, but displays the full name on graphs. If you do not enter a column of names, Minitab names the rows Row1, Row2, and so on.
- In Column names, you can enter a column of names for the columns of the contingency table. The name column must be a text column whose length matches the number of columns in the contingency table. Minitab displays the first 8 characters of the names in tables, but displays the full name on graphs. If you do not enter a column of names, Minitab names the columns Column1, Column2, and so on.
- In Number of components, enter the number of components to calculate. The minimum number of components is 1. The maximum number of components for a contingency table with r rows and c columns is the smaller of (r − 1) or (c − 1), which is equivalent to the dimension of the subspace onto which you project the profiles. The default number of components is 2.