Skip to content

Commit

Permalink
Add bootstrap_kwargs to bootstrap call in msm weighting
Browse files Browse the repository at this point in the history
  • Loading branch information
timmens committed Oct 25, 2023
1 parent 0db0e16 commit 38a506e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/estimagic/estimation/msm_weighting.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ def func(data, **kwargs):
) # xxxx won't be necessary soon!
return out

cov_arr = bootstrap(data=data, outcome=func, outcome_kwargs=moment_kwargs).cov()
cov_arr = bootstrap(
data=data, outcome=func, outcome_kwargs=moment_kwargs, **bootstrap_kwargs
).cov()

if isinstance(cov_arr, pd.DataFrame):
cov_arr = cov_arr.to_numpy() # xxxx won't be necessary soon
Expand Down

0 comments on commit 38a506e

Please sign in to comment.