Cross-tabulating attributes NVivo
Author of this page: Graham R. Gibbs
Affiliation: University of Huddersfield
Date written: 14th Nov. 2005
To produce a cross-tabulated profile of one attribute against another,
- Open the Search Tool,
- Click on the Boolean Search button.
- In the dialog window that opens, select Matrix intersection from the pop-down menu at the top. Now you need to select all the values of one attribute in the first reference list and all the values of the second attribute in the second list.
- Click on the Choose Attribute Values… button against the first list.
- In the list on the right, choose an attribute value. Double click on the list to open sublists until you see the value you want.
- Select it and then click on the = button to add it to the list on the right. See Figure 1.
Figure 1. Choose Attribute Values dialog
- Repeat for all the other values of the attribute in question. (In the case of this example I have used the values Female and Male of the Attribute Gender.) The dialog should display a list of all the values of the attribute in question on the right of the dialog.
- Click on OK.
- Now repeat this procedure for another attribute using the Choose Attribute Values… button against the second list in the Boolean search window. In this example I have chosen to use the attribute Interviewer, which has 3 values. See Figure 2.
Figure 2 . The completed Boolean Search dialog.
- Click on OK.
- You have now set up the search and the Search Tool will now show this in long text form at the top of the window. See Figure 3.
- Now set up the scope of the search. You can use all documents by clicking on the appropriate button, or you can use a set of interviews you have already established.
Figure 3 . The completed Search Dialog for cross-tabulating two attributes
- You can customize the way you handle the results, but that is not necessary here.
- Click on Run Search
- The result of the search is stored as a matrix node under the Search Results node in the node tree.
- Click OK in the dialog that appears to get the Results Matrix. (Or select Inspect Matrix from the contextual menu on the node in the Node Explorer)
At the top of Results Matrix window is a pull-down menu of possible displays. Perhaps the most useful are those showing the numbers of characters coded, documents coded and coding references. Figure 4 shows the display for number of documents coded. Notice that the cells are shaded to show darker if there are more cases in the cell. Also although the column headers may be hard to read (because they are truncated), if you select a cell (the top left one is in Figure 4) there is a full display of the attributes of that cell just above the table. There are some limited statistics available using the Show Statistics… button. First select a cell, row, column or the whole table then click on the button.
Figure 4 . The Search Results Matrix showing number of documents coded.