Statistical Depth for Text Data: An Application to the Classification of Healthcare Data

This manuscript introduces a new concept of statistical depth function: the compositional <i>D</i>-depth. It is the first data depth developed exclusively for text data, in particular, for those data vectorized according to a frequency-based criterion, such as the <i>tf-idf</i&g...

Full description

Bibliographic Details
Main Authors: Sergio Bolívar, Alicia Nieto-Reyes, Heather L. Rogers
Format: Article
Language:English
Published: MDPI AG 2023-01-01
Series:Mathematics
Subjects:
Online Access:https://www.mdpi.com/2227-7390/11/1/228
Description
Summary:This manuscript introduces a new concept of statistical depth function: the compositional <i>D</i>-depth. It is the first data depth developed exclusively for text data, in particular, for those data vectorized according to a frequency-based criterion, such as the <i>tf-idf</i> (term frequency–inverse document frequency) statistic, which results in most vector entries taking a value of zero. The proposed data depth consists of considering the inverse discrete Fourier transform of the vectorized text fragments and then applying a statistical depth for functional data, <i>D</i>. This depth is intended to address the problem of sparsity of numerical features resulting from the transformation of qualitative text data into quantitative data, which is a common procedure in most natural language processing frameworks. Indeed, this sparsity hinders the use of traditional statistical depths and machine learning techniques for classification purposes. In order to demonstrate the potential value of this new proposal, it is applied to a real-world case study which involves mapping Consolidated Framework for Implementation and Research (CFIR) constructs to qualitative healthcare data. It is shown that the <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mi>D</mi><msup><mi>D</mi><mi>G</mi></msup></mrow></semantics></math></inline-formula>-classifier yields competitive results and outperforms all studied traditional machine learning techniques (logistic regression with LASSO regularization, artificial neural networks, decision trees, and support vector machines) when used in combination with the newly defined compositional <i>D</i>-depth.
ISSN:2227-7390