Published November 6, 2020 | Version v1

A Framework for Using Machine Learning to Support Qualitative Data Coding

  • 1. RTI International

Description

Open-ended survey questions provide qualitative data that are useful for a multitude of reasons. These data can help survey researchers add depth or nuance to quantitative findings and can also be used to better understand phenomena before drafting future measures. However, qualitative data analysis is labor intensive, and researchers often lack the needed time and resources to take full advantage of the benefits these data can provide. As a result, open-ended questions are often underutilized in analysis of survey data, or even omitted entirely from surveys.

To address these issues, we evaluated a method to support qualitative analysis using machine learning to auto-code open-ended survey responses. Specifically, we used human-coded qualitative data from an open-ended question on a 2018 employee survey to train a model that predicted codes to apply to data from the same question on the 2019 survey. The model employed transfer learning and followed BERT machine learning architecture. The model-predicted codes were adjudicated by human coders well-versed in the code definitions and coding structure. During the adjudication process each coded response was reviewed to ensure predicted codes were accurate and complete. Precision (i.e., of the predicted codes, what percent were correct) and recall (i.e., of the codes that should have been applied, what percent were predicted) were calculated for each code to determine the accuracy of coding predictions. We found precision values for the 24 codes in the coding frame ranged from 88% to 98% (95.6% overall), with recall ranging from 56% to 94% (81.5% overall). The majority of codes had precision and recall values above 90%. Results suggest this is a promising approach that can be used to support traditional coding methods and has the potential to alleviate some of the burden associated with qualitative data analysis.

Files

Files (1.4 MB)

Name Size
md5:995f1cd8d93cf31ee76e1e20295206c7
1.4 MB Download