ttest0 {garchx} | R Documentation |
T-tests and Wald-tests under nullity
Description
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).
Usage
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)
Arguments
x |
an object of class 'garchx' |
k |
|
r |
|
R |
|
level |
|
vcov.type |
|
quantile.type |
integer, the algorithm used to compute the quantile, see |
n |
|
Details
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).
Value
ttest0: |
a |
waldtest0: |
a |
Author(s)
Genaro Sucarrat, http://www.sucarrat.net/
References
Christian Francq and Le Quien Thieu (2018): 'QML inference for volatility models with covariates', Econometric Theory, doi:10.1017/S0266466617000512
See Also
garchx
, quantile
, vcov.garchx
, rmnorm
Examples
##simulate and estimate a garch(1,1):
set.seed(123)
y <- garchxSim(1000)
mymod <- garchx(y)
##t-tests:
ttest0(mymod)
##wald-test:
waldtest0(mymod)