Add DM-test to sp500 case (Feature/hong x dev) - #176
Open
hongxu69 wants to merge 33 commits into
Open
Conversation
…g template. 2. Update data.py to use BAA10Y as the forecasting target.
Replace SP500 return targets with BAA10Y in data.py
baa10y_smoke.yaml
Remove the extraneous space from the folder name. Update all predictor files and skill documentation. Update leaderboard.py, plots.py, and __init__.py.
Update BAA10Y forecasting components
created baa10y backtest/eval/stress specs
created 00_baa10y_data_exploration notebook
added covariates plot to 00_baa10y_data_exploration notebook
- Update notebooks - Update analysis metrics - Skip holiday eval origin
Updated 01_BAA10Y_multivariate_backtest testing 6, 99_starter_agent.ipynb, analysis.py
removed sp500 references; replaced returns by changes; added plotly plots
…_multivariate_backtest.ipynb. Kept the output results in the cells
bring the update from main.
…project.toml and uv.lock at Baa10y subproject). One may need to run uv sync at the subject level
…o-one into feature/HongX_Dev. 01_sp500_mv_backtest.ipynb does not enter this commit until the conflicted mege is resolved
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.
Summary
Clickup Ticket(s): Link(s) if applicable.
Type of Change
Changes Made
I have added DM test to aieng-forecasting/aieng/forecasting/evaluation. The new features have been first put in sp500 project so that they can get tested not in our main project. We may consider to adopt the new features in baa10y project. To see the effects, one can open implementations/sp500_forecasting/01_sp500_multivariate_backtest.ipynb. The notebook should contain some new cells and new outputs (related to the statistical significance of metric comparison).
Testing
uv run pytest tests/)uv run mypy <src_dir>)uv run ruff check src_dir/)Manual testing details:
Screenshots/Recordings
Related Issues
Deployment Notes
Checklist