knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%", warning = F, message = F )
An implementation for high-dimensional time series analysis methods, including: factor model for vector time series proposed by Lam and Yao (2012)
You can install the released version of HDTSA
from CRAN with:
install.packages("HDTSA")
Or try the development version on GitHub:
# install.packages("devtools") devtools::install_github("Linc2021/HDTSA")
This is a basic example which shows you how to solve a unit root test problem :
library(HDTSA) N=100 Y=arima.sim(list(ar=c(0.9)), n = 2*N, sd=sqrt(1)) con_vec=c(0.45,0.55,0.65) lagk.vec=c(0,1,2) UR_test(Y,lagk.vec=lagk.vec, con_vec=con_vec,alpha=0.05) UR_test(Y,alpha=0.05)
Here, we have provided just one example. You can use functions within the package HDTSA
to solve other problems. For details, please refer to
help("HDTSA")
Please send an email to Chen Lin(linchen\@smail.swufe.edu.cn{.email}).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.