Applied Exercises

This section provides some exercises that are meant to deepen your knowledge in the topics covered in this section and to gain experience solving real-world problems.‌

1. Getting familiar with data imports and descriptive analysis

In this exercise you will download some data of your choice from popular statistical databases and conduct descriptive analysis using MATLABs graphical engine. Try this exercise multiple times varying data source, the dataset and the data format until you get comfortable with handling and plotting data in MATLAB.

1) Download a dataset of your choice in either .csv or .xls/.xlsx format from one of the following statistical databases.

2) Inspect the file using a text editor and decide which is the best way to import it into MATLAB?

3) Use the commands you learned in this unit to import the data.

4) Use MATLABs graphical engine to generate interesting plots of varying plot type etc. Make sure your label your axis appropriately, add titles and legends etc.

2. Plotting the evolution of the economy in the canonical OLG model

In this exercise you will extend the exercise from the previous section to calculating the evolution of multiple variables characterizing the OLG economy and plotting the generated series.

Use the following parameter values.

Tip: Use the subplot command to create the 2x2 plot matrix.

Theory

In the canonical overlapping-generations (OLG) model, the evolution of the capital stock per worker is described by the following law of motion.

Last updated