# Inference for Regression with Variables Generated by AI or Machine Learning

arXiv: https://arxiv.org/abs/2402.15585 · HTML: https://mlsanity.com/paper/2402.15585/

## Key facts

- Cited by 12 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 23 Feb 2024.

## Built on by (most cited first, 12 of 12)

- [Demand Estimation with Text and Image Data](https://mlsanity.com/paper/2503.20711/) (2025)
- [E-LDA: Toward Interpretable LDA Topic Models with Strong Guarantees in Logarithmic Parallel Time](https://mlsanity.com/paper/2506.07747/) (2025)
- [This Candidate is [MASK]. Prompt-based Sentiment Extraction and Reference Letters](https://mlsanity.com/paper/2410.16325/) (2024)
- [Causal Reconstruction of Sentiment Signals from Sparse News Data](https://mlsanity.com/paper/2603.23568/) (2026)
- [Bootstrapping with AI/ML-generated labels](https://mlsanity.com/paper/2604.23770/) (2026)
- [Moment-Based Inference for Regression with Latent Dirichlet Covariates](https://mlsanity.com/paper/2605.30718/) (2026)
- [Econometrics with Pre-Trained Embeddings for Unstructured Data](https://mlsanity.com/paper/2607.17378/) (2026)
- [When Predictions Become Regressors: A Split-Sample Correction for Biases in Downstream Inference](https://mlsanity.com/paper/2608.02909/) (2026)
- [Coarsening Latent-Class Probabilities: Directional Distortion and Coverage Loss](https://mlsanity.com/paper/2608.11784/) (2026)
- [When Can We Work in Embedding Space? What Text Embeddings Preserve](https://mlsanity.com/paper/2608.31059/) (2026)
- [When AI Generates Covariates: Causal Typing and Estimand Drift in Sequential Experiments](https://mlsanity.com/paper/2609.17772/) (2026)
- [Information Set Emulation: Causal Certificates for AI Derived EHR Features](https://mlsanity.com/paper/2609.17777/) (2026)

## Abstract (arXiv)

Researchers now routinely use AI or other machine learning methods to estimate latent variables of economic interest, then plug-in the estimates as covariates in a regression. We show both theoretically and empirically that naively treating AI/ML-generated variables as "data" leads to biased estimates and invalid inference. To restore valid inference, we propose two methods: (1) an explicit bias correction with bias-corrected confidence intervals, and (2) joint estimation of the regression parameters and latent variables. We illustrate these ideas through applications involving label imputation, dimensionality reduction, and index construction via classification and aggregation.
