Giter Site home page Giter Site logo

boostedhp's Introduction

boostedhp's People

Contributors

chenyang45 avatar zhentaoshi avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

boostedhp's Issues

Plots are not working

Hi! Thanks for your package.

Plots are not working for me, following your file Example.R:

> plot(bx_ADF)
Error in xy.coords(x, y, xlabel, ylabel, log) : 
  'x' is a list, but does not have components 'x' and 'y'
> plot(bx_BIC, interval_t = 0.8 )
Error in xy.coords(x, y, xlabel, ylabel, log) : 
  'x' is a list, but does not have components 'x' and 'y'
> plot(bx_none,plot_type = "JS")
Error in xy.coords(x, y, xlabel, ylabel, log) : 
  'x' is a list, but does not have components 'x' and 'y'

bHP crashes with R 4.2.2

Hi,
Thanks for making this code available.
I've been using this code a few times with older versions of R. I just upgraded to R 4.2.2 (on Ubuntu 22.04) and it crashes (R needs to restart) without leaving any message.

Is this problem known?

Cheers
Gianni

Road map toward a full package

I have a few thoughts about how to develop the package into a full-fledged one. Now we only have a skeleton.

  • Make the output list of the main function as an R object with a name, say bHP
  • Require the input x be a ts object, so that we can keep the time series information and attach it onto the returned cycle and residual
  • R runs on many generic methods, for example plot and residuals. In our case, we can use
    • residuals to extract the cyclical component
    • predict to extract the trend component
    • plot to display the graph of the raw time series and the estimated trend
    • Is there some method called information criterion or something that is used to track the path of the p-value of ADF or the value of BIC?

Generate PDF manual

I tried devtools::check(manual=TRUE), which is supposed to generate the PDF manual.

It runs a lot of lines, but an error was reported and the executed was halted.

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.