Repository navigation
BUG-0003, BUG-0034, BUG-0035: the .inp path's -deseason, -estwin and -diag are the C's - #40
Merged
Merged
Conversation
The C of record now deseasonalizes on the Box-Cox scale too (atsw-gui engines/drvarma BUG-0010). tests/test_deseason_as_the_c.py: the C battery's seven full-sample -deseason cases; with the compiled engine the port gives the C's logL, iterations, estimates and forecast table line for line. Found on the way, with or without -deseason, in the .inp CLI: -estwin fits the whole sample for the .out (BUG-0034) and -diagar -diagcov dies in the Wald blocks (BUG-0035). Both with repros. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LHFMF3teQWFeXfDJVGj2p5
…es its .out, as the C BUG-0034: estimate_w(estwin=) (the binding's g_estwin, there but always 0; and the pure-Python estimator) takes the start from all of w and the likelihood on the window, and returns the window's residuals. Model(estwin=) estimates the seasonal dummies on the window; the .out, the .forecast and the .recursive come from that one fit, as the C's writer. BUG-0035: the Wald blocks index a lag's m diagonal elements with -diagar/-diagma, as the C's test_last_*_significance. tests/test_deseason_as_the_c.py now holds all 11 -deseason cases of the C's battery: logL, iterations, estimates and forecast line for line, recursive forecasts to the sixth decimal. homologation.json: the binding's sha256. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LHFMF3teQWFeXfDJVGj2p5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LHFMF3teQWFeXfDJVGj2p5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port side of atsw-gui #229 (the C's BUG-0010). Merge after #229.
deseason.py,tests/_bug0003.py(the frozen 0.4.1 still adjusts in levels, so it stays strict xfail),ARCHITECTURE.md§8 andHOMOLOGATION.mdare updated.-estwinestimates on the window, as the C.estimate_w(estwin=)starts from all the data and maximizes the likelihood on the window only. It goes through the binding'sg_estwin, which was already there but always 0, and through the pure-Python estimator..out,.forecastand.recursiveall come from that one fit, as in the C.-diagar/-diagma. Before, the CLI died with an IndexError.tests/test_deseason_as_the_c.pycovers all 11-deseasoncases of the C's battery. With the compiled engine, logL, iterations, estimates and forecast table match line for line, and the recursive forecasts match to the sixth decimal. The fdhess standard errors are not compared; the reason is in the test (a 1e-13 data perturbation already moves them by up to 2.5 %).homologation.json: new sha256 of the binding (drvarma_api.c/.h, the package's own files).cases.jsonrecords the C at f513c9c (the #229 head). I update it to the merge commit when #229 merges.🤖 Generated with Claude Code
https://claude.ai/code/session_01LHFMF3teQWFeXfDJVGj2p5