Home / Programmes / Economics / ECON254
COURSE INFORMATION PACKAGE · ECON254

Numerical Methods and Analysis

Compulsory · Turkish
ECTS
5
Local Credit
3
Theory + Practice + Lab
0 + 0 + 3
Course Level
Bachelor Degree
Prerequisites
ECON151
Semester
4

Content

Objective

Most real-world economic models cannot be solved analytically and lack closed-form solutions. ECON 254 bridges the gap between economic theory and computational implementation. This course equips advanced undergraduate students with the skills to solve static and dynamic economic models using fundamental numerical methods and the Python programming language.

The content progresses from basic numerical techniques (linear algebra, interpolation, root-finding) to advanced optimization (direct NLP solvers, indirect Lagrange/KKT approaches), and from there to dynamic programming and stochastic methods (backward induction, Value Function Iteration, Markov processes). Throughout the course, theoretical concepts are anchored in core economic frameworks; students learn not only to code algorithms but also to understand the underlying economic mechanisms, to perform convergence and error analysis, and to build reproducible analytical workflows. The last two weeks are devoted to group project presentations, in which student teams numerically formulate, solve, and defend a chosen economic optimization problem.

Course Content

The course begins with the setup of the Python scientific computing ecosystem (NumPy, SciPy, Matplotlib) and vectorized operations, followed by interpolation and function approximation. It then covers linear equation systems (Ax=b) and matrix decomposition techniques, applied to multi-sectoral economic networks such as Leontief input-output analysis. Fixed-point iteration, root-finding methods (bisection, Newton-Raphson), and nonlinear equation systems (multivariate Newton-Raphson, Jacobian) are used to solve market-clearing prices and multi-good consumer optimization. In the second half of the course, unconstrained optimization (gradient, Hessian, BFGS), constrained optimization (direct NLP solvers and the indirect Lagrange/KKT approach), finite-horizon dynamic problems (Cake-eating, Life-Cycle), and the stochastic Value Function Iteration (VFI) along with the Income Fluctuation Problem are covered. The last two weeks are reserved for project presentations in which student groups present a chosen optimization problem.

Course Learning Outcomes

Upon successful completion of this course, the student will be able to:

- Configure the Python scientific computing stack (NumPy, SciPy, Matplotlib) to numerically formulate economic models; organize analyses in reproducible Jupyter Notebook format integrating code, model, and interpretation.
- Apply linear equation systems ($Ax=b$) and matrix decomposition to Leontief input-output analysis; compute market-clearing prices via root-finding methods (bisection, Newton-Raphson); utilize nonlinear equation systems (multivariate Newton-Raphson, Jacobian) for multi-good consumer optimization and cost minimization.
- Integrate unconstrained optimization algorithms (gradient, Hessian, BFGS) into firm profit maximization and factor demand derivation; solve constrained optimization problems via both \textbf{direct methods} (penalty, barrier, SQP) and the \textbf{indirect approach} (Lagrangian, KKT).
- Numerically solve finite-horizon dynamic problems (Cake-eating, Life-Cycle) using backward induction and the Bellman principle; formulate life-cycle models under time-varying deterministic income streams and code retirement/savings planning applications.
- Formulate an economic optimization or equilibrium problem from scratch, select an appropriate numerical method, and implement it in Python; explain and defend the approach, code, findings, and limitations through a written report and an oral presentation.

Teaching and Learning Methods

- Computer-assisted applied instruction: live coding, algorithm development, error analysis, and visualization with Jupyter Notebook/Lab.
- Conceptual discussion and intuitive learning: blending economic theory with Python-based numerical methods.
- Application on real economic models: IS-LM, Leontief, consumer/firm optimization, life-cycle, VFI.
- Short, application-oriented learning activities with instant feedback; students may use AI during coding, but must be able to explain and defend every step used.
- Reproducible research production: preparing dynamic reports and term projects with Jupyter and Markdown integration.

References

1. QuantEcon: \url{https://quantecon.org/} (Primary platform for Python-based economics education)
2. Iskhakov, F. \textit{Foundations of Computational Economics}. \\ \url{https://fedor.iskh.me/compecon}
3. Additional resources and tools you may find useful:
- SciPy documentation: https://docs.scipy.org/doc/scipy/
- Matplotlib documentation: https://matplotlib.org/stable/
- Jupyter: https://jupyter.org/

Weekly Contents

Theory Topics
Week Weekly Contents
1 Python Scientific Computing Environment. Application: Symbolic and numerical comparative solution of a simple supply-demand function.
2 Interpolation and Function Approximation. Application: Yield curve construction; continuous representation of demand/policy functions.
3 Linear Equation Systems and Matrix Solutions. Application: Leontief input-output analysis; intersectoral multiplier effects and shock propagation.
4 Fixed-Point Iteration. Application: Numerical equilibrium solution of the IS-LM model; solution of the Solow model.
5 Root-Finding Methods. Application: Numerical calculation of the market-clearing price; profit maximization in a monopolistic market.
6 Solving Nonlinear Equation Systems. Application: Consumer optimization in the multi-good case; cost minimization.
7 Unconstrained Optimization Methods. Application: Firm profit maximization; derivation of factor demand functions.
8 Midterm
9 Constrained Optimization: Direct Methods. Application: Consumer utility maximization via direct NLP.
10 Constrained Optimization: Indirect Methods. Application: Formulation and numerical solution of the KKT system in consumer optimization.
11 Finite-Horizon Dynamic Problems. Application: Cake-eating problem.
12 Life-Cycle Model. Application: Optimal consumption-savings plan between ages 25 and 80.
13 PROJECT PRESENTATIONS I.
14 PROJECT PRESENTATIONS II.
Practice Topics
Week Weekly Contents
1 Python Scientific Computing Environment. Application: Symbolic and numerical comparative solution of a simple supply-demand function.
2 Interpolation and Function Approximation. Application: Yield curve construction; continuous representation of demand/policy functions.
3 Linear Equation Systems and Matrix Solutions. Application: Leontief input-output analysis; intersectoral multiplier effects and shock propagation.
4 Fixed-Point Iteration. Application: Numerical equilibrium solution of the IS-LM model; solution of the Solow model.
5 Root-Finding Methods. Application: Numerical calculation of the market-clearing price; profit maximization in a monopolistic market.
6 Solving Nonlinear Equation Systems. Application: Consumer optimization in the multi-good case; cost minimization.
7 Unconstrained Optimization Methods. Application: Firm profit maximization; derivation of factor demand functions.
9 Constrained Optimization: Direct Methods. Application: Consumer utility maximization via direct NLP.
10 Constrained Optimization: Indirect Methods. Application: Formulation and numerical solution of the KKT system in consumer optimization.
11 Finite-Horizon Dynamic Problems. Application: Cake-eating problem.
12 Life-Cycle Model. Application: Optimal consumption-savings plan between ages 25 and 80.

Assessment System

Contribution to Overall Grade
Activities Number Contribution
Contribution of in-term studies to overall grade 1 40
Contribution of final exam to overall grade 1 60
Total 2 100
In-Term Studies
Activities Number Contribution
Assignments 0 0
Presentation 0 0
Midterm Examinations (including preparation) 1 40
Project 0 0
Laboratory 0 0
Other Applications 0 0
Quiz 0 0
Term Paper/ Project 0 0
Portfolio Study 0 0
Reports 0 0
Learning Diary 0 0
Thesis/ Project 0 0
Seminar 0 0
Other 0 0
Make-up 0 0
Total 1 40

Relation of Proficiency

No Program Learning Outcomes Contribution
1 2 3 4 5
1 Demonstrate a basic knowledge of different economic theories and main discussions driving current theoretical approaches X
2 Demonstrate ability to use basic qualitative and quantitative methods to asses different economic questions of applied fields X
3 Show a sound understanding of current economic discussions and problems X
4 Have an effective and clear communication in written and oral formats in different public and professional contexts. X
7 Demonstrate knowledge of standard quantitative techniques and empirical models used in economics X
8 Show ability to apply basic economic theory to an applied topic X
9 Show a basic understanding of analytical methods, both theory- and model-based X
10 Show ability to use economic concepts to discuss current economic issues
11 Reason logically and work analytically X
12 Show awareness on social aspects of the economics in different applied and theoretical fields
13 Identify appropriate economic models to analyse problems X
16 Show understanding of basic statistical and econometric concepts and ability to apply basic concepts to own empirical work X
17 Demonstrate a sound knowledge of the current economic issues in Turkey and a general knowledge of the issues in the world economy

ECTS

Activities Number Period Total Workload
Class Hours 14 3 42
Working Hours out of Class 0 0 0
Assignments 0 0 0
Presentation 1 12 12
Midterm Examinations (including preparation) 1 32 32
Project 1 5 5
Laboratory 0 0 0
Other Applications 0 0 0
Final Examinations (including preparation) 0 0 0
Quiz 0 0 0
Term Paper/ Project 0 0 0
Portfolio Study 0 0 0
Reports 0 0 0
Learning Diary 0 0 0
Thesis/ Project 1 34 34
Seminar 0 0 0
Other 0 0 0
Make-up 0 0 0
Yıl Sonu 0 0 0
Hazırlık Yıl Sonu 0 0 0
Hazırlık Bütünleme 0 0 0
Total Workload 125
Total Workload / 25 5.00
Credits ECTS 5