1 Star 1 Fork 1

连享会 / LVSTAR

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.68 KB
一键复制 编辑 原始数据 按行查看 历史
凱(Kai) 提交于 2017-11-20 00:12 . Add files via upload

LVSTAR version 1.0.0 (RED STAR)

The PSTR package implements the Logistic Vector Smooth Transition AutoRegression (LVSTAR) modelling.

The modelling procedure consists of three stages: Specification, Estimation and Evaluation. The package offers tools helping the users to conduct model specification tests, to do LVSTAR model estimation, and to do model evaluation.

The heteroskedasticity-consistent tests are implemented in the package. The wild bootstrap tests are also implemented.

Parallel computation (as an option) is implemented in some functions, especially the bootstrap tests. Therefore, the package suits tasks running many cores on super-computation servers.

How to install

You can install the package by running

if(!require(devtools)) install.packages("devtools")
devtools::install_github("yukai-yang/LVSTAR")

After installing the package, you need to load (attach better say) it by running the code

library("LVSTAR")

You can first check the information and the current version number by running

version()
#> LVSTAR version 1.0.0 (RED STAR) from GitHub

Then you can take a look at all the available functions and data in the package

ls( grep("LVSTAR", search()) ) 
#> [1] "NewLVSTAR" "sunspot"   "version"

The sunspot example

In the package, a data set called "sunspot" is offered to give prompt example. For details of the data set, you can run

?sunspot

Initialization

You can create a new object of the class PSTR by doing

star = NewLVSTAR(sunspot,freq=1,start=c(1700,1))
1
https://gitee.com/arlionn/LVSTAR.git
git@gitee.com:arlionn/LVSTAR.git
arlionn
LVSTAR
LVSTAR
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891