Code Monkey home page Code Monkey logo

tsm's Introduction

Time Series Modelling

<last updated on 2024-07-26>

This R package contains a few routines that accompany a course on Time Series Modelling.

Installation

To install the repository the current data from GitHub:

pak::pak("KevinKotze/tsm")

Disclaimer

Please note that Iโ€™m in no way responsible for the results that may be produced using these routines, which are mostly wrapper functions. Researchers are encouraged to make use of other packages.

tsm's People

Contributors

kevinkotze avatar

Stargazers

Jhon Roly  avatar Shreya Mondal avatar  avatar EconMaett avatar  avatar  avatar Bernardo Reckziegel avatar Allister Hodge avatar  avatar Johannes Coetsee avatar StoneWings avatar Wihan avatar Xuanbin Yang avatar Dionysis Papagiannopoulos avatar Joseph Kibira avatar AM avatar Hylton Hollander avatar  avatar Sinan avatar Mark Song avatar NOLEonie avatar  avatar Humphrey Zondi avatar Satpreet avatar

Watchers

 avatar  avatar EconMaett avatar

tsm's Issues

Issue Using Beveridge-Nelson Decomposition (bnd) function

Hello,

I was recently trying to use the bnd function for Beveridge-Nelson decomposition. I ran into the following problem. Without being too specific this was my workflow:

data <- ts(runif(1000, 0, 1), start = c(1900,1), frequency = 12)
result <- bnd(data, nlag = 12)

Error in rbind(coef.tmp, eye) :
number of columns of matrices must match (see arg 2)

This error is fixed when I go into the function and change line 10 from:

x = yl[(nlag + 1):(length(y) - 1), 1:8]

to:

x = yl[(nlag + 1):(length(y) - 1), 1:nlag]

Otherwise, I have to rbind a 12 column matrix with an 8 column one and this is my error.

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.