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

By vectorizing computations and using Numba JIT, the performance of SRISK calculations has been significantly improved. #7

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

lianghx123
Copy link

@lianghx123 lianghx123 commented Jun 29, 2024

Note: The initial installation and compilation of JIT functions take relatively longer.

Added a crucial state check to the fit method in GJRGARCHModel that was previously omitted. The absence of this check led to redundant estimations during the optimization of parameters 'a' and 'b' in the DCC-GJRGARCH model, resulting in significant performance inefficiencies. This update ensures that all necessary conditions are verified before proceeding with calculations, thus enhancing the model's efficiency and reliability.
Vectorize the grid search method for finding initialization parameters and use the Numba JIT function to wrap the volatility model for improved performance.
Vectorize the grid search method for finding initialization parameters and use the Numba JIT function to wrap the dcc model for improved performance.
Vectorize the S-sample calculations and computation process of LRMES to enhance performance.
@lianghx123 lianghx123 changed the title Improve the efficiency of estimating the dcc-gjrgarch model By vectorizing computations and using Numba JIT, the performance of SRISK calculations has been significantly improved. Jul 2, 2024
@mgao6767
Copy link
Owner

mgao6767 commented Sep 3, 2024

Sorry I missed this PR. Let me check into this later this month. I was trying to use C++ extension when possible but maybe replacing all C++ extensions with Numba is also a good idea.

@mgao6767 mgao6767 self-assigned this Sep 3, 2024
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

Successfully merging this pull request may close these issues.

2 participants