Fall 2026 - ECON 332 D100

Computational Economics (3)

Class Number: 1971

Delivery Method: In Person

Overview

  • Course Times + Location:

    Sep 9 – Dec 7, 2026: Tue, 2:30–4:20 p.m.
    Burnaby

  • Exam Times + Location:

    Dec 11, 2026
    Fri, 3:30–6:30 p.m.
    Burnaby

  • Prerequisites:

    ECON 201 and one of ECON 233, STAT 270, or STAT 271. Recommended: ECON 305.

Description

CALENDAR DESCRIPTION:

Computational methods for solving and analyzing economic models. Topics include solving systems of equations, optimization, computing equilibria of economic models, computing dynamic and stochastic models, and data-driven estimation. Students will apply these methods to conduct economic analysis using a general-purpose programming language like Python.

COURSE DETAILS:

Description

The course will focus on computational tools and their applications in economics. The topics covered in this course include Matlab programming basics, matrix operations, solving linear and non-linear systems of equations, constrained and unconstrained optimization, approximation and curve fitting, fixed point methods, iterative algorithms, and, if time permits, basic probability, simulation, and Monte Carlo methods.

The course will cover the following topics (subject to changes):

  1. Matlab Basics and Computational Workflow
    - Matlab desktop, scripts, variables, folders, paths, and help system
    - Function handles, loops, plotting, and reproducible code
    - Applications: saving planning; ETF selection; supply-demand plots
  2. Linear Equations and Linear Algebra
    - Vectors, matrices, matrix operations, and element-wise operations
    - Matrix representation of linear systems
    - Rank, invertibility, and linear solvers in Matlab
    - Applications: supply-demand equilibrium; multiple markets; simple portfolio constraints
  3. Functions, Derivatives, and Univariate Optimization
    - Functions, derivatives, marginal effects, curvature, and elasticity
    - Critical points, boundary points, F.O.C. and S.O.C.
    - Solvers: fsolve and fminsearch
    - Applications: production and utility functions; revenue maximization; demand curve fitting
  4. Multivariate and Constrained Optimization
    - Partial derivatives, gradients, Hessians, and second-order conditions
    - Equality constraints, Lagrangian methods, inequality constraints, and bounds
    - Solvers: fsolve, fminunc, and fmincon
    - Applications: multi-product pricing; consumer demand; portfolio choice
  5. Approximation, Projection, and Curve Fitting
    - Functional approximation and fitted relationships
    - Sum of squared errors as an optimization problem
    - Applications: demand projection; optimal pricing based on fitted demand
  6. Fixed Points and Iterative Methods
    - Equilibrium as a fixed point of a mapping
    - Iteration, convergence, oscillation, divergence, and stability
    - Applications: posted-price adjustment; cobweb model; Cournot competition and best-response learning
  7. Probability, Simulation, and Monte Carlo Methods (Optional, if time permits)
    - Basic probability, distributions, random variables, and expectations
    - Monte Carlo simulation
    - Applications: uncertainty, risk, expected utility, and simple asset-return simulations

Students will learn how to apply these computational tools to solve economic problems, including supply-demand analysis, pricing problems, consumer demand, portfolio choices, equilibrium dynamics, and simple prediction/projection problems. A general-purpose programming language (e.g. Matlab) will be used throughout the course. For each topic, the course will first lay out a simple theoretical framework, show how to solve theoretical problems computationally in the software, and apply these tools to conduct quantitative economic analysis. Some lectures will include in-class coding exercises to help students practice the implementation of the methods in Matlab. These exercises are meant to complement the lectures, where the main focus is on the computational tools, the economic problems, and the interpretation of the results.

The course will have bi-weekly assignments that emphasize computation of the solutions to economic models.

Grading

  • Assignments 50%
  • Participation 10%
  • Final Exam 40%

Materials

REQUIRED READING:

Lecture notes and codes will be provided by the instructor.


RECOMMENDED READING:

Judd, K. (1998) “Numerical Methods in Economics”

QuantEcon website (https://intro.quantecon.org/)


Department Undergraduate Notes:

Please note that, as per Policy T20.01, the course requirements (and grading scheme) outlined here are subject to change up until the end of the first week of classes.

Final exam schedules will be released during the second month of classes. If your course has a final exam, please ensure that you are available during the entire final exam period until you receive confirmation of your exam dates. 

Students requiring accommodations as a result of a disability must contact the Centre for Accessible Learning (CAL) at 778-782-3112 or caladmin@sfu.ca.

***NO TUTORIALS DURING THE FIRST WEEK OF CLASSES***

Registrar Notes:

ACADEMIC INTEGRITY: YOUR WORK, YOUR SUCCESS

At SFU, you are expected to act honestly and responsibly in all your academic work. Cheating, plagiarism, or any other form of academic dishonesty harms your own learning, undermines the efforts of your classmates who pursue their studies honestly, and goes against the core values of the university.

To learn more about the academic disciplinary process and relevant academic supports, visit: 


RELIGIOUS ACCOMMODATION

Students with a faith background who may need accommodations during the term are encouraged to assess their needs as soon as possible and review the Multifaith religious accommodations website. The page outlines ways they begin working toward an accommodation and ensure solutions can be reached in a timely fashion.