From d9114c857f61fe920b5f1b829b5873f70e15bb9c Mon Sep 17 00:00:00 2001 From: Shu Date: Sun, 7 Aug 2022 15:56:34 +1000 Subject: [PATCH] [mccall_fitted_vfi] fix issue #246 --- lectures/mccall_fitted_vfi.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lectures/mccall_fitted_vfi.md b/lectures/mccall_fitted_vfi.md index 3f0a07d20..1138711b8 100644 --- a/lectures/mccall_fitted_vfi.md +++ b/lectures/mccall_fitted_vfi.md @@ -213,8 +213,6 @@ mccall_data_continuous = [ ('c', float64), # unemployment compensation ('α', float64), # job separation rate ('β', float64), # discount factor - ('σ', float64), # scale parameter in lognormal distribution - ('μ', float64), # location parameter in lognormal distribution ('w_grid', float64[:]), # grid of points for fitted VFI ('w_draws', float64[:]) # draws of wages for Monte Carlo ] @@ -239,7 +237,7 @@ class McCallModelContinuous: def update(self, v, d): # Simplify names - c, α, β, σ, μ = self.c, self.α, self.β, self.σ, self.μ + c, α, β = self.c, self.α, self.β w = self.w_grid u = lambda x: np.log(x)