/textmatching

Development work for text matching

Primary LanguageR

textmatching: An R Package for Matching Adjustment of Text-based Confounding

Authors: Rich Nielsen, Molly Roberts, Brandon Stewart

Paper: Adjusting for Confounding with Text Matching

Please email all comments/questions to bms4 [AT] princeton.edu

Summary

This package implements the core functionality of the paper "Adjusting for Confounding with Text Matching." We hope to add more features and methods going forward.

The package currently includes functionality to:

  • refit documents in an STM model under different content covariate level
  • extract a projection onto a content covariate under an STM model
  • use CEM to match on the extracted information

Other Resources

See other materials at www.structuraltopicmodel.com