Giter Club home page Giter Club logo

vartests's People

Contributors

rafa-rod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vartests's Issues

Not able to import vartests even after installation

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.

Error in duration test

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.
image
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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.