Skip to content

Commit 2abace4

Browse files
authored
update a minor typo in calvo (#199)
1 parent dd9e7f0 commit 2abace4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lectures/calvo_machine_learn.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1089,11 +1089,11 @@ def s(θ, μ, u0, u1, u2, α, c):
10891089
10901090
# Calculate v_t sequence backward
10911091
def compute_vt(μ, β, c, u0=1, u1=0.5, u2=3, α=1):
1092-
T = len(μs)
1092+
T = len(μ)
10931093
θ = compute_θ(μ, α)
10941094
10951095
v_t = np.zeros(T)
1096-
μ_bar = μs[-1]
1096+
μ_bar = μ[-1]
10971097
10981098
# Reduce parameters
10991099
s_p = lambda θ, μ: s(θ, μ,

0 commit comments

Comments
 (0)