Logical Combinations of Codes

Different than with classic quantitative content analysis, the categorization of data in qualitative analysis is not the end of the document analysis; instead it is simply a step toward further interpretative analysis. The categories create a structure within the documents, but they don’t replace them. MAXQDA’s analysis functions are tools to help you navigate and further develop this structure.

MAXQDA allows you to analyze the combination of activated codes in different ways, by taking into account the different groupings and positions of coded segments. In this section, we will discuss the complex combinations modes, of which MAXQDA has many to offer.

To perform a complex retrieval you can call up the Complex Coding Query:

  • Select Complex Coding Query from the Analysis drop-down menu,
  • Click on the icon  in the status bar at the bottom of the MAXQDA screen, or
  • Right-click on the gray area in the “Retrieved Segments” window where the info boxes appear and choose Complex Coding Query from the context menu.
Access to the Complex Coding Query in the context menu of the “Retrieved Segments” window

The following dialog window will open:

Complex Coding query window

The dialog window has the following aspects:

  • The Function field allows you to choose the analysis function.
  • Below that, there are three windows, labeled A, B, and C.
  • Window A is important for almost every retrieval option and holds the selection of codes to be included in the selection function. To add codes, activate them in the “Code System” and then click the button to add All activated codes.
Tip: You can add codes directly from the “Code System” by using Drag & Drop to move codes to window A.
  • Window B is also for selecting codes, but you can do so from the quick list. Simply click on the  symbol to view the list.
Tip: To make a code appear in the quick list, just click on it in the “Code System”.
  • Window C allows you to set certain parameters (e.g. the maximum distance between two coded segments).

The “Result” window at the bottom shows how many segments would be pulled up if the retrieval were carried out with the current settings in Windows A, B, and C. Under this window is a description of the retrieval function that is currently selected, and on the right side, there is a visualization of what that function does.

The retrieval begins when you click on the Start button.

The following table gives you an overview of the various functions:

 

Name

Description

Intersection
(”small picture”)

Retrieve only the part segments that have all of the codes listed in "A" assigned to them.

Intersection (Set)

Retrieve only the part segments that have at least X of the codes listed in "A" assigned to them (the number X is specified in "C").

Overlapping
(”big picture”)

Retrieve the full segments where at least one part has all the codes listed in "A" assigned to it.

Only one code

Search for segments where only one of the codes listed in "A" is assigned (and none of the other codes listed in "A").

Only this code

Search for segments where the code selected in "B" is assigned, but none of the codes listed in "A" are assigned.

If inside

Search for segments assigned to any one of the codes listed in "A" that are also completely surrounded by a segment assigned to the code selected in "B".

If outside

Search for segments assigned to any one of the codes listed in "A" that has no overlap or intersection with a segment assigned to the code selected in "B".

Followed by

Search for segments assigned to any one of the codes listed in "A" that is followed by a segment assigned to the code selected in "B" within no more than X paragraphs. The number X is specified in "C". (Does not work in image or PDF documents.)

Near

Search for segments assigned to any one of the codes listed in "A" that is preceded or followed by a segment assigned to the code selected in "B" within no more than X paragraphs. The number X is specified in "C". (Does not work in image or PDF documents.)

You can see which retrieval function is currently active in the status bar at the bottom of MAXQDA, in this case it is the “Near” function:

Retrieval function in the status bar
Note: If there are no segments shown in the “Retrieved Segments” window, it could be because a retrieval function was accidentally activated. You can quickly check for this in the status bar.

Was this article helpful?



Finding Important Coded Segments Using Weight Scores

All segments that appear in the “Retrieved Segments” window have their weight listed next to the source data.

Weight score in the info box next to each retrieved segment

These weight scores can be used for the retrieval process. The user can define a range for the weight scores in order to retrieve only those document segments with scores inside of that range.

If you choose to activate the weight filter, the following window will appear. You can enter any numbers between 0 and 100.

Setting the range for the Weight filter

This will cause only those segments to be displayed in the “Retrieved Segments” window that have a weight score within the defined range. The weight filter affects all retrieval functions, including “Intersection” and all functions of the Complex Coding Query.

Display of weight filter in the status bar

The status bar at the bottom of your screen contains information about the document and codes that are currently active as well as the weight option, symbolized by the paperweight. This icon tells you if the weight filter is active or not, as well as its range. By clicking on this icon, you can change the default value that is assigned when coding segments.

Was this article helpful?



Complex Retrievals

Was this article helpful?



Detailed Information about Complex Retrieval Functions

Intersection (“small picture”)

Definition: Retrieve only the part segments that have all of the codes listed in "A" assigned to them.

How it works:

Activate documents and/or document groups that you want to include. Activate the codes in the “Code System” that you want and then click on All activated codes in the text retrieval dialog window to insert them in Window A.

Tip: All codes in Window A must be attached to a segment for it to be called up!

Changing the activations in the “Document System” immediately changes your results.

It is often helpful for this function to include the subcodes, so that all combinations of intersections between each code (and its subcodes) are automatically included. The easiest way to include the subcodes is to click on the  symbol at the bottom of the screen.

Example:

Intersection (Set)

Definition: Retrieve only the part segments that have at least X of the codes listed in "A" assigned to them (the number X is specified in "C").

How it works:

Activate documents or document groups you want included in the retrieval. Activate the codes to be included in the “Code System.” Click on the button All activated codes to have the activated codes inserted in Window A.

Set the minimum number of codes that must intersect in Window C.

You can see in the “Results” window how many retrieved segments would be found based on intersections.

Result:

The intersecting segments are listed in the “Retrieved Segments” window.

Example:

If Codes 1, 2, 3, and 4 are entered in Window A, and you have entered in Window C that at least three intersections are required, the first two examples to the right would not be called up. The first doesn’t have any intersections, and the second only has two intersecting codes. The third has the required three intersection codes, though, so it would be listed in the “Retrieved Segments” window.

Only the section of the coded segments that is coded with all three codes is displayed.

 

Overlapping (“big picture”)

Definition: Retrieve the full segments where at least one part has all the codes listed in "A" assigned to it.

How it works:

Activate documents or document groups you want included in the retrieval. Activate the codes to be included in the “Code System.” Click on the button All activated codes to have the activated codes inserted in Window A.

Attention: Segments will only be listed if they are coded with all codes listed in Window A.

The “Overlapping” function works just like the “Intersection” function, except that the results are displayed differently. The results of “Overlapping” include the entirety of each coded segment that overlaps, rather than just showing the section that is coded with both codes.

As with the “Intersection” function, it is often helpful to include subcodes in the retrievals. Then all combinations of subcodes are tested for overlap.

Example:

Only One Code

Definition: Search for segments where only one of the codes listed in "A" is assigned (and none of the other codes listed in "A").

Note: Think carefully before using this function as it could pull up a very large number of segments.

How it works:

Activate documents or document groups you want included in the retrieval. Activate the codes to be included in the “Code System.” Click on the button All activated codes to have the activated codes inserted in Window A.

 

Example:        

If codes 1 and 2 are in Window A, the first two examples on the right would be included in the retrieval, because they don’t overlap each other. The fact that codes 2 and 3 overlap makes no difference, because code 3 is not in Window A. The third example would not be included in the retrieval because codes 1 and 2 intersect.

 

Only This Code

Definition: Search for segments where the code selected in "B" is assigned, but none of the codes listed in "A" are assigned.

This function is very similar to the “Only One Code” function, but it targets only one selected code. The target code is selected in Window B. The other codes are selected as usual in Window A.

 

How it works:

  1. Activate documents or document groups you want included in the retrieval.
  2. Choose the code from the quick list in Window B that you want to call up. If the code is not there that you want to select, left-click on it in the “Code System” and try again.
  3. Now activate the codes for Window A in the “Code System” and click on the button All activated codes to have the activated codes inserted in Window A.

Example:

Code 1 is the selected code (Window B). Code 2 and 3 are the codes in Window A. When either Code 2 or Code 3 intersects with Code 1, Code 1 is not listed. This is the case in the second and third examples on the right. Only the first example shows an instance of Code 1 that isn’t intersected by Code 2 or Code 3. It would be listed in the “Retrieved Segments” window.

 

 

If Outside

Definition: Search for segments assigned to any one of the codes listed in "A" that has no overlap or intersection with a segment assigned to the code selected in "B".

 

How it works:

  1. Activate documents or document groups you want included in the retrieval.
  2. Activate the codes to be inserted in Window A in the “Code System.” Click on the button All activated codes to have the activated codes inserted in Window A.
  3. Pick the codes for Window B from the quick list. If they are not there, left-click on them in the “Code System” and try again.

Example:

This function would be helpful if you were looking for text segments in which people talk about what they consider possible, but don’t want to include those instances that are in the context of these peoples’ wishes.

Code 1 is in Window A, and Code 2 is in Window B. This means you are looking for instances of Code 1 that are completely outside of Code 2. In the example on the right, only the third example would be called up. In the first example, Code 1 isn’t even there, and in the second, Code 1 is not completely outside of Code 2.

If Inside

Definition: Lists segments where the code in Window A is completely surrounded by the code in Window B. Results can be the segments of the inner code (Window A) or the outer code (Window B).

 

How it works:

  1. Activate documents or document groups you want included in the retrieval. Activate the codes to be inserted in Window A in the “Code System.” Click on the button All activated codes to have the activated codes inserted in Window A.
  2. Pick the codes for Window B from the quick list. If they are not there, left-click on them in the “Code System” and try again.
  3. You can then set what you want to view as the result of this function; you can choose to call up the segments coded with the code in Window A, those coded with the code in Window B, or both.

Example:

Let’s say you are interested in the things people said about criteria for success, but only in the context of what they consider feasible. You could use this function, putting the “criteria for success” code in Window A and the “considered feasible” code in Window B.

In the examples on the right, only the first shows a case where Code 1 (Window A) is found completely inside Code 2 (Window B). That is not the case in the second or the third examples.

Followed By

Definition: Search for segments assigned to any one of the codes listed in "A" that is followed by a segment assigned to the code selected in "B" within no more than X paragraphs. The number X is specified in "C". (Does not work in image or PDF documents.)

 

How it works:

  1. Activate documents or document groups you want included in the retrieval. Activate the codes to be inserted in Window A in the “Code System.” Click on the button All activated codes to have the activated codes inserted in Window A. These are the codes that will be looked for.
  2. Pick the codes for Window B from the quick list. If they are not there, left-click on them in the “Code System” and try again. These are the codes that must follow the Window A code(s) within a certain number of paragraphs.
  3. In Window C, you can insert the maximum number of paragraphs to look for the Window B code(s) after finding a Window A code.
  4. Finally, you can choose what you want to view as the results in the “Retrieved Segments” window.

Example:

In the example on the right, we are looking for Code 1 (Window B) following Code 2 (Window A) within two paragraphs.

Code 1 appears four times in the example, but only the third instance would be included in the results, because it follows an instance of Code 2 within two paragraphs.

 

Near

Definition: Search for segments assigned to any one of the codes listed in "A" that is preceded or followed by a segment assigned to the code selected in "B" within no more than X paragraphs. The number X is specified in "C". (Does not work in image or PDF documents.)

 

How it works:

  1. Activate documents or document groups you want included in the retrieval. Activate the codes to be inserted in Window A in the “Code System.” Click on the button All activated codes to have the activated codes inserted in Window A. These are the codes that will be looked for.
  2. Pick the codes for Window B from the quick list. If they are not there, left-click on them in the “Code System” and try again. These are the codes that must be near the Window A code(s) within a certain number of paragraphs.
  3. In Window C, you can insert the maximum number of paragraphs away the Window A code can be from the Window B code.
  4. Finally, you can choose what you want to view as the results in the “Retrieved Segments” window.

Example:

We are looking for places where Code 2 (Window A) and Code 1 (Window B) are found within two paragraphs of each other (Window C).

Code 1 is found four times in the screenshot, but only the second and third instances are within two paragraphs of Code 2.

We chose to view the Window B code in the Retrieved Segments, but we could have theoretically chosen to list the Window A code or even both of them.

 

Was this article helpful?