What models are, where they came from, how they fail, and why we cannot think without them
7 May 2026
Only R is used in this deck, and only for illustrative plots.
Concepts & Philosophy
History & Practice
What is a Model?
χαὖται γὰρ ἥκουσιν πάλαι τὸ σχῆμα τοῦτʼ ἔχουσαι.
these too have been here a while, got up in this shape
Ἀριστοφάνης, Ἐκκλησιάζουσαι 503
\[ \text{A } \textbf{model} \text{ is a deliberately simplified representation of a system,} \] \[ \text{built to answer a } \textbf{specific question} \text{ about that system.} \]
Two classical formulations:
A system is a set of interacting elements that cooperate or function collectively to achieve some purpose.
A desktop computer is a system:
An economy is a system too: households, firms, government, banks — interacting through markets. The interactions are what we model.
The metro map analogy
On 25 May 1961 President John F. Kennedy challenged US scientists and engineers to put an American on the Moon by the end of the decade. Cost: about 25 billion USD. Achieved in 1969.
Why did it succeed? Because there was a model:
\[ F \;=\; G \, \frac{m_1 \, m_2}{r^2} \]
Newton’s law of gravitation — verified, quantitative, and predictive. The problem was engineering, not science: the model told the engineers exactly what a trajectory to the Moon required.
On 18 May 1997 President William J. Clinton challenged the US health community to find an AIDS vaccine within a decade. Still unmet decades later.
Why did it fail? Because there was no adequate model of how the immune system could neutralize a virus that mutates faster than antibodies adapt. Money and willpower cannot substitute for a missing model.
\[ \text{Feasibility of a mission} \;\approx\; \text{Quality of the model behind it} \]
Questions like these are answered — or left unanswered — by the quality of our models:
Each question requires a different model. There is no universal model of the economy — only a toolbox of purpose-built ones.
\[ \text{Problem} \;\longrightarrow\; \text{Model} \;\longrightarrow\; \begin{cases} \text{Analysis} \\ \text{Optimization} \\ \text{Simulation} \end{cases} \;\longrightarrow\; \text{Decision} \]
The Philosophy of Modelling
προσαύσῃ. σοφίᾳ γὰρ ἔκ του κλεινὸν ἔπος πέφανται.
by someone’s wisdom a famous saying has come to light
Σοφοκλῆς, Ἀντιγόνη 620
“All models are wrong, but some are useful.”
George E.P. Box (1976), “Science and Statistics”, JASA — doi:10.1080/01621459.1976.10480949
Box’s point is not cynicism. A model is wrong by construction — simplification is its purpose. The scientific question is never “is the model true?” but “is the model wrong in ways that matter for my question?”
Borges’ one-paragraph story On Exactitude in Science (1946) describes an empire whose cartographers build a map at the scale of the empire itself — a map the size of the territory. Later generations abandon it as useless.
\[ \text{Reality} \;\xrightarrow[\text{abstraction}]{\text{discard detail}}\; \text{Model} \;\xrightarrow[\text{inference}]{\text{solve / estimate}}\; \text{Insight} \;\xrightarrow[\text{interpretation}]{\text{add context back}}\; \text{Decision} \]
The model is the middle step. Errors can enter at all three arrows:
Milton Friedman (1953), The Methodology of Positive Economics:
A theory should be judged by the accuracy of its predictions, not by the realism of its assumptions. Truly important hypotheses have assumptions that are wildly inaccurate descriptions of reality.
Samuelson called this the “F-twist” and rejected it:
Dani Rodrik (2015), Economics Rules: economics progresses horizontally, by adding models to a library, not vertically toward one true model.
An economic model is not like a physics model: the “particles” (people, firms) observe the model being used and change their behavior in response.
If a central bank exploits a historical correlation (e.g., the Phillips curve trade-off between inflation and unemployment), agents adjust their expectations — and the correlation disappears.
Consequence: models estimated on historical data are unreliable for evaluating policy changes, unless they are built on parameters that are invariant to policy (“deep” structural parameters: preferences, technology).
Lucas, R.E. (1976) — doi:10.1016/S0167-2231(76)80003-6
What makes economic and business models philosophically special:
The invisible hand of Adam Smith (The Wealth of Nations, 1776) is the most famous verbal model in economics:
Food for thought: Michelangelo’s Creation of Adam (1512) makes God visible through hands; Smith’s 1776 metaphor makes the mechanism of human economic activity invisible — coordination without a coordinator.
By Marshall (1890) the verbal model had become geometric and algebraic:
\[ p^D = -3\,q + 17 \] \[ p^S = \phantom{-}2\,q + 7 \]
Two lines, one crossing — the entire logic of market coordination compressed into a picture a student can absorb in a minute.
A representative modern abstract (Lim, Omega 2013, doi:10.1016/j.omega.2012.12.003):
“We consider a robust optimization model of determining a joint optimal bundle of price and order quantity for a retailer in a two-stage supply chain under uncertainty … the problem can be transformed into an equivalent convex optimization … parameter uncertainties are obtained via genetic algorithm and Monte Carlo simulation.”
Same discipline, 240 years later: verbal metaphor → geometry → algebra → computation.
The moment a verbal story becomes testable is the moment it becomes equations:
\[ Y = A K^{a} L^{1-a} \] \[ I = sY \] \[ \Delta K = sY - \delta K \] \[ L_{t+1} = L_t (1 + n) \]
Four lines — the Solow growth model, which organizes a century of thinking about why some countries are rich and others poor.
Mathematics is not decoration. It forces internal consistency: every assumption is written down, every conclusion is derivable, and any reader can check the logic. Verbal models can hide contradictions; mathematical ones cannot.
A Taxonomy of Models
οἱ κακοὶ δʼ, ὥσπερ πεφύκασʼ, οὔποτʼ εὖ πράξειαν ἄν.
and the bad, being what they are by nature, would never fare well
Εὐριπίδης, Ἴων 1622
Any activity inside a system can be classified along two axes:
\[ \underbrace{\text{Endogenous} \;\; \text{vs} \;\; \text{Exogenous}}_{\textbf{where} \text{ does it originate?}} \qquad\qquad \underbrace{\text{Deterministic} \;\; \text{vs} \;\; \text{Stochastic}}_{\textbf{how} \text{ does it unfold?}} \]
In econometrics this distinction is fundamental: treating an endogenous variable as exogenous produces biased estimates (the entire IV literature exists because of this).
Most economic systems are stochastic; many useful economic models of them are deterministic approximations.
Both the system and the model can be deterministic or stochastic — all four combinations occur in practice:
| Deterministic model | Stochastic model | |
|---|---|---|
| Deterministic system | Solar system / planetary motion | Monte Carlo estimation of \(\pi\) |
| Stochastic system | Pseudo-random number generator | Huff model of shopping mall choice |
A stochastic model of a purely deterministic quantity:
\[ \frac{\text{points inside quarter circle}}{\text{all points}} \;\approx\; \frac{\pi/4 \cdot 1^2}{1^2} \quad\Longrightarrow\quad \hat{\pi} = 4\,\frac{\#\{x_i^2 + y_i^2 \le 1\}}{N} \]
set.seed(14159)
N <- 4000
pts <- tibble(x = runif(N), y = runif(N)) |>
mutate(inside = x^2 + y^2 <= 1)
pi_hat <- 4 * mean(pts$inside)
ggplot(pts, aes(x, y, color = inside)) +
geom_point(size = 0.9, alpha = 0.7) +
scale_color_manual(values = c("TRUE" = "#185FA5", "FALSE" = "#D85A30")) +
coord_fixed() +
labs(title = paste0("Monte Carlo estimate of pi: ", round(pi_hat, 4),
" (true: 3.1416)"),
x = NULL, y = NULL) +
theme_minimal(base_size = 14) +
theme(legend.position = "none")
Which shopping mall will a consumer at location \(i\) visit? Genuinely random behavior — so the model predicts probabilities, not choices:
\[ P_{ij} \;=\; \frac{\dfrac{S_j}{T_{ij}^{\lambda}}} {\displaystyle\sum_{k=1}^{n} \dfrac{S_k}{T_{ik}^{\lambda}}} \]
Huff (1964), doi:10.1177/002224296402800307 — still used daily in retail site selection, and a direct ancestor of the multinomial logit discrete-choice models of McFadden (Nobel 2000).
The Model-Building Process
οἳ λέγομεν ἐν τῶν δημιουργῶν τοιαδί·
we say things like this among the craftsmen
Ἀριστοφάνης, Λυσιστράτη 407
\[ \text{Problem} \rightarrow \text{Conceptualize} \rightarrow \text{Specify} \rightarrow \text{Estimate/Calibrate} \rightarrow \text{Validate} \rightarrow \text{Use} \rightarrow \text{Revise} \]
Step 1 — Define the problem. What decision or understanding is the model for? A model without a question is decoration.
Step 2 — Conceptualize. Choose the boundary of the system:
This is analysis: decomposing the system into elements and relations. The reverse — assembling known elements into a designed system — is synthesis.
Step 3 — Specify. Write the mathematical form: functional forms, equilibrium conditions, stochastic assumptions.
\[ y_i = \beta_0 + \beta_1 x_i + \varepsilon_i, \qquad \varepsilon_i \sim \text{iid}(0, \sigma^2) \]
Step 4 — Estimate or calibrate.
Step 5 — Validate. Confront the model with data it has not seen:
Step 6 — Use. Prediction, policy analysis, optimization — staying inside the model’s domain of validity.
Step 7 — Revise. Every model eventually breaks. Its failures are data for the next iteration — this loop is scientific progress.
Verification vs validation
Verification: “did I build the model right?” — is the math correct, is the code bug-free, does the simulation implement the equations faithfully?
Validation: “did I build the right model?” — does the model correspond to the real system well enough for the question at hand?
A model can pass one and fail the other. Much of the 2008 crisis was verified models (mathematically impeccable) that were invalid (built on assumptions the world did not satisfy).
Practical rules of thumb for model builders:
In econometrics we formalize “the system” as a Data Generating Process:
\[ y_i = f(x_i; \theta) + \varepsilon_i \]
This is why every deck in this course starts with a DGP: knowing the truth lets us audit our methods. It is the modelling cycle run in a laboratory where, for once, we know the right answer.
A Short History of Economic Models
θήκας τε προγόνων· νῦν ὑπὲρ πάντων ἀγών.
and the tombs of our ancestors — now the struggle is for everything
Αἰσχύλος, Πέρσαι 405
Quesnay’s Tableau Économique — arguably the first economic model ever.
From Cournot to Marshall — economics becomes mathematical.
Keynes, Hicks, and a hydraulic computer.
Econometrics is born.
The failure. Policymakers in the 1960s treated the Phillips correlation as a stable menu: “buy” lower unemployment with a little more inflation. In the 1970s both rose together — stagflation.
The lesson. A correlation is not a structure. Agents’ expectations adapt to policy (Friedman, Phelps, Lucas). The failure produced rational expectations, credibility theory, and ultimately independent inflation-targeting central banks — arguably the most successful macro-institutional reform of the century.
The failure. Long-Term Capital Management — a hedge fund with two Nobel laureates (Scholes, Merton) on its board — leveraged convergence trades based on models estimated on recent data. The 1998 Russian default produced correlations and spreads the models deemed essentially impossible. The Fed had to orchestrate a 3.6 billion USD rescue.
The lesson. Fat tails are real; historical covariances break precisely in crises; leverage turns model error into insolvency. Risk management shifted toward stress testing and scenario analysis.
The failure. The Gaussian copula (Li 2000, doi:10.3905/jfi.2000.319253) priced CDOs by assuming a single constant correlation of mortgage defaults, calibrated to a period with no national house-price decline. When prices fell nationwide, defaults clustered far beyond what the model allowed.
The lesson. Validation data must include the stress scenario; tail dependence matters (hence the copula methods deck in this course); a verified model can be invalid; and model risk is now itself a regulated quantity (Basel, CCAR).
Model failures are how the field advances:
\[ \text{In economics, a well-documented failure is worth more than a lucky forecast.} \]
Mathematical vs Computational Models
ἐς ἄπορον ἥκεις· δεῖ δὲ μηχανῆς τινος.
you have come to an impasse — some contrivance is needed
Εὐριπίδης, Ἑλένη 813
A mathematical (analytical) model is solved in closed form:
\[ q^* : \; -3q + 17 = 2q + 7 \;\;\Longrightarrow\;\; q^* = 2, \;\; p^* = 11 \]
A computational model is solved numerically, case by case:
| Mathematical | Computational | |
|---|---|---|
| Solution | closed-form formula | numerical output |
| Generality | all parameters at once | one parameter point per run |
| Complexity handled | low–moderate | high |
| Transparency | full — every step checkable | partial — code is the proof |
| Errors | algebra mistakes | bugs, discretization, convergence |
| Typical output | theorem | table / figure / distribution |
The two are complements, not rivals:
The market model \(p^D = -3q + 17\), \(p^S = 2q + 7\) — solved both ways:
q <- seq(0, 5, by = 0.01)
df <- tibble(q = q, demand = -3 * q + 17, supply = 2 * q + 7)
# computational solution: grid search for minimal gap
gap <- abs(df$demand - df$supply)
qhat <- df$q[which.min(gap)]
ggplot(df, aes(q)) +
geom_line(aes(y = demand), color = "#185FA5", linewidth = 1.4) +
geom_line(aes(y = supply), color = "#D85A30", linewidth = 1.4) +
geom_vline(xintercept = qhat, linetype = "dashed", color = "#1D9E75") +
geom_point(aes(x = 2, y = 11), color = "#1D9E75", size = 4) +
annotate("text", x = 4.4, y = 6, label = "demand", color = "#185FA5", size = 5) +
annotate("text", x = 4.4, y = 16.5, label = "supply", color = "#D85A30", size = 5) +
annotate("text", x = 2.65, y = 12, label = "q* = 2, p* = 11", color = "#1D9E75", size = 5) +
labs(title = "Market equilibrium: analytical point, computational grid search",
x = "quantity q", y = "price p") +
theme_minimal(base_size = 14)
\[ \Delta k_t = s\,k_t^{\,a} - (\delta + n)\,k_t \qquad\qquad k^\ast = \left( \frac{s}{\delta + n} \right)^{\frac{1}{1-a}} \]
a <- 0.33; s <- 0.25; delta <- 0.05; n <- 0.01
k_star <- (s / (delta + n))^(1 / (1 - a))
# simulate two economies from different starting points
T <- 80
k_low <- numeric(T); k_high <- numeric(T)
k_low[1] <- 1; k_high[1] <- 25
for (t in 1:(T - 1)) {
k_low[t + 1] <- k_low[t] + s * k_low[t]^a - (delta + n) * k_low[t]
k_high[t + 1] <- k_high[t] + s * k_high[t]^a - (delta + n) * k_high[t]
}
df <- tibble(t = 1:T, poor = k_low, rich = k_high) |>
pivot_longer(-t, names_to = "economy", values_to = "k")
ggplot(df, aes(t, k, color = economy)) +
geom_line(linewidth = 1.4) +
geom_hline(yintercept = k_star, linetype = "dashed", color = "#1D9E75", linewidth = 1) +
annotate("text", x = 70, y = k_star + 1.2, label = "steady state k*",
color = "#1D9E75", size = 5) +
scale_color_manual(values = c(poor = "#185FA5", rich = "#D85A30")) +
labs(title = "Solow convergence: two economies, one destination",
x = "time", y = "capital per worker k") +
theme_minimal(base_size = 14) +
theme(legend.position = "top")
Simulation and Optimization
αὐτόματα πάντʼ ἀγαθὰ τῷδέ γε πορίζεται.
every good thing is provided to this man of its own accord
Ἀριστοφάνης, Ἀχαρνῆς 976
Simulation = running the model forward under chosen conditions to observe behavior we cannot (or should not) observe in reality.
Optimization = finding the decision that makes the model’s objective as good as possible:
\[ \max_{x \in X} \; f(x; \theta) \qquad \text{subject to} \qquad g(x) \le 0 \]
Simulation asks “what happens if…?” — optimization asks “what is the best…?”. In practice they combine: simulation–optimization searches for the decision whose simulated outcome distribution is best.
A monopolist with demand \(p = 20 - q\) and cost \(C(q) = 4q + 0.5\,q^2\) maximizes profit:
\[ \pi(q) = (20 - q)\,q - 4q - 0.5\,q^2 \qquad\Longrightarrow\qquad \pi'(q) = 16 - 3q = 0 \;\Longrightarrow\; q^\ast = \tfrac{16}{3} \]
profit <- function(q) (20 - q) * q - 4 * q - 0.5 * q^2
q <- seq(0, 10, by = 0.05)
# computational route: R's built-in optimizer
opt <- optimize(profit, interval = c(0, 10), maximum = TRUE)
ggplot(tibble(q = q, pi = profit(q)), aes(q, pi)) +
geom_line(color = "#185FA5", linewidth = 1.4) +
geom_vline(xintercept = opt$maximum, linetype = "dashed", color = "#D85A30") +
geom_point(aes(x = opt$maximum, y = opt$objective), color = "#D85A30", size = 4) +
annotate("text", x = opt$maximum + 1.9, y = opt$objective,
label = paste0("q* = ", round(opt$maximum, 3), " (exact: 16/3)"),
color = "#D85A30", size = 5) +
labs(title = "Profit maximization: calculus and optimize() agree",
x = "quantity q", y = "profit") +
theme_minimal(base_size = 14)
optimize() gives the numerical answer without ever differentiating — and would keep working if \(\pi(q)\) contained a simulation, a kink, or an estimated demand curve.
The Twelve Most Used Models
τοῦ δώδεκα μνᾶς Πασίᾳ; τί ἐχρησάμην;
twelve minas to Pasias? what did I want it for?
Ἀριστοφάνης, Νεφέλαι 22
| # | Model | Domain | Key names |
|---|---|---|---|
| 1 | Supply & demand | Markets | Marshall 1890 |
| 2 | Linear regression / OLS | Everywhere | Legendre, Gauss; econometrics |
| 3 | Cobb–Douglas production | Firms, growth | Cobb & Douglas 1928 |
| 4 | Solow growth | Macro | Solow 1956 |
| 5 | IS–LM | Macro policy | Hicks 1937 |
| 6 | Nash equilibrium / game theory | Strategy | Nash 1950 |
| 7 | Markowitz portfolio + CAPM | Finance | Markowitz 1952; Sharpe 1964 |
| 8 | Black–Scholes | Derivatives | Black, Scholes, Merton 1973 |
| 9 | Discrete choice (logit / Huff) | Marketing, transport | Huff 1964; McFadden 1974 |
| 10 | Gravity model of trade | International trade | Tinbergen 1962 |
| 11 | Input–output | National accounts | Leontief 1936 |
| 12 | Linear programming | Operations | Kantorovich 1939; Dantzig 1947 |
The next slides give each model one line of math and one line of why it earns its place.
Supply & demand.
\[ q^D(p) = q^S(p) \;\;\Longrightarrow\;\; p^\ast \]
The first model every student meets and the last one any economist abandons. Explains prices, taxes, subsidies, price controls, incidence. Its power is its portability: labor markets, housing, foreign exchange — one diagram fits all.
Linear regression (OLS).
\[ y_i = \beta_0 + \beta_1 x_{1i} + \cdots + \beta_k x_{ki} + \varepsilon_i \]
The workhorse of all empirical economics and business analytics. Everything in this course — IV, panel, diff-in-diff, VAR — is regression with extra structure. The most-run model on Earth, by many orders of magnitude.
Cobb–Douglas production function.
\[ Y = A\,K^{a}\,L^{1-a} \]
One equation capturing substitution between capital and labor, constant returns, and factor shares (\(a \approx 1/3\) matches the data remarkably well). Ubiquitous in growth theory, firm-level productivity studies, and CGE models.
Solow growth model.
\[ \Delta k = s\,k^{a} - (\delta + n)\,k \]
The organizing framework for why nations are rich or poor. Its famous residual — the part of growth not explained by capital and labor — redirected the whole field toward technology and human capital. Nobel 1987.
IS–LM.
\[ \text{IS: } Y = C(Y - T) + I(r) + G \qquad \text{LM: } \frac{M}{P} = L(Y, r) \]
Hicks’ compression of Keynes into two curves. Criticized for decades, buried repeatedly — yet still how policymakers, journalists, and undergraduates actually reason about fiscal vs monetary policy. A model’s usefulness can outlive its theoretical respectability.
Nash equilibrium.
\[ u_i(s_i^\ast, s_{-i}^\ast) \;\ge\; u_i(s_i, s_{-i}^\ast) \quad \forall\, s_i,\; \forall\, i \]
No player gains by deviating alone. The foundation of modern industrial organization, auction design (spectrum auctions raised billions), contract theory, and market design (Nobel prizes 1994, 2007, 2012, 2020).
Markowitz portfolio + CAPM.
\[ \min_w \; w'\Sigma w \;\; \text{s.t.}\;\; w'\mu = \bar{r} \qquad\qquad E[r_i] = r_f + \beta_i\,(E[r_m] - r_f) \]
Risk became a variance; diversification became mathematics. CAPM’s \(\beta\) is still the default cost-of-capital tool in corporate finance, decades after its empirical troubles were documented.
Black–Scholes.
\[ C = S\,\Phi(d_1) - K e^{-rT}\,\Phi(d_2) \]
The formula that created modern derivatives markets — a rare case of a model performing reality into existence: traders quote prices in its units (implied volatility). Also the origin of one of the great model-risk lessons (1987 crash, volatility smile).
Discrete choice: Huff and logit.
\[ P_{ij} = \frac{S_j / T_{ij}^{\lambda}}{\sum_k S_k / T_{ik}^{\lambda}} \qquad\qquad P_{ij} = \frac{e^{x_{ij}'\beta}}{\sum_k e^{x_{ik}'\beta}} \]
From “which mall?” to “which brand, which mode of transport, which job offer?”. McFadden’s conditional logit (Nobel 2000) generalizes Huff’s gravity intuition — the backbone of marketing analytics and transport planning.
Gravity model of trade.
\[ X_{ij} = G\,\frac{Y_i^{\alpha}\, Y_j^{\beta}}{D_{ij}^{\gamma}} \]
Trade between countries \(\sim\) product of their GDPs over distance — Newton’s law transplanted into economics (Tinbergen 1962). The most empirically successful model in international economics: it fits everywhere, always, and now has rigorous micro-foundations.
Input–output (Leontief).
\[ x = A\,x + d \;\;\Longrightarrow\;\; x = (I - A)^{-1} d \]
The economy as a matrix: each sector’s output is others’ input. Quesnay’s Tableau made operational. Used daily for national accounts, supply-chain stress tests, carbon-footprint accounting, and “economic impact” studies.
Linear programming.
\[ \max_x \; c'x \quad \text{s.t.} \quad Ax \le b, \;\; x \ge 0 \]
Kantorovich planned Soviet plywood production with it; Dantzig gave it the simplex algorithm; today it schedules airlines, routes delivery fleets, blends refineries, and clears electricity markets. The quiet workhorse of business decision-making.
Rodrik again: economics is a library of models, and these twelve are the shelf every economist and business analyst reaches for first.
Exercises
optimize(), and explain the economic principle involved.Thank You
Athanassios Stavrakoudis
Applied Informatics and Computational Economics Lab
Department of Economics
University of Ioannina, Greece