Skip to content

Commit 3e67571

Browse files
HumphreyYangoyamad
andauthored
Update based on oyamad's suggestion
Co-authored-by: Daisuke Oyama <oyama@e.u-tokyo.ac.jp>
1 parent 25ba8e7 commit 3e67571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lectures/mccall_correlated.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class JobSearch:
207207
208208
# Set up grid
209209
z_mean = d / (1 - ρ)
210-
z_sd = np.sqrt(σ**2 / (1 - ρ**2))
210+
z_sd = σ / np.sqrt(1 - ρ**2)
211211
k = 3 # std devs from mean
212212
a, b = z_mean - k * z_sd, z_mean + k * z_sd
213213
self.z_grid = np.linspace(a, b, grid_size)

0 commit comments

Comments
 (0)