Description Usage Arguments Value See Also Examples
This function returns a RegArchFitClass object giving the estimators of the model.
1 2 3 4 5 6 7 |
Yt |
a vector of doubles: the time serie observations |
model |
a RegArchModelClass object describing the model. See modelSet |
initPoint |
a RegArchModelClass object: initial point of the optim function. |
method |
optim function 'method' parameter. See optim |
h |
a double: relative step used to compute the hessian matrix |
control |
optim 'control' parameter. See optim |
param |
a RegArchModelClass of the fitted parameters. |
asymptCov |
the estimated asymptotic covariance matrix of the estimates |
LLH |
the log-likelihood value |
convergence |
optim 'convergence' value. See optim |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | mm1 <- meanSet(CONST=1)
hh1 <- varSet(CONSTVAR=1)
rr1 <- residualsSet('NORMAL')
model1 <- modelSet(mm1, hh1, rr1)
data(NormData)
Res1<-RegArchFit(NormData, model=model1)
summary(Res1)
mm2 <- meanSet(nAR=2, CONST=2)
hh2 <- varSet(nGARCH=c(1,1))
rr2 <- residualsSet('STUDENT', 10)
model2 <- modelSet(mm2, hh2, rr2)
data(ARGARCHData)
Res2<-RegArchFit(ARGARCHData, model=model2, control=list(maxit=5000))
summary(Res2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.