rafa-rod / vartests Goto Github PK
View Code? Open in Web Editor NEWStatistical tests for Value at Risk (VaR) Models.
License: MIT License
Statistical tests for Value at Risk (VaR) Models.
License: MIT License
I have installed vartests using various methods. One among them is from Jupyter, the other is from pip install vartests. I am able to see vartests directory in site-packages, but when I try importing the package I am unable to do so. I have tried all the methods that are found in the web to install and debug but to no avail. I just wanted to understand if the package is good to be used.
Hi there,
Thanks a lot for this open source var tests algos!
I found an error occurred when running duration test(Christofferson duration test).
When I input a violations series starting with 1, the error reported: UnboundLocalError: local variable 'D' referenced before assignment.
From the code, we could also find that when violation series start with 1, D is unassigned.
I might have a bug free algo in creating durations and censor series, welcome to discuss with me if you want :).
Also, I have another question about the optimization part, where you assign: N = len(D)-1, I guess you do minus 1 to make the index correct. But based on the Christofferson paper, it should be N = len(D) from my point of view.
Best regards,
Ruicheng
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.