This repo will not be updated anymore.
The latest version is maintained at https://github.com/zhentaoshi/bHP_R_pkg.
packages for Peter Phillips and Zhentao Shi (2018): "Boosting the Hodrick-Prescott Filter"
License: MIT License
This repo will not be updated anymore.
The latest version is maintained at https://github.com/zhentaoshi/bHP_R_pkg.
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'
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
We should solve it by ourselves. We should also automate the dependence of other packages.
I have a few thoughts about how to develop the package into a full-fledged one. Now we only have a skeleton.
bHP
x
be a ts
object, so that we can keep the time series information and attach it onto the returned cycle and residualplot
and residuals
. In our case, we can use
residuals
to extract the cyclical componentpredict
to extract the trend componentplot
to display the graph of the raw time series and the estimated trendinformation criterion
or something that is used to track the path of the p-value of ADF or the value of BIC?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.
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.