View source: R/garchx-source-code.R
| ttest0 | R Documentation | 
The permissible parameter-space of GARCH-models is bounded from below by 0. This means non-standard inference is required when one or more parameters are 0 under the null hypothesis, a frequent situation in empirical applications. The functions ttest0 and waldtest0 perform t-tests and Wald-tests when one or more parameters is 0. In the latter test, the Wald-test, the critical values are obtained by simulation, see Francq and Thieu (2018).
  ttest0(x, k = NULL)
  waldtest0(x, r = 0, R = NULL, level = c(0.1,0.05,0.01),
    vcov.type = NULL, quantile.type = 7, n = 20000)
| x | an object of class 'garchx' | 
| k | 
 | 
| r | 
 | 
| R | 
 | 
| level | 
 | 
| vcov.type | 
 | 
| quantile.type | integer, the algorithm used to compute the quantile, see  | 
| n | 
 | 
The ttest0 function performs a t-test of coefficient k with 0 as null. Under this null the parameter is on the boundary of the admissible parameter space, and so the distribution is non-standard under the null. The function ttest0 returns the result(s) of these non-standard t-test(s), see Francq and Thieu (2018). If k=NULL, the default, then a test for each coefficient apart from the intercept is undertaken.
The waldtest0 function performs a Wald-test of the restrictions in r, when one or more of its elements are 0, see Francq and Thieu (2018).
| ttest0: | a  | 
| waldtest0: | a  | 
Genaro Sucarrat, https://www.sucarrat.net/
Christian Francq and Le Quien Thieu (2018): 'QML inference for volatility models with covariates', Econometric Theory, doi:10.1017/S0266466617000512
garchx, quantile, vcov.garchx, rmnorm 
##simulate and estimate a garch(1,1):
set.seed(123)
y <- garchxSim(1000)
mymod <- garchx(y)
##t-tests:
ttest0(mymod)
##wald-test:
waldtest0(mymod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.