Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update calibrate.py due to new tax function parameters #55

Open
jdebacker opened this issue Dec 19, 2022 · 0 comments
Open

Update calibrate.py due to new tax function parameters #55

jdebacker opened this issue Dec 19, 2022 · 0 comments

Comments

@jdebacker
Copy link
Member

In Issue #36, @jpycroft notes the following:

File "c:\users\jonat\repos\og-uk\oguk\calibrate.py", line 153, in get_tax_function_parameters
num_etr_params = dict_params["tfunc_etr_params_S"].shape[2]
AttributeError: 'list' object has no attribute 'shape'

After changes in OG-Core (PR #819), the tax parameters are stored in lists, not arrays. Thus a change is needed in calibrate.py in this repo to determine the number of parameters in a different way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant