Introduction & How to Use
Introduction
When you study digital platforms and artificial intelligence, the most common difficulty is not a lack of methods but a surplus of them. A sales jump after an algorithm goes live can be read as a causal effect, or it can be nothing more than selection into adoption. A change in transaction volume after a platform tweaks its rules might come from how consumers respond, or it might come from sellers, competitors, and the recommendation system all adjusting at the same time. Without economic theory, it is hard to say what you should even be comparing. Without an identification design, even the prettiest correlation may have no causal meaning. And without a grasp of market structure and institutional context, a local effect is a poor guide to questions about competition, welfare, and policy. These problems usually arise together, yet they are often scattered across different courses and textbooks.
I wrote these notes while learning the methods used in the economics of information systems and in empirical operations management, with an eye on how businesses use artificial intelligence and digital platforms, on information environments and technology adoption, and on the market behavior of consumers and firms. What I am aiming for is depth with range rather than a single method: a working command of the economics of information, AI, platforms, and technology, and enough shared language in theory, econometrics, and computation to work with economists, marketing scholars, and operations management scholars. The notes are a study companion to the standard texts, not a substitute for them. I prepared them with substantial help from AI tools; corrections are welcome, and any errors are my own.
How to Read These Notes
The notes have thirty-five numbered chapters, grouped into five parts, plus this unnumbered introduction. The map below lays out the whole thing, one sentence per chapter. You do not need to grind through it front to back. The reading paths further down suggest a few routes tailored to different goals and point out the handful of dependencies you cannot skip.
Part I, Microeconomic Foundations: supplies the primitives (utility, welfare, equilibrium, incentives) that later identification and estimation draw on.
- Chapter 1, Consumer, Producer, and Welfare Theory. UMP/EMP (utility maximization and expenditure minimization) duality, Slutsky, revealed preference and GARP, Gorman aggregation, CV/EV (compensating and equivalent variation) and consumer surplus, cost-production duality, the markup identity, and choice under uncertainty.
- Chapter 2, Game Theory. Normal and extensive form, Nash equilibrium, Bayesian games, subgame perfection, correlated equilibrium and learning, QRE (noisy best responses), bargaining, supermodular games and global games, repeated games and the folk theorem, and price wars under imperfect monitoring.
- Chapter 3, Information Economics, Contracts, and Mechanism Design. Adverse selection, signaling, screening, moral hazard, the revelation principle and the Myerson lemma, VCG, information design, auction theory and recovering values from bids (GPV), and matching.
- Chapter 4, Pricing, Monopoly, and Imperfect Competition. The Lerner index, price discrimination and its welfare effects, bundling, the Coase conjecture, Cournot/Bertrand/Hotelling/logit, collusion, vertical relations, entry deterrence, pass-through, and price leadership.
Part II, The Econometric Core: the machinery of estimation and inference; Chapters 5 through 7 and 9 through 13 write consistency, asymptotic distributions and variance estimation as theorems with proof sketches, at the depth of a graduate econometrics textbook such as Wooldridge (2010), and the part is cited by many later chapters.
- Chapter 5, M-Estimation and Nonlinear Regression. The unified M-estimation framework, consistency and asymptotic normality, the sandwich variance, NLS (nonlinear least squares) and Gauss-Newton, two-step M-estimation, log(1+y), and Poisson PML.
- Chapter 6, Maximum Likelihood. The information matrix equality; conditional, partial, and two-step MLE (maximum likelihood estimation); QMLE (quasi-maximum likelihood estimation) and the sandwich; the theory of the LR, Wald, and LM tests; and censoring and Tobit.
- Chapter 7, GMM (Generalized Method of Moments) and Minimum Distance. Identification and asymptotic theory, efficient weighting and the J test, iterated GMM and CUE, weak moments, classical minimum distance, and a preview of SMM (simulated method of moments) and indirect inference.
- Chapter 8, Inference: the Delta Method, the Bootstrap, Clustering, and Testing. Bootstrap refinements, cluster-robust and HAC (heteroskedasticity- and autocorrelation-consistent) variances, few clusters and the wild cluster bootstrap, randomization inference, two-step inference, and the Wald, LR, and LM tests in practice.
- Chapter 9, Instrumental Variables and System Estimation. The asymptotic theory of IV (instrumental variables) and 2SLS (two-stage least squares), overidentification and endogeneity tests, weak instruments, SUR (seemingly unrelated regressions) and FGLS (feasible generalized least squares), system 2SLS, 3SLS (three-stage least squares) and system GMM, and the identification of simultaneous equations.
- Chapter 10, Linear Panels: FE (Fixed Effects), RE (Random Effects), FD (First Differences), and CRE (Correlated Random Effects). The unobserved effects model; pooled OLS (ordinary least squares), RE, FE, and FD; tests of strict exogeneity; the robust Hausman test and Mundlak; Hausman-Taylor; random slopes; and unbalanced panels and attrition.
- Chapter 11, Dynamic Panels. Sequential exogeneity, Nickell bias, Anderson-Hsiao, Arellano-Bond and Blundell-Bond, instrument proliferation, and bias-corrected FE.
- Chapter 12, Binary and Multinomial Response Models. LPM (the linear probability model), probit and logit, APE (average partial effects) and the marginal effects of interaction terms, endogenous regressors and the control function, binary panel models, and ordered probit and multinomial logit.
- Chapter 13, Quantile Regression (QR). The check function and the asymptotic theory of QR, rank invariance and interpretation pitfalls, QTE (quantile treatment effects), unconditional QR and RIF (recentered influence functions), IV-QR, distribution regression, panel QR, and changes-in-changes (CIC).
- Chapter 14, Nonparametric and Semiparametric Methods. Kernel estimation, local polynomials, series/sieve, Robinson, and the bias-variance tradeoff.
Part III, The Causal Identification Toolbox: one module per estimand family, the workhorse of reduced-form causal research.
- Chapter 15, Potential Outcomes, Experiments, and Selection on Observables. The Rubin framework, RCTs (randomized controlled trials) and randomization inference, matching, IPW/AIPW (inverse probability weighting and its augmented form), and Roy selection.
- Chapter 16, From an Economic Question to a Research Design. Unit, treatment, timing, exposure, estimand, assignment mechanism, and bad controls.
- Chapter 17, Measurement, Digital Traces, and Algorithm-Generated Data. Construct validity, logging, selective labels, the validation sample, and prediction-powered inference.
- Chapter 18, IV: LATE (Local Average Treatment Effect), MTE (Marginal Treatment Effect), and Control Functions. The LATE theorem and compliers, the weights of 2SLS with several instruments, MTE as the master object, and the control function. The chapter focuses on LATE and MTE; the mechanics of 2SLS are in Chapter 9.
- Chapter 19, Difference-in-Differences (DiD) and Event Studies. 2x2 identification and parallel trends, the failure of TWFE (two-way fixed effects) under staggered adoption and the Goodman-Bacon decomposition, Callaway-Sant’Anna, Sun-Abraham, imputation and DID_\ell, triple differences, and the Rambachan-Roth sensitivity analysis.
- Chapter 20, DiD II: Fuzzy, Continuous, and Switching Treatments. Wald-DID, Wald-TC, and Wald-CIC; \mathrm{ATT}(d \mid d) and ACRT (the average causal response on the treated) for dose treatments; strong parallel trends; stayers and the heterogeneous adoption design; switching treatments and DID_\ell; and the bridge to IV/LATE.
- Chapter 21, Regression Discontinuity Designs (RDD). Continuity-based identification, robust bias-corrected inference, fuzzy RD, regression kink, local randomization, discrete running variables and honest inference, multiple cutoffs and geographic RD, extrapolation, and donut designs.
- Chapter 22, Synthetic Control and Panel Factor Models. Identification and inference for synthetic control (SC), augmented SC and synthetic DiD, penalized SC, matrix completion and interactive fixed effects, staggered SC, conformal inference and scpi prediction intervals, and SC for experimental design.
- Chapter 23, Sensitivity, Negative Controls, and Partial Identification. OVB (omitted variable bias) sensitivity, the robustness value, negative controls, bounds, and the breakdown frontier.
- Chapter 24, Causal ML (Machine Learning): DML (Double/Debiased Machine Learning), Causal Forests, and Policy Learning. Regularization bias, Neyman orthogonality, cross-fitting, GATES/CLAN, and policy learning.
- Chapter 25, Digital Experimentation. Power/MDE (minimum detectable effect), CUPED, sequential testing, multiple testing, and experiment governance.
- Chapter 26, Interference, Marketplace Experiments, and Equilibrium Effects. Exposure mappings; two-stage, cluster, and switchback designs; and rollout effects.
Part IV, Structural Methods: draws on the theory of Part I and the identification of Part III to build structural models for counterfactual analysis.
- Chapter 27, Discrete Choice: From RUM (Random Utility Models) to Mixed Logit. The structural meaning of random utility and its two normalizations, IIA (independence of irrelevant alternatives) and substitution patterns, nested/GEV, mixed logit, endogeneity, and the control function. The chapter treats the structural RUM; the reduced-form logit is in Chapter 12.
- Chapter 28, Demand Estimation: Berry Inversion and BLP. Berry inversion, the contraction, NFXP (nested fixed point) and MPEC, instruments, micro-BLP, identification, and zero shares.
- Chapter 29, The Supply Side: Markups, Conduct, Mergers, and Welfare. The multiproduct Bertrand FOC (first-order condition), markup recovery, GUPPI/UPP (upward pricing pressure), merger simulation, and conduct testing.
- Chapter 30, Entry, Market Structure, and Partial Identification. Bresnahan-Reiss thresholds, Berry 1992 entry with heterogeneous firms, Seim’s entry under incomplete information, and Ciliberto-Tamer partial identification under multiple equilibria with moment inequalities.
- Chapter 31, Dynamic Structural Models. Bellman, Rust NFXP, Hotz-Miller CCP (conditional choice probabilities), and dynamic demand, with pointers to the two-step CCP literature on dynamic games.
Part V, Topics in the Digital Economy: brings all three legs to bear on the phenomena of the field.
- Chapter 32, Platforms, Network Effects, and Switching Costs. Two-sided pricing, multihoming, the competitive bottleneck, compatibility, P2P and commons governance, switching costs, and state dependence.
- Chapter 33, Consumer Search, Advertising, and Experience Goods. Fixed-sample and sequential search, the Diamond paradox and price dispersion, randomized rankings and search costs, advertising effects, experience-good learning, reviews, reputation, and recommender feedback.
- Chapter 34, AI, Algorithms, Technology Adoption, and Data Economics. Algorithmic pricing, AI adoption, task exposure, deskilling, organizational complements, and generated variables.
- Chapter 35, Quick Reference and Tools. Formula cards, a method decision tree, a cross-software command map, and a checklist of common pitfalls.
Prerequisites
The main text assumes a foundation in probability and mathematical statistics and in linear algebra: you should be comfortable with expectation, variance, and conditional expectation, and able to read OLS in matrix form. Part II is written at the level of the theorems in Wooldridge (2010), so it assumes the comfort with asymptotic theory that a one-semester course provides: probability limits, the law of large numbers and the central limit theorem, Slutsky’s theorem, and the Delta method. You do not need to have read Wooldridge (2010) first. Every assumption and theorem used is stated in the text, and Chapters 5 through 7 and 9 through 13 also cite where each comes from in that book or in the original paper. On the computing side, we assume basic R: you can run a regression, read the output, and install a package. The theory chapters (Part I) ask for some comfort with constrained optimization and a bit of real analysis, but we try to give enough intuition at every derivation that readers with a thinner background can still follow along. You do not need to know industrial organization or structural estimation in advance; the notes develop both from the start.
Reading Paths
People with different goals can take different routes. There is no need to grind through the chapters in numerical order.
If you mainly do reduced-form causal empirical work, your main route runs from Part II to Part III. Build the base with Chapters 5 through 9: M-estimation, likelihood, GMM, inference, and instrumental variables are the tools that many later chapters point back to. Pick from Chapters 10 through 13 by data structure: Chapters 10 and 11 for panels, Chapter 12 for discrete outcomes, and Chapter 13 when you care about the whole distribution and not only the mean. Then read the causal language of Chapter 15, the research design of Chapter 16, and the measurement of Chapter 17. After that, choose design chapters by research question: Chapter 18 for instruments and compliers; Chapter 19 for staggered adoption, followed by Chapter 20 when only some units take up the treatment, when it comes in doses, or when it switches on and off; Chapter 21 for thresholds; Chapter 22 when there is one treated unit or only a few; and Chapters 23 through 26 on sensitivity, causal ML, digital experiments, and interference as needed. Add Chapter 14 when you need a nonparametric foundation; Chapter 21 also uses its kernels and bandwidths. Finishing this route should leave you able to design, diagnose, and referee an empirical platform study on your own.
If you want to do structural estimation, add Part I and Part IV on top of the above. Each theory chapter covers its own ground: Chapter 1 supplies consumer theory and welfare, Chapter 2 games, Chapter 3 information and mechanisms, and Chapter 4 imperfect competition. On the econometric side, Chapters 6, 7, and 12 are prerequisites for Chapters 27 through 31: the likelihood of the discrete-choice and dynamic models comes from Chapter 6, the GMM in the outer loop of BLP comes from Chapter 7, and the reduced-form reading of logit is in Chapter 12. Chapters 27 through 31 then build structural skills step by step. Chapters 27, 28, and 29 depend heavily on one another, so read them in sequence.
If you read selectively, a few dependencies cannot be skipped. Chapters 20 through 22 all presuppose Chapter 19: Chapter 20 builds on its parallel trends and DID_\ell, Chapter 21 borrows its parallel trends, and Chapter 22 takes over its ATT(g,t) and imputation. Chapters 20 and 21 also use the LATE theorem of Chapter 18. Chapter 18 focuses on LATE and MTE; the mechanics of 2SLS, the overidentification tests, and weak instruments are in Sections 3.2 through 3.5 of Chapter 9. Chapter 27 starts from the reduced-form logit of Sections 2.1 and 3.9 of Chapter 12 and reads it as a structural RUM. The two-way Mundlak regression of Section 4.8 of Chapter 19 goes back to the Mundlak device of Section 3.5 of Chapter 10. In addition, the Wald-CIC of Section 3.4 of Chapter 20 comes with only a minimal quantile background; the full theory of CIC is in Section 3.9 of Chapter 13.
If you only want to build intuition for the field quickly, you can start with Part V (Chapters 32 through 34) and go back to the relevant method chapters, and to the quick reference in Chapter 35, whenever you meet an unfamiliar method.
Whichever route you take, Chapter 35 is worth an early glance. It compresses each method’s formulas, use cases, software commands, and common pitfalls into cards, and it is the reference you keep at hand when writing papers and refereeing.
How These Notes Are Written
Every method chapter unfolds in the same eight-beat structure, so that you can move smoothly from one method to another. We open with a real causal question and a number that does not look right, set up the economic model and the estimand, and then take identification out on its own and work it through; this is the most detailed section of each chapter’s analysis. We then turn to estimation, anchor the method in a few real papers, run the code from scratch on a dedicated simulated case, lay out the failure modes and robustness, and close with annotated further reading and APA references.
The identification or theory sections of Chapters 1 through 7, 9 through 13, and 19 through 22 follow one further convention. This is where the depth standard of the notes (Wooldridge-level theory paired with interpretation in the manner of Mostly Harmless Econometrics) takes concrete form. Every identification result follows the same template. It begins with the case’s numbers or a figure, to make clear what is to be proved. Next comes a numbered assumption box that cites, where possible, the source of each assumption in Wooldridge (2010), Mas-Colell, Whinston and Green (1995), or the original paper, with the number and page wherever they can be given. Then comes a theorem box stating which assumptions the result uses, followed by a proof sketch of two to six steps, each naming the assumption it invokes. A final paragraph opening with “In words:” answers four questions in plain language: which quantity is estimated and under which assumptions, what is estimated when the specification is wrong, who sets the weights, and which real number in the case the result corresponds to. Chapters 1 through 4 also answer what the data can test.
A few conventions run through all the chapters and are worth knowing up front. Method names, technical terminology, mathematics, and code follow standard usage throughout, because your reading, writing, and refereeing all happen in that vocabulary and the terms need to become muscle memory. Every chapter comes with a concrete, situated running case. Every number in the text comes from R code that was actually run or from the original source it cites, so it can be reproduced or checked; none is made up. All monetary amounts are in US dollars. References follow APA 7. Author names follow each work’s own byline, so the same author may appear in different forms across entries, for example with more or fewer initials. In style we look to Mostly Harmless Econometrics: we come in from the problem rather than from the definition, we are sparing with formulas and give each one a sentence of intuition, and we lay out the credibility of an assumption and the places where it cannot be tested rather than hiding them. Where things get hard, we go from shallow to deep, giving intuition, geometry, or a small number first, and only then the formalization.
Notation
All the chapters share one set of notation, and each chapter declares any local notation of its own where it first uses it. We write an individual as i, a product as j, a market or time period as t, and a firm as f. Potential outcomes are Y_i(d), the treatment indicator is D_i, the instrument is Z_i, and covariates are X_i; the propensity score is e(x) = P(D=1 \mid X=x), while e(p,\bar u) in Chapter 1 is the expenditure function.
Estimation theory (Chapters 5 through 13) follows the notation of Wooldridge (2010) and always writes the problem as a minimization. The observation vector is w_i, the parameter is \theta, and its true value is \theta_0. The objective function for a single observation is q(w,\theta); the estimator \hat\theta minimizes the sample average n^{-1}\sum_{i=1}^n q(w_i,\theta), and a likelihood problem sets q = -\ln f. The score s(w,\theta) is the transpose of the gradient of q with respect to \theta. The sandwich variance A_0^{-1}B_0A_0^{-1} is built from A_0 = \mathbb{E}[\nabla^2_\theta q(w,\theta_0)] and B_0 = \mathbb{E}[s(w,\theta_0)\,s(w,\theta_0)'] (Sections 3.1 and 3.4 of Chapter 5). A subscript 0 means evaluation at the true value, and a subscript * marks the pseudo-true value under misspecification, as in \theta_*. Structural errors are \varepsilon, and unit effects are \alpha_i; in Part IV, \theta is the structural parameter.
Treatment-effect parameters are written \tau in general, with ATE (average treatment effect), ATT (average treatment effect on the treated), and LATE each carrying a subscript or qualifier; an individual effect \tau_i always carries a unit subscript. In Chapter 13, a \tau without a subscript is the quantile level (Section 3.4 of Chapter 20 writes the same level as u); it is distinguished from the individual effect \tau_i by the absence of a unit subscript. In panels and DiD, \lambda_t with a time subscript denotes only a time effect. The cohort variable G_i is the period in which unit i is first treated, and its values are written g. In Chapters 19 and 22, G_i always denotes the cohort; Chapter 20 generalizes it to the period in which treatment first changes. Other uses of G, such as the number of clusters in Chapter 8 and the exposure state G_i in Chapter 26, are declared where they occur by the chapter that uses them.
In the demand and supply chapters, p is price, \xi is a product characteristic the researcher does not observe, marginal cost is mc, and markups are recovered through the ownership matrix \mathcal{H}: when products j and k belong to the same firm, \mathcal{H}_{jk}=1.