Skip to main content

Main menu

  • Home
  • Current Issue
  • Content
    • Current Issue
    • Early Access
    • Multimedia
    • Podcast
    • Collections
    • Past Issues
    • Articles by Subject
    • Articles by Type
    • Supplements
    • Plain Language Summaries
    • Calls for Papers
  • Info for
    • Authors
    • Reviewers
    • Job Seekers
    • Media
  • About
    • Annals of Family Medicine
    • Editorial Staff & Boards
    • Sponsoring Organizations
    • Copyrights & Permissions
    • Announcements
  • Engage
    • Engage
    • e-Letters (Comments)
    • Subscribe
    • Podcast
    • E-mail Alerts
    • Journal Club
    • RSS
    • Annals Forum (Archive)
  • Contact
    • Contact Us
  • Careers

User menu

  • My alerts

Search

  • Advanced search
Annals of Family Medicine
  • My alerts
Annals of Family Medicine

Advanced Search

  • Home
  • Current Issue
  • Content
    • Current Issue
    • Early Access
    • Multimedia
    • Podcast
    • Collections
    • Past Issues
    • Articles by Subject
    • Articles by Type
    • Supplements
    • Plain Language Summaries
    • Calls for Papers
  • Info for
    • Authors
    • Reviewers
    • Job Seekers
    • Media
  • About
    • Annals of Family Medicine
    • Editorial Staff & Boards
    • Sponsoring Organizations
    • Copyrights & Permissions
    • Announcements
  • Engage
    • Engage
    • e-Letters (Comments)
    • Subscribe
    • Podcast
    • E-mail Alerts
    • Journal Club
    • RSS
    • Annals Forum (Archive)
  • Contact
    • Contact Us
  • Careers
  • Follow annalsfm on Twitter
  • Visit annalsfm on Facebook
Research ArticleOriginal Research

Using Machine Learning to Predict Primary Care and Advance Workforce Research

Peter Wingrove, Winston Liaw, Jeremy Weiss, Stephen Petterson, John Maier and Andrew Bazemore
The Annals of Family Medicine July 2020, 18 (4) 334-340; DOI: https://doi.org/10.1370/afm.2550
Peter Wingrove
1University of Pittsburgh, School of Medicine, Pittsburgh, Pennsylvania
2Robert Graham Center, Washington, DC
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: pmw27@pitt.edu
Winston Liaw
2Robert Graham Center, Washington, DC
3University of Houston, College of Medicine, Department of Health Systems and Population Health Sciences, Houston, Texas
MD, MPH
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Jeremy Weiss
4Carnegie Mellon University, Pittsburgh, Pennsylvania
MD, PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Stephen Petterson
2Robert Graham Center, Washington, DC
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
John Maier
5University of Pittsburgh, Department of Biomedical Informatics, Pittsburgh, Pennsylvania
MD, PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Andrew Bazemore
2Robert Graham Center, Washington, DC
MD, MPH
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • Article
  • Figures & Data
  • eLetters
  • Info & Metrics
  • PDF
Loading

Abstract

PURPOSE To develop and test a machine-learning–based model to predict primary care and other specialties using Medicare claims data.

METHODS We used 2014-2016 prescription and procedure Medicare data to train 3 sets of random forest classifiers (prescription only, procedure only, and combined) to predict specialty. Self-reported specialties were condensed to 27 categories. Physicians were assigned to testing and training cohorts, and random forest models were trained and then applied to 2014-2016 data sets for the testing cohort to generate a series of specialty predictions. Comparing the predicted specialty to self-report, we assessed performance with F1 scores and area under the receiver operating characteristic curve (AUROC) values.

RESULTS A total of 564,986 physicians were included. The combined model had a greater aggregate (macro) F1 score (0.876) than the prescription-only (0.745; P <.01) or procedure-only (0.821; P <.01) model. Mean F1 scores across specialties in the combined model ranged from 0.533 to 0.987. The mean F1 score was 0.920 for primary care. The mean AUROC value for the combined model was 0.992, with values ranging from 0.982 to 0.999. The AUROC value for primary care was 0.982.

CONCLUSIONS This novel approach showed high performance and provides a near real-time assessment of current primary care practice. These findings have important implications for primary care workforce research in the absence of accurate data.

Key words
  • biostatistical methods
  • workforce
  • Medicare
  • Received for publication February 22, 2019.
  • Revision received November 27, 2019.
  • Accepted for publication January 6, 2020.
  • © 2020 Annals of Family Medicine, Inc.
View Full Text
PreviousNext
Back to top

In this issue

The Annals of Family Medicine: 18 (4)
The Annals of Family Medicine: 18 (4)
Vol. 18, Issue 4
July/August 2020
  • Table of Contents
  • Index by author
  • Back Matter (PDF)
  • Front Matter (PDF)
  • The Issue in Brief
Print
Download PDF
Article Alerts
Sign In to Email Alerts with your Email Address
Email Article

Thank you for your interest in spreading the word on Annals of Family Medicine.

NOTE: We only request your email address so that the person you are recommending the page to knows that you wanted them to see it, and that it is not junk mail. We do not capture any email address.

Enter multiple addresses on separate lines or separate them with commas.
Using Machine Learning to Predict Primary Care and Advance Workforce Research
(Your Name) has sent you a message from Annals of Family Medicine
(Your Name) thought you would like to see the Annals of Family Medicine web site.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
3 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Citation Tools
Using Machine Learning to Predict Primary Care and Advance Workforce Research
Peter Wingrove, Winston Liaw, Jeremy Weiss, Stephen Petterson, John Maier, Andrew Bazemore
The Annals of Family Medicine Jul 2020, 18 (4) 334-340; DOI: 10.1370/afm.2550

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
Get Permissions
Share
Using Machine Learning to Predict Primary Care and Advance Workforce Research
Peter Wingrove, Winston Liaw, Jeremy Weiss, Stephen Petterson, John Maier, Andrew Bazemore
The Annals of Family Medicine Jul 2020, 18 (4) 334-340; DOI: 10.1370/afm.2550
Twitter logo Facebook logo Mendeley logo
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Jump to section

  • Article
    • Abstract
    • INTRODUCTION
    • METHODS
    • RESULTS
    • DISCUSSION
    • Footnotes
    • References
  • Figures & Data
  • eLetters
  • Info & Metrics
  • PDF

Related Articles

  • PubMed
  • Google Scholar

Cited By...

  • No citing articles found.
  • Google Scholar

More in this TOC Section

  • Family Physicians in Focused Practice in Ontario, Canada: A Population-Level Study of Trends From 1993/1994 Through 2021/2022
  • Seven Opportunities for Artificial Intelligence in Primary Care Electronic Visits: Qualitative Study of Staff and Patient Views
  • Agile Implementation of a Digital Cognitive Assessment for Dementia in Primary Care
Show more Original Research

Similar Articles

Subjects

  • Methods:
    • Cross-disciplinary
  • Other topics:
    • Health informatics
    • Research capacity building

Keywords

  • biostatistical methods
  • workforce
  • Medicare

Content

  • Current Issue
  • Past Issues
  • Early Access
  • Plain-Language Summaries
  • Multimedia
  • Podcast
  • Articles by Type
  • Articles by Subject
  • Supplements
  • Calls for Papers

Info for

  • Authors
  • Reviewers
  • Job Seekers
  • Media

Engage

  • E-mail Alerts
  • e-Letters (Comments)
  • RSS
  • Journal Club
  • Submit a Manuscript
  • Subscribe
  • Family Medicine Careers

About

  • About Us
  • Editorial Board & Staff
  • Sponsoring Organizations
  • Copyrights & Permissions
  • Contact Us
  • eLetter/Comments Policy

© 2025 Annals of Family Medicine