Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/startingVLSTAR.R
This function allows the user to obtain the set of starting values of Gamma and C for the convergence algorithm via searching grid.
1 2 3 4 5 6 7 8 9 10 11 |
y |
|
exo |
(optional) |
p |
lag order |
m |
number of regimes |
st |
single transition variable for all the equation of dimension |
constant |
|
n.combi |
Number of combination for the searching grid of Gamma and C |
ncores |
Number of cores used for parallel computation. Set to 2 by default |
singlecgamma |
|
The searching grid algorithm allows for the optimal choice of the parameters γ and c by minimizing the sum of the Squared residuals for each possible combination.
The parameter c is initialized by using the mean of the dependent(s) variable, while γ is sampled between 0 and 100.
An object of class startingVLSTAR
.
Andrea Bucci
Anderson H.M. and Vahid F. (1998), Testing multiple equation systems for common nonlinear components. Journal of Econometrics. 84: 1-36
Bacon D.W. and Watts D.G. (1971), Estimating the transition between two intersecting straight lines. Biometrika. 58: 525-534
Terasvirta T. and Yang Y. (2014), Specification, Estimation and Evaluation of Vector Smooth Transition Autoregressive Models with Applications. CREATES Research Paper 2014-8
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.