Skip to content

BUG: svar, A,B dtype, one parameter score shape, closes #9302 - #9468

Merged
josef-pkt merged 2 commits into
statsmodels:mainfrom
josef-pkt:bug_svar_oneparam
Jan 6, 2025
Merged

josef-pkt merged 2 commits into
statsmodels:mainfrom
josef-pkt:bug_svar_oneparam

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

closes #9302

@josef-pkt josef-pkt added this to the 0.15 milestone Jan 5, 2025
@pep8speaks

pep8speaks commented Jan 5, 2025 •

Copy link
Copy Markdown

Hello @josef-pkt! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2025-01-06 17:57:41 UTC

@josef-pkt

josef-pkt commented Jan 6, 2025 •

Copy link
Copy Markdown
Member Author

problems with optimization option

  • fit uses hardcoded gtol which does not apply for other methods like newton.
  • unit tests created convergence warning with gradient not changing. gtol was much too small (limited by numerical precision of approx_fprime), now increase to 1e-5 and convergence warnings in unit tests disappeared.

however, currently there are no options for user to specify optimization kwargs

@josef-pkt
josef-pkt merged commit 419ff3b into statsmodels:main Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug when trying to estimate SVAR because of changes in numpy

2 participants