Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Alternative Combinations of Parameter Values

Introduction

The notebook “Micro-and-Macro-Implications-of-Very-Impatient-HHs” is an exercise that demonstrates the consequences of changing a key parameter of the cstwMPC model, the time preference factor β.

The REMARK SolvingMicroDSOPs reproduces the last figure in the SolvingMicroDSOPs lecture notes, which shows that there are classes of alternate values of β and ρ that fit the data almost as well as the exact ‘best fit’ combination.

Inspired by this comparison, this notebook asks you to examine the consequences for:

  • The consumption function

  • The distribution of wealth

Of joint changes in β and ρ together.

One way you can do this is to construct a list of alternative values of ρ (say, values that range upward from the default value of ρ, in increments of 0.2, all the way to ρ=5). Then for each of these values of ρ you will find the value of β that leads the same value for target market resources, mˇ.

As a reminder, mˇ is defined as the value of m at which the optimal value of c is the value such that, at that value of c, the expected level of m next period is the same as its current value:

𝔼t[mt+1]=mt

Other notes:

  • The cstwMPC model solves and simulates the problems of consumers with 7 different values of β

    • You should do your exercise using the middle value of β from that exercise:

      • DiscFac_mean = 0.9855583

  • You are likely to run into the problem, as you experiment with parameter values, that you have asked HARK to solve a model that does not satisfy one of the impatience conditions required for the model to have a solution. Those conditions are explained intuitively in the TractableBufferStock model. The versions of the impatience conditions that apply to the 𝙸𝚗𝚍𝚂𝚑𝚘𝚌𝚔𝙲𝚘𝚗𝚜𝚞𝚖𝚎𝚛𝚃𝚢𝚙𝚎 model can be found in the paper BufferStockTheory, table 2.

    • The conditions that need to be satisfied are:

      • The Growth Impatience Condition (GIC)

      • The Return Impatience Condition (RIC)

  • Please accumulate the list of solved consumers’ problems in a list called MyTypes

    • For compatibility with a further part of the assignment below

Simulating the Distribution of Wealth for Alternative Combinations

You should now have constructed a list of consumer types all of whom have the same target level of market resources mˇ.

But the fact that everyone has the same target m does not mean that the distribution of m will be the same for all of these consumer types.

In the code block below, fill in the contents of the loop to solve and simulate each agent type for many periods. To do this, you should invoke the methods 𝚜𝚘𝚕𝚟𝚎, 𝚒𝚗𝚒𝚝𝚒𝚊𝚕𝚒𝚣𝚎_𝚜𝚒𝚖, and 𝚜𝚒𝚖𝚞𝚕𝚊𝚝𝚎 in that order. Simulating for 1200 quarters (300 years) will approximate the long run distribution of wealth in the population.

100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:03<00:00,  3.03s/it]

Now that you have solved and simulated these consumers, make a plot that shows the relationship between your alternative values of ρ and the mean level of assets

Interpret

Here, you should attempt to give an intiutive explanation of the results you see in the figure you just constructed

The Distribution of Wealth...

Your next exercise is to show how the distribution of wealth differs for the different parameter values

...and the Marginal Propensity to Consume

Now let’s look at the aggregate MPC. In the code block below, write a function that produces text output of the following form:

𝚃𝚑𝚎 𝟹𝟻𝚝𝚑 𝚙𝚎𝚛𝚌𝚎𝚗𝚝𝚒𝚕𝚎 𝚘𝚏 𝚝𝚑𝚎 𝙼𝙿𝙲 𝚒𝚜 𝟶.𝟷𝟻𝟼𝟸𝟹

Your function should take two inputs: a list of types of consumers and an array of percentiles (numbers between 0 and 1). It should return no outputs, merely print to screen one line of text for each requested percentile. The model is calibrated at a quarterly frequency, but Carroll et al report MPCs at an annual frequency. To convert, use the formula:

κY≈1.0−(1.0−κQ)4

The 5.0th percentile of the MPC is 0.3830226479018095
The 10.0th percentile of the MPC is 0.4190098031734306
The 15.0th percentile of the MPC is 0.45984701160581964
The 20.0th percentile of the MPC is 0.45984701160581964
The 25.0th percentile of the MPC is 0.45984701160581964
The 30.0th percentile of the MPC is 0.4979166414954148
The 35.0th percentile of the MPC is 0.4979166414954148
The 40.0th percentile of the MPC is 0.4979166414954148
The 44.99999999999999th percentile of the MPC is 0.5372418610399308
The 49.99999999999999th percentile of the MPC is 0.5372418610399308
The 54.99999999999999th percentile of the MPC is 0.5372418610399308
The 60.0th percentile of the MPC is 0.5821887061768969
The 65.0th percentile of the MPC is 0.5821887061768969
The 70.0th percentile of the MPC is 0.634537312685834
The 75.0th percentile of the MPC is 0.634537312685834
The 80.0th percentile of the MPC is 0.7267307307276032
The 85.0th percentile of the MPC is 0.7799255201452847
The 90.0th percentile of the MPC is 0.8208530902866055
The 95.0th percentile of the MPC is 0.8966083611183647

If You Get Here ...

If you have finished the above exercises quickly and have more time to spend on this assignment, for extra credit you can do the same exercise where, instead of exploring the consequences of alternative values of relative risk aversion ρ, you should test the consequences of different values of the growth factor Γ that lead to the same mˇ.