Description Usage Arguments Details Value Examples
GARCH filter applied separately to a matrix of log returns, the d log returns should have the same dates, a subset of rows can be chosen
1 | gfiltersubset(lgret,ar,m1,m2,iprint=F)
|
lgret |
Nxd matrix of log returns of d financial assets |
ar |
TRUE for univariate GARCH(1,1)-AR(1) for model, FALSE for GARCH(1,1) model |
m1 |
first row of lgret to use for the subset |
m2 |
last row of lgret to use for the subset |
iprint |
print flag for GARCH estimates, F by default |
This function requires library fGarch and its dependent libraries.
filter |
GARCH filtered data (nxd, where n=m2-m1+1) |
uscore |
empirical uniform scores (nxd) |
zscore |
empirical normal scores (nxd) |
uscmodel |
model-based uniform scores (nxd) |
zscmodel |
model-based normal scores (nxd) |
sigmat |
matrix of estimated volatilities (nxd) |
coef |
matrix of GARCH parameters (6xd or 5xd for ar=T or ar=F respectively), the parameters are mu, (ar1), omega, alpha1, beta1, shape. |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.