Skip to content

Commit

Permalink
clarify when using baseline values
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Sep 13, 2024
1 parent 36b1e7d commit ec982c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ogcore/SS.py
Original file line number Diff line number Diff line change
Expand Up @@ -1377,13 +1377,13 @@ def run_SS(p, client=None):
if p.use_zeta:
BQguess = 0.12231465279007188
if p.baseline_spending:
TR_ss = TRguess
TR_baseline = TRguess
Ig_baseline = ss_solutions["I_g_ss"]
ss_params_reform = (
b_guess,
n_guess,
TR_ss,
I_g_ss,
TR_baseline,
Ig_baseline,
factor,
p,
client,
Expand All @@ -1392,15 +1392,15 @@ def run_SS(p, client=None):
guesses = (
[r_p_guess, rguess, wguess]
+ list(p_m_guess)
+ [Yguess, BQguess, TR_ss]
+ [Yguess, BQguess, TR_baseline]
)
else:
guesses = (
[r_p_guess, rguess, wguess]
+ list(p_m_guess)
+ [Yguess]
+ list(BQguess)
+ [TR_ss]
+ [TR_baseline]
)
sol = opt.root(
SS_fsolve,
Expand Down

0 comments on commit ec982c4

Please sign in to comment.