Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Text mining›Text Regression — Predicting Numbers from Text
Process / pipeline

Text Regression — Predicting Numbers from Text

Text-Based Regression · Also known as: text-as-data regression, predicting numeric outcomes from text, Metin Tabanlı Regresyon

Text-based regression predicts a continuous target variable using features extracted from text — TF-IDF scores, embeddings, or n-grams — as the independent variables. Building on the text-as-data programme consolidated by Gentzkow, Kelly and Taddy (2019), it lets a numeric outcome such as a price, a rating, or a sentiment score be estimated directly from documents, and is widely used in social-science, economics, and finance applications.

ScholarGate
  1. Process / pipeline
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Text Regression
BERT EmbeddingsSentiment AnalysisText ClassificationTF-IDFN-gram Language Model

When to use it

Use text regression when you have a text predictor and a continuous numeric outcome you want to predict from it, with at least roughly fifty documents to learn from. The text must first be vectorised, and dimensionality reduction is often helpful given how wide text feature spaces are. It does not assume normally distributed inputs. With far fewer documents, or with no numeric target to regress on, the method is not appropriate.

Strengths & limitations

Strengths
  • Lets a continuous outcome be predicted directly from text, with no manual coding of document content.
  • Works with several feature types — TF-IDF, embeddings, or n-grams — so the representation can match the corpus.
  • Does not require normally distributed inputs, fitting the sparse, high-dimensional features text produces.
Limitations
  • Needs a reasonable sample (around fifty documents or more) to estimate stable coefficients.
  • Text must be vectorised first, and the very high dimensionality usually calls for dimensionality reduction.
  • Predictive quality depends on how well the chosen text features carry signal about the numeric target.

Frequently asked

What kind of target does text regression predict?

A continuous numeric variable — for example a price, a rating, or a sentiment score. If the target is a category rather than a number, text classification is the matching method instead.

Which text features should I use as predictors?

TF-IDF scores, word or document embeddings, and n-gram counts are all standard choices. The best representation depends on the corpus and the signal you expect the wording to carry about the target.

How much data do I need?

The method expects on the order of fifty documents or more so the regression can estimate stable coefficients. Because text features are high-dimensional, dimensionality reduction is often advisable even when the sample is adequate.

Why is dimensionality reduction recommended?

Text vectorisation produces very wide, sparse feature matrices. Reducing the dimensionality compresses redundant features, stabilises the fit, and helps the model generalise instead of memorising rare wordings.

Sources

  1. Gentzkow, M., Kelly, B. & Taddy, M. (2019). Text as Data. Journal of Economic Literature, 57(3), 535-574. DOI: 10.1257/jel.20181020 ↗
  2. Taddy, M. (2013). Measuring Political Sentiment on Twitter: Factor Optimal Design for Multinomial Inverse Regression. Technometrics, 55(4), 415-425. DOI: 10.1080/00401706.2013.778791 ↗

How to cite this page

ScholarGate. (2026, June 1). Text-Based Regression. ScholarGate. https://scholargate.app/en/text-mining/text-regression

Related methods

BERT EmbeddingsSentiment AnalysisText ClassificationTF-IDF

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • BERT EmbeddingsText mining↔ compare
  • Sentiment AnalysisText mining↔ compare
  • Text ClassificationText mining↔ compare
  • TF-IDFText mining↔ compare
Compare side by side →

Referenced by

N-gram Language Model

Similar methods

Text ClassificationDocument ClusteringKeyword ExtractionTF-IDFSentiment AnalysisFake News DetectionDictionary-Based Text AnalysisText Frequency Analysis

Related reference concepts

Text Classification and Sentiment AnalysisText ClassificationRegression and Function ApproximationText Representation and ClassificationDocument Representation and WeightingText Clustering

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Text Regression (Text-Based Regression). Retrieved 2026-07-21 from https://scholargate.app/en/text-mining/text-regression · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Type
Supervised regression on text features
Predictors
Text features (TF-IDF, embeddings, n-grams)
Target
Continuous numeric variable
MinSample
50
Difficulty
Intermediate (2/5)
Fields
Social sciences, economics, finance
Related methods
BERT EmbeddingsSentiment AnalysisText ClassificationTF-IDF
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account