1 Prediction, Causation, and the Vocabulary of AI
Week 1, 2 September
We begin with two questions. What distinguishes correlation, causation, prediction, and forecasting? And what do we mean when we talk about AI? These research goals are related, but they require different kinds of evidence. Similarly, machine learning, generative AI, reasoning models, and agents refer to different things. We need to be clear about both sets of distinctions before using them.
There is no code this week. We will spend the session working through these concepts, because even a technically impressive model can answer the wrong question. Clear definitions also help us examine public claims about AI: who designed a system, what it does, and who is responsible when it fails.
You develop theoretical arguments about politics throughout the programme. This course adds three things: using evidence to evaluate those arguments, using statistical and machine-learning models to anticipate outcomes, and studying AI systems as political objects. States, parties, platforms, and public administrations increasingly use these systems, so understanding them is part of understanding how those organizations act.
1.1 What kind of question are we asking?
Political scientists use qualitative, quantitative, and mixed-method research designs. All three can be empirical. They share a basic scientific principle: we should be willing to examine evidence that could count against our theoretical claims.
For Popper, scientific theories make claims that can be tested empirically and potentially falsified. A study may support a hypothesis, but it cannot prove the theory true. We still need to consider the research design, the quality of the measurement, and alternative explanations.
Lakatos shifts our attention from individual hypotheses to research programmes (Lakatos 1970). Are they generating new expectations and improving our understanding, or are their supporters adding qualifications after each failure? This question will be useful when we compare models. Better performance matters, but additional complexity does not necessarily mean we have learned more about the phenomenon.
We also need to be careful with null hypotheses. Rejecting a null hypothesis can support a substantive alternative. Failing to reject it can be informative too, especially with a strong design and adequate statistical power, but it does not prove the null true. When observations are consistent with a theory’s implications, we can describe them as empirical support. That support remains provisional.
Publishing research lets other scholars scrutinize the argument: examine its assumptions, repeat the analysis, use different data, and try to establish where the finding does not hold.
The table below sets out the four research goals we will use in the first part of the course.
| Research goal | Main question | What the evidence can establish |
|---|---|---|
| Correlation | Do two or more variables vary together? | The presence, direction, and strength of an association |
| Causation | Would changing \(X\) change \(Y\), all else being equal? | A causal effect, if the identification strategy is credible |
| Prediction | How well can we estimate an outcome for cases the model has not seen? | Whether the available information generalizes to unseen cases |
| Forecasting | How well can we anticipate outcomes that have not yet occurred? | Whether a model can provide useful information about the future |
Forecasting is technically a form of prediction. We discuss it separately because predicting the future introduces additional problems, especially concerning time and the information available when a prediction is made.
1.1.1 Correlation
Sometimes we want to describe a relationship: are two variables associated, and how strongly? The emphasis on causal inference in economics and political science has sometimes pushed this kind of research into the background. Yet description can bring a political phenomenon to our attention, and establishing a reliable pattern matters even when we do not yet know its cause.
Consider the relationship between economic development and democracy. Wealthier countries tend, on average, to be more democratic. This association leaves several possibilities open. Development might encourage democratization, democracy might contribute to development, another factor might affect both, or the relationship might work in both directions.
Here is a schematic way to show the distinction:
Correlation
\[Economic~development \overset{?; +/-}{\longleftrightarrow} Political~development\]
Possible causal relationships
\[Economic~development \overset{+/-}{\longrightarrow} Political~development\]
\[Economic~development \overset{+/-}{\longleftarrow} Political~development\]
The correlation describes the observed association. Each causal arrow makes a further claim that needs its own evidence.
1.1.2 Causation
A causal study needs an identification strategy. This is an argument about why we can interpret the estimated relationship as the effect of \(X\) on \(Y\), rather than as selection, reverse causation, measurement error, or an omitted factor. Calling \(X\) an independent variable does not make it exogenous. We need to defend that assumption through the research design.
In statistics, an estimator is biased when its expected value differs systematically from the parameter it is meant to estimate. Bias and statistical significance are different questions. Omitted variables, selection, and measurement problems can all prevent an estimate from recovering the causal quantity we want.
1.1.2.1 The experimental ideal
Randomized experiments offer a clear example of identification. In one of my research projects, I studied whether information about nonviolent resistance changes people’s attitudes toward it. I randomly assigned participants to two groups. One watched a clip about International Relations; the other watched a clip about nonviolent resistance. I then compared their average attitudes after the intervention.
The random assignment makes treatment status independent of participants’ pre-treatment characteristics by design. Across repeated assignments, the groups are comparable on average. In a particular experiment, they may still differ on some characteristics. Covariate summaries help us describe those differences, but the assignment procedure is what makes the experiment randomized.
Comparing the groups gives us an estimate of the average effect of receiving the information in this study. We can interpret the difference in outcomes because participants were assigned to the intervention rather than choosing it themselves.
1.1.2.2 Observational data
Experiments are often impossible in political science. For example, we cannot randomly assign countries to civil war or peace to study the economic consequences of conflict.
Instead, we use observational data generated by political and social processes. Countries are not randomly assigned to levels of democracy. If we study democracy’s effect on development, we must consider differences in state institutions, property rights, colonial histories, and other characteristics that may also affect economic performance.
Controlling for observed confounders may help, but it does not automatically resolve these problems. Matching, instrumental variables, regression discontinuity, panel designs, and other methods can support identification under particular assumptions. We will not develop those strategies in this course, but you should recognize when a causal claim requires one.
1.1.3 Prediction
For prediction, we ask: given the information available about a case, how accurately can we estimate its outcome?
To predict civil-war onset, for example, we might use income, terrain, state capacity, political institutions, conflict history, and regional conditions. We evaluate the model on cases it did not use for fitting.
This differs from estimating the causal effect of a particular variable. A bank might use postal code to predict loan default because it carries information about income, employment, housing, and ethnicity. Postal code could help prediction without explaining why someone defaults. Changing their postal code would not necessarily change their risk of default.
Shmueli distinguishes explanatory and predictive modeling (Shmueli 2010). Cranmer and Desmarais argue that political science has given too little attention to predictive performance (Cranmer and Desmarais 2017), and Hofman, Sharma, and Watts make a related argument about evaluating explanations of social phenomena (Hofman et al. 2017). These arguments give prediction a role alongside theory and causal identification, rather than replacing them with accuracy.
Predictive performance can help us assess an explanation. If an account repeatedly fails to anticipate the phenomenon it addresses, we should examine why. Still, successful prediction does not establish causation or provide a sufficient explanation. Social outcomes may also contain substantial noise, so a credible causal explanation need not predict individual cases very accurately.
The purpose of the model determines how we evaluate it. For prediction, performance on unseen cases is central, and flexible functional forms may help even without easily interpretable coefficients. For causal inference, good test-set accuracy cannot compensate for a weak identification strategy.
1.1.4 Forecasting
Forecasting concerns outcomes that have not yet happened.
Suppose we have housing-price data from 1990 to 2026. We fit a model on sales from 1990 to 2019 and test it on sales from 2020 to 2026. A prediction for a house sold in 2023 concerns an outcome hidden from the model but already known to us, so we can calculate the error straight away.
Using that model to estimate prices in 2027 or 2028 is forecasting. We will have to wait before we can fully evaluate those forecasts.
For forecasting, we normally split training and test data by time. A random split could let the model use observations from 2025 to predict a sale in 2010. That may suit some prediction tasks, but it does not reproduce the information available to someone anticipating the future.
A temporal test set lets us simulate forecasting with historical outcomes. It shows how the model would have performed in a previous period, but cannot guarantee that the relationships will remain stable. Systems such as ViEWS (Hegre et al. 2019) issue forecasts in real time; their performance can be fully assessed only after the forecast period has passed.
1.2 Why does confusing these goals produce bad research?
Here are four mistakes to watch for.
Causal language after a predictive model. High accuracy means the predictors contain useful information about the outcome. It does not establish what would happen if we intervened on one of them. Using a random forest does not change this distinction.
Predictive claims from a causal design. A design that identifies one causal effect may predict the overall outcome poorly. It was built to isolate an effect, which is a different task from anticipating individual cases.
Treating test-set performance as demonstrated forecast performance. Good performance on historical years held out for testing is useful evidence, but it does not establish how the model will perform next year, especially if political conditions change.
Applying the wrong evaluation standard. A predictive model need not have easily interpretable coefficients to be useful. A causal estimate need not come from a model with a high \(R^2\). Before applying either criticism, ask what the model was designed to do.
1.3 What is under the hood of AI?
Machine learning powers many contemporary AI systems, including credit scoring, content moderation, fraud detection, political-text classification, recommendation systems, and large language models. These systems rely heavily on models fitted to data.
AI also includes systems based on written rules, search, optimization, and combinations of these with fitted models. Machine learning is therefore a major part of AI, but the two terms are not interchangeable.
We will use the following terms when discussing particular algorithms.
Features are the inputs available to a model. Labels are known outcomes attached to training cases. Training, or fitting, adjusts a model’s internal quantities to make its outputs correspond more closely to the examples. A test set contains cases excluded from fitting, allowing us to examine how well the model generalizes.
1.3.1 Supervised, unsupervised, and self-supervised learning
Supervised learning uses labeled examples to learn a mapping from features to outcomes. Country-years might be labeled war or peace, for instance, or parliamentary motions might be labeled by topic. The classifiers in Weeks 2 through 4 use supervised learning.
Unsupervised learning looks for structure without an outcome label: clusters of similar cases, for example, or dimensions along which cases vary. Without known correct labels, evaluation is less straightforward. We will discuss this approach alongside the supervised models in the first half of the course.
Self-supervised learning creates a prediction task from unlabeled data, and is often treated as a branch of unsupervised learning. The data themselves provide the targets. In next-token prediction, for example, the preceding text is the input and the next token is the target; no human has to label each example separately.
Large language models are commonly pretrained through self-supervised learning. Later stages may include supervised fine-tuning, preference optimization, reinforcement learning, or other forms of post-training.
Using an LLM to label political data is a separate task. We ask an already trained generative model to classify cases. Supplying examples in the prompt makes this few-shot classification; supplying none makes it zero-shot classification. This use of the model does not change how it was originally pretrained.
1.3.2 Generative, reasoning, and agentic systems
Generative models produce new content. Large language models generate text by estimating plausible continuations of the preceding context. Their fluent responses depend on large-scale pretraining and later post-training, rather than retrieval of a single stored answer.
Reasoning models are language models optimized for tasks involving multiple inferential steps, often through additional training and more computation when answering. Some display intermediate text. We should evaluate that text as model output, without assuming it is a literal record of an internal reasoning process.
Agentic systems let a model choose actions, use tools, inspect results, and continue toward a goal. A system might search, run code, retrieve documents, or call other services. These capabilities expand what can be automated, but also add steps to verify. If a system finds, selects, summarizes, and codes evidence, we need to decide which parts of that process we can defend as researchers.
1.4 Why is this vocabulary political?
These definitions matter for regulation, responsibility, and the distribution of power.
A classifier that flags potentially fraudulent benefit claims raises different questions from a generative model that drafts letters to claimants. Their training data, outputs, errors, and opportunities for appeal may differ. Referring to both simply as AI can obscure those differences.
Unequal treatment might arise from training data, the fitting objective, post-training decisions, deployment instructions, or inputs supplied in a particular case. Different people and organizations can address different parts of that process. Saying that an algorithm is biased leaves us needing to identify where the problem arose and who can act on it.
Similarly, saying that an algorithm decided something can hide organizational choices. Someone selected the system, defined its purpose, chose the data and threshold, and decided how to use its output. Those decisions remain relevant when assessing responsibility.
1.5 An older analogy: artificial political entities
Political theory and public-administration scholarship offer useful analogies for thinking about constructed and collective decision systems. They are not theories of modern AI, but they help us ask about rules, information, authority, and responsibility.
On the first page of Leviathan, Hobbes describes the commonwealth as an “Artificiall Man” (Hobbes 1651). The sovereign is an artificial person created through political agreement, and the frontispiece shows a body made up of many people. Hobbes was discussing a political entity. The analogy invites us to ask how a constructed entity can perceive, decide, and act in ways that cannot be reduced to one individual within it.
Weberian bureaucracy provides another analogy (Weber 1978). Offices, written rules, files, and procedures are meant to support impersonal decisions: similar cases should receive similar treatment regardless of who handles them. In this limited sense, bureaucracy resembles an algorithm implemented through people and documents. How far does that analogy extend? What changes when an administrative rule is replaced by a fitted statistical model?
Herbert Simon offers a closer connection (Simon 1947, 1969). He studied organizations as systems for processing information and making decisions, and also contributed to AI. Individuals have limited information, attention, and computational capacity, so organizations rely on routines and procedures to reach acceptable rather than perfectly optimal outcomes.
We can use these analogies to examine contemporary systems. Who designed the procedure? What information can it use or overlook? Who can override it, and who answers for mistakes? These institutional questions have a history that predates the technology.
1.6 The plan for the block
The block has seven teaching weeks, each organized around a main idea.
Weeks 2 through 4 develop supervised classifiers, starting with a method we can draw on the board and moving to political text. Week 5 covers large language models: pretraining, post-training, prompts, decoding, and structured political analysis. Week 6 focuses on evaluation, including confusion matrices, precision, recall, F1, calibration, reliability, and rare outcomes. Week 7 turns to AI as a political and administrative object.
Evaluation begins in Week 2. We will use training/test splits, compare models with simple baselines, and examine confusion matrices. Week 6 brings these ideas together and extends them to calibration and generative systems.
Throughout the block, you will build models, assess their performance on unseen cases, and explain what their results establish. We will use that technical understanding to examine political arguments about AI.
1.7 Reading
Cranmer, S. J., and Desmarais, B. A. 2017. “What Can We Learn from Predictive Modeling?” Political Analysis 25(2): 145–166. (Cranmer and Desmarais 2017)
Focus on the article’s argument. The authors challenge a discipline that has generally prioritized explanation and causal inference over prediction. What do they think predictive performance contributes, and what do they acknowledge it cannot replace?
1.8 Questions for the session
Come with a view on at least two of these questions. They will structure the first part of the session.
What should count as empirical support for a theoretical claim? At what point, if any, does repeated support become confirmation?
Cranmer and Desmarais argue that political science has neglected prediction. What is the strongest objection to their position, and can it be answered?
Take a claim you believe about politics. Is it correlational, causal, predictive, or a forecast? What evidence would make you reconsider it?
A model predicts civil-war onset accurately using income, terrain, and state capacity. What has the model taught us about civil war, and what has it not taught us?
If a bureaucracy following written rules is an artificial decision system, what changes when the written rule is replaced by a fitted model? Try to identify a specific institutional or political difference rather than answering only that the model is more complex.
An LLM assigns political texts to ideological categories. Is this supervised, unsupervised, self-supervised, or something else? Does your answer refer to how the model was trained or to how it is now being used?