Skip to main navigation Skip to search Skip to main content

Statistical inference for natural language processing algorithms with a demonstration using type 2 diabetes prediction from electronic health record notes

  • Temple University
  • Fox Chase Cancer Center

Research output: Contribution to journalArticlepeer-review

4 Scopus citations

Abstract

The pointwise mutual information statistic (PMI), which measures how often two words occur together in a document corpus, is a cornerstone of recently proposed popular natural language processing algorithms such as word2vec. PMI and word2vec reveal semantic relationships between words and can be helpful in a range of applications such as document indexing, topic analysis, or document categorization. We use probability theory to demonstrate the relationship between PMI and word2vec. We use the theoretical results to demonstrate how the PMI can be modeled and estimated in a simple and straight forward manner. We further describe how one can obtain standard error estimates that account for within-patient clustering that arises from patterns of repeated words within a patient's health record due to a unique health history. We then demonstrate the usefulness of PMI on the problem of predictive identification of disease from free text notes of electronic health records. Specifically, we use our methods to distinguish those with and without type 2 diabetes mellitus in electronic health record free text data using over 400 000 clinical notes from an academic medical center.

Original languageEnglish
Pages (from-to)1089-1100
Number of pages12
JournalBiometrics
Volume77
Issue number3
DOIs
StatePublished - Sep 2021

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being

Keywords

  • cluster-corrected standard errors
  • electronic health records
  • natural language processing
  • probability models
  • word2vec

Fingerprint

Dive into the research topics of 'Statistical inference for natural language processing algorithms with a demonstration using type 2 diabetes prediction from electronic health record notes'. Together they form a unique fingerprint.

Cite this