Vancouver School of Economics UBC
Vancouver School of Economics UBC
2024-06-19
Have you ever:
This is a major learning context in any course which deals with or teaches data and computation.
However, this is way harder to do than it should be:
These are all major points of failure.
In this talk, I will discuss our work developing interactive Jupyter notebooks to help students learn applied econometrics.
Our open-source project: COMET comet.arts.ubc.ca
A notebook is a digital document which combines rich text (including hyperlinks, formatting, and images) with cells that can perform computations. Examples include:
Key Feature: a user is able to interact with the content of a notebook, such as performing a computation or changing the text.
An example of a Jupyter notebook
Notebooks teach economics students three important skills:
Literate programming. Popular framework for data analysis (Knuth (1984)), and creates self-documenting tools that address common problems novice (and experienced) researchers face when analyzing data (Kery et al. (2018)).
Replicable and reproducible data analysis (Camerer et al. (2018)). Notebooks encourage replicable programming practices by design, and transparency with experimentation.
Industry-relevant. Notebooks are extensively used by employers who conduct data science research, or who use data science in their work.
Creating notebooks for classroom instruction turns them from a research tool into a pedagogical tool.
Project Jupyter is on open-source project to support interactive data science and scientific computing.
Interactive areas in a Jupyter notebooks
Jupyter has some advantages for teaching not shared by alternatives:
nbgitpuller
starting a class is as easy as sharing a link.Where do you find a hub? You have options:
You can also set up your own, or work with non-profits like 2i2c to develop your own hub.
Jupyter Notebooks are not the only option for teaching using notebooks and there can be advantages to other notebook formats:
Note: these formats can be converted back and forth.
We have tried several ways of teaching using Jupyter Notebooks, and found that they fit most teaching styles. We have found them particularly effective in:
However, the way you use them and the design of the notebooks differ.
Jupyter notebooks are most effective in lecture when you use them as a demonstration tool which students can follow along:
Example
“Flipping” (Akçayır and Akçayır (2018)) the lecture demonstration, as discussed, using Jupyter Notebooks is a natural fit.
This also works well for small workshops, TA-led labs, or self-study.
Jupyter Notebooks also make effective assessments:
There are also Jupyter-based assessment systems such as nbgrader
or ottergrader
.
https://comet.arts.ubc.ca/dissemination
Thank you!