The User Guide answers “how do I build and run my model?” It gives short workflows and links outward when you need numerical reasoning or an exact contract.
If you have not solved the tiny model yet, start with Getting Started. In particular, make the solver-choice checkpoint before adapting it.
Build the model¶
Write economics, not glue code introduces named-function composition.
Defining models assembles the model-wide objects.
Regimes covers qualitatively different decision problems.
Grids defines numerical outcome spaces.
Transitions covers deterministic, stochastic, joint, and regime transitions.
Households and value-dependent choice declares stakeholders, participation, and value-gated transitions.
Age-specialized functions and grids changes declarations over the lifecycle.
Continuous stochastic processes discretizes and conditions shocks.
Parameters fills the model-generated parameter template.
Solve, simulate, and inspect¶
Choosing a solver starts from economic structure and then compares scaling and hardware.
Authoring for EGM-family solvers gives complete one-margin and nested declarations.
Solving and simulating runs backward induction and forward simulation.
Working with DataFrames and Series moves between pylcm and data workflows.
Diagnose and scale¶
Performance and memory tuning diagnoses a model on its target hardware.
Debugging uses validation levels, snapshots, and smaller reproductions.
For explanations of equations and algorithms, use Concepts & Methods. For exact signatures and capability tables, use the Reference.