Skip to content

Commit

Permalink
update a minor typo in calvo (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
HumphreyYang authored Feb 17, 2025
1 parent dd9e7f0 commit 2abace4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lectures/calvo_machine_learn.md
Original file line number Diff line number Diff line change
Expand Up @@ -1089,11 +1089,11 @@ def s(θ, μ, u0, u1, u2, α, c):
# Calculate v_t sequence backward
def compute_vt(μ, β, c, u0=1, u1=0.5, u2=3, α=1):
T = len(μs)
T = len(μ)
θ = compute_θ(μ, α)
v_t = np.zeros(T)
μ_bar = μs[-1]
μ_bar = μ[-1]
# Reduce parameters
s_p = lambda θ, μ: s(θ, μ,
Expand Down

2 comments on commit 2abace4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.