Get Updates

AI Decision Models: Measuring Text at Scale - A Short Course

A 3-Day Livestream Seminar Taught by Neal Caren, Ph.D.

Researchers who automate text coding have often faced a trade-off between the speed of machine-learning classifiers and the judgment offered by large language models. A new generation of calibrated decision models, including TypeSafe’s Jev, offers both. Given a passage and a set of answer options you define, these models return a probability for each answer rather than generating text. They’re designed to be fast, inexpensive, and limited to the answer options you provide.

For social scientists who code open-ended survey answers, news, speeches, and posts, decision models open up new possibilities. You can ask a model to apply a complex codebook to millions of passages, see how confident it is in each classification, and decide which cases need human review. But these capabilities also raise important questions. Is the model measuring what you mean? Can its probabilities be trusted? What happens when its errors enter a regression?

On some tasks, decision models can achieve accuracy comparable to or better than human coders. But no single model wins every task, and even highly accurate labels can produce misleading research findings. This course teaches you how to use decision models effectively: how to translate codebooks into questions, evaluate their accuracy and probabilities, combine them with human judgment, and account for classification errors in statistical analysis. You’ll also compare them with chat models and conventional classifiers to understand when decision models offer a genuine advantage, and when another approach is better.

Starting January 14, this seminar will be presented as a 3-day synchronous, livestream workshop via Zoom. Each day will feature two lecture sessions with hands-on exercises, separated by a 1-hour break. Live attendance is recommended for the best experience. If you can’t join in real time, recordings will be available within 24 hours and can be accessed for four weeks after the seminar.

Closed captioning is available for all live and recorded sessions. Captions can be translated to a variety of languages, including Spanish, Korean, and Italian. For more information, click here.

ECTS Equivalent Points: 1

More details about the course content

The seminar follows a complete workflow, from codebook to regression estimate. You will run the same coding task through a decision model, a chat model’s answer probabilities, and an embedding classifier, and compare them on the same hand-coded items. The models change monthly, so the course teaches you to compare them yourself. The course does not depend on any single model or provider.

Along the way, you will learn what it takes for model-coded text to hold up as a measure. Models can interpret codebook instructions differently depending on the order and wording of answer options. Validation happens one construct at a time, since a model that codes topic well may code tone poorly. A predicted probability of 0.9 is well calibrated if approximately 90 percent of the corresponding classifications are correct, both overall and within the groups being compared. Probabilities also allow you to adjust classification cutoffs without rewriting definitions and route uncertain cases to human reviewers.

Misclassification can bias regression estimates even when you code the full corpus, so the course ends with methods that combine model labels with a random sample of hand-coded items to produce valid standard errors. In a take-home exercise, you will rerun a published study’s analysis with a new coder and see whether its conclusions hold.

By the end of the seminar, you will have:

    • A codebook rewritten as model-ready questions, tested for sensitivity to wording and revised against hand-coded items
    • An evaluation of decision models against human coding, chat models, and embedding classifiers, including when conventional classifiers become competitive
    • Calibration checks for each construct, overall and within the groups you compare
    • A pipeline that routes uncertain items for human review, with measures of its cost and error rates
    • A regression analysis that accounts for classification error when estimating uncertainty, along with an assessment of whether a published finding holds under a different coding approach

Computing

You will not write much code yourself. We provide sample code, and you will work as a research director: an AI coding agent such as Claude Code, Codex, Google’s Antigravity, or OpenCode adapts and runs the code, and you make the measurement decisions. Hosted decision models will be accessible through a class API endpoint provided by the instructor, with usage costs covered by the course. You’ll also need access to an AI coding agent (Claude Code, Codex, Antigravity, or OpenCode) through a paid subscription or API account.

You will need a laptop with R and RStudio or Python; results can be exported to Stata. To follow along with the course exercises, you should be comfortable using either R or Python.

Exercises use public data with human labels. Before sending any data to a hosted service, check your institution’s and the data provider’s rules.

To summarize, you will need:

    • A laptop with R and RStudio, or Python
    • Claude Code, Codex, Antigravity, or a similar AI coding agent, with a paid subscription or API account
    • A class API key for hosted models (provided; no vendor accounts needed)

We will provide up-to-date setup guidance before the seminar. Prepared outputs are available if a service is down.

Who should register?

This course is for faculty, postdocs, graduate students, and research staff in the social, behavioral, economic, and health sciences who code text, including open-ended survey responses, news articles, political speeches, social media posts, and policy documents. It is especially useful if you have coded text with a chat model and wondered whether to trust the labels, or if you want to know whether decision models are worth learning. Course examples use English-language text, but the workflow can be applied to other languages, where additional validation may be especially important.

You should be comfortable running regressions, including logistic regression, and running R or Python code. You should also have some experience coding text by hand or reading content-analysis research. If you have never used a coding agent, courses like AI Agent-Driven Research Workflows, Getting Work Done with AI Agents, or LLM Agents for Research Using R are a good place to start. No machine learning background is required.

Outline

Part 1: What is new?

Ways to code text

    • From dictionaries and supervised classifiers to embeddings, zero-shot classifiers, chat models, and decision models
    • Today’s decision models: TypeSafe’s Jev, OpenAI’s Decisions API, and dozens of open models
    • What predicted probabilities reveal about each answer option
    • What decision models cannot do

A first coding task

    • Comparing approaches based on training data requirements, instruction flexibility, and the total cost of producing defensible measurements
    • Hands-on practice: one coding task run through a decision model, a chat model, and an embedding classifier

Part 2: Does it measure what you mean?

From codebook to questions

    • Writing each code as a choice, a yes-or-no question, or a scale; choosing the unit of text; and deciding whether codes are mutually exclusive
    • Testing sensitivity to option order, option labels, and wording
    • Reviewing cases where models and human coders disagree and revising the codebook accordingly
    • Hands-on practice: converting a published codebook, coding a first batch, and testing a revision on new texts

Validation and comparison

    • Determining how many items to hand-code and why some should be reserved for validation
    • Drawing hand-coded items with known probabilities, so rare categories are covered and the same items can later correct your estimates
    • Combining several models when no single one wins every task
    • Hands-on practice: training on 25, 50, 100, and 250 hand-coded items to see when an embedding classifier catches up with the decision model

Part 3: When can you trust the probabilities?

Checking calibration

    • What a calibrated probability is, how to check one, and what it does not tell you
    • Identifying overconfident predictions, both overall and within comparison groups
    • Adjusting probabilities with a small set of hand-coded items
    • Hands-on practice: calibration checks for each construct

Cutoffs and cascades

    • Comparing model-predicted category proportions with human coding and adjusting classification cutoffs before revising definitions
    • Setting an error and cost budget before seeing the results
    • Routing uncertain items for human review and measuring the pipeline’s cost and error rates
    • Take-home exercise: a cascade for your own codebook

Part 4: What do the labels do to your findings?

From labels to estimates

    • How misclassification biases regression estimates, even when the full corpus is coded
    • Combining model labels with a random sample of hand-coded items and examining the required sampling and error assumptions
    • Hands-on practice: comparing regression estimates using uncorrected and error-adjusted classifications

Reporting and reuse

    • Reporting model versions, settings, and validation so others can rerun your coding
    • Take-home exercise: rerunning a published study’s analysis with a new coder
    • Take-home exercise: a measurement plan for a text project in your own field

Seminar Information

Thursday, January 14 –
Saturday, January 16, 2027

Schedule: All sessions are held live via Zoom. All times are ET (New York time).

10:00am-12:30pm (convert to your local time)
1:30pm-3:30pm

Payment Information

The fee of $995 USD includes all course materials.

PayPal and all major credit cards are accepted.

Need funding from your employer or institution? Use our funding request template.

Our Tax ID number is 26-4576270.