ECON5149 Chap.4 Verification, Validation and Replication
Verification, Validation and Replication
Verification, Validation and Replication covers the three checks that stand between a simulation and an economic conclusion. Verification asks whether the code correctly implements the conceptual model; it relies on deterministic tests, accounting identities, switch-off tests and fixed random seeds, and it must come first because a figure produced by faulty code says nothing about the economy.
Validation asks whether the implemented model bears a meaningful relationship to the phenomenon it targets, through microvalidation of individual rules, macrovalidation against empirical patterns, face validation of assumptions and robustness to parameters and seeds, with a standard that depends on the model's purpose.
Replication asks whether someone else can reproduce the analysis, which requires a clear description, code or pseudo-code, parameters, initial conditions, the schedule, seeds and the number of runs.
The chapter places each check on the link of the modelling chain that it tests, works through a counter-example in which an order-book model with persuasive output fails basic tests, and collects the verification checks the course applies to the give-one-dollar economy, the order book and the genetic algorithm.
What this chapter covers
- 01
Verification as code against conceptual model
- 02
Validation forms: micro, macro, face and robustness
- 03
Purpose-dependent validation standards
- 04
Deterministic order-book tests and accounting conservation
- 05
Replication requirements and seed policies
- 06
Exact paths versus statistical properties
- 07
Verification checks for learning models
Worked example · free
Place each check on the right link of the modelling chain
- 1(a) Verification: an accounting identity tests whether the code does what the conceptual model says.
- 1(b) Macrovalidation: aggregate output is compared with an empirical pattern.
- 1(c) Microvalidation: the plausibility of an individual behavioural rule is assessed.
- 1(d) Robustness or sensitivity analysis, a form of validation.
- 1(e) Replication: an independent rerun from documented materials reproduces the exact realisation.
Key terms
- Verification
- Testing that a program faithfully carries out the conceptual model its author intended.
- Validation
- Judging whether a correctly coded model actually captures the phenomenon or mechanism it targets.
- Replication
- Reproduction of a model's analysis by other researchers from its documented description, code, parameters, schedule and seeds.
Verification, Validation and Replication FAQ
Can a model pass verification and still be wrong?
Yes. Verification only shows that the code does what the modeller intended. The intended rules might still be implausible or fail to reproduce the patterns that matter, so a perfectly coded model can be a poor model of the target phenomenon. That second question belongs to validation and needs separate evidence.
How much validation does a teaching model need?
It depends on purpose. A model built to isolate a mechanism for teaching, such as random wealth exchange, does not need strong empirical validation, because matching real data is not its aim. A model meant to guide a real financial or macroeconomic policy faces a much stricter standard, with both micro and macro evidence.
Why keep the random seed if results are reported over many runs?
The seed serves a different purpose. A fixed seed lets anyone reproduce one exact path, which is useful for debugging and for verification. Many runs with different seeds reveal the statistical properties of the model. Documenting both the seed policy and the number of runs lets others reproduce either kind of result.
Exam move
Organise this topic around one question for each check: does the code match the intended model, does the model match its target, and can someone else reproduce the analysis. Write those three questions at the top of a page and, beneath each, list the concrete evidence the course associates with it.
For verification, collect the give-one-dollar checks, the order-book tests and the learning-model checks, and practise inventing two original deterministic tests for any small model you meet, including one accounting identity and one switch-off test. For validation, learn the four forms by name with a one-line example of each drawn from market models, and be ready to argue why the required standard changes with purpose.
For replication, memorise the documentation list and practise distinguishing an exact realisation, reproduced with the same seed, from statistical properties, reproduced across different seeds.
Then work counter-examples: take a description of a model with an impressive result and a failed test, and write a short verdict that identifies which check failed, why the impressive result cannot yet count, and what should be done next.
Finally, connect this chapter to the build workflow from the Schelling chapter, placing verification after coding and validation after experiments, and rehearse an answer that moves through the three checks in that order. This sequencing is useful whenever you evaluate a modelling method or a set of simulation results.
Working through Verification, Validation and Replication in ECON5149? Sia is AskSia’s AI Economics tutor — ask any ECON5149 Verification, Validation and Replication question and get a clear, step-by-step explanation grounded in how ECON5149 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.
ECON5119 Applied Time Series and Forecasting · ACCFIN5249 Investment Analysis and Asset Allocation