全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件
1662 1
2020-12-23
使用的是rsdyn包里面的TVAR.LRtest函数,但是不知道这个代码参数具体是啥意思,以及输出结果怎么看,而且总是提醒有错误。有大佬解答嘛?

TVAR(data, lag, include = c("const", "trend", "none", "both"),
  model = c("TAR", "MTAR"), commonInter = FALSE, nthresh = 1,
  thDelay = 1, mTh = 1, thVar, trim = 0.1, ngrid, gamma = NULL, around,
  plot = FALSE, dummyToBothRegimes = TRUE, trace = TRUE, trick = "for",
  max.iter = 2)

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2021-7-30 14:11:18
TVAR.LRtest(data, lag = 1, trend = TRUE, series, thDelay = 1:m, mTh = 1,
  thVar, nboot = 10, plot = FALSE, trim = 0.1, test = c("1vs", "2vs3"),
  model = c("TAR", "MTAR"), hpc = c("none", "foreach"), trace = FALSE,
  check = FALSE)
Arguments
data       
multivariate time series

lag       
Number of lags to include in each regime

trend       
whether a trend should be added

series       
name of the series

thDelay       
'time delay' for the threshold variable (as multiple of embedding time delay d) PLEASE NOTE that the notation is currently different to univariate models in tsDyn. The left side variable is taken at time t, and not t+1 as in univariate cases.

mTh       
combination of variables with same lag order for the transition variable. Either a single value (indicating which variable to take) or a combination

thVar       
external transition variable

nboot       
Number of bootstrap replications

plot       
Whether a plot showing the results of the grid search should be printed

trim       
trimming parameter indicating the minimal percentage of observations in each regime

test       
Type of usual and alternative hypothesis. See details

model       
Whether the threshold variable is taken in level (TAR) or difference (MTAR)

hpc       
Possibility to run the bootstrap on parallel core. See details in TVECM.HStest

trace       
should additional infos be printed? (logical)

check       
Possibility to check the function by no sampling: the test value should be the same as in the original data
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群