PSLmodels / CGE

An Open Source Computational General Equilibrium Model
https://pslmodels.github.io/CGE/
Creative Commons Zero v1.0 Universal
22 stars 30 forks source link

Should `deltad` be a required argument for eqM? #27

Closed duncanhobbs closed 5 years ago

duncanhobbs commented 5 years ago

In simpleCGE.py line 69, the eq.M() function takes 8 arguments (p.gamma, p.deltam, p.deltad, p.eta, Qbar, pq, pm, p.taum).

In the function definition in firms.py, it looks like eqM() does not use deltad when calculating M.

On page 104 of the Hashimoto text, it looks as though the M equation only includes deltam and not deltad

Should deltad be a required argument for eqM?

@jdebacker

jdebacker commented 5 years ago

@duncanhobbs Good catch. You are right - deltad can be removed from that function.

jdebacker commented 5 years ago

Resolved with PR #28