Skip to content

Commit ec5e32e

Browse files
committed
updated eGARCH and NGARCH
1 parent ef90b61 commit ec5e32e

File tree

86 files changed

+895
-2498
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+895
-2498
lines changed

binary-Q1-TD.Rmd

-1,875
This file was deleted.

binary-Q1.Rmd

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ output:
1111
toc_float:
1212
collapsed: no
1313
smooth_scroll: no
14-
self_contained: no
1514
tufte::tufte_html:
1615
toc: yes
1716
toc_depth: 4

binary-Q1Multi-GARCH.Rmd

+4-2
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ From above tables, we know the univariate statistical modelling will facing stat
174174

175175
Due to article **The GARCH DCC Model and 2 Stage DCCMVT Estimation**^[Kindly refer to [Reference] for further reading.] compares the `model = c('DCC', 'aDCC')` but not `model = 'FDCC'` with all distributions and concludes that `aDCC` with `distribution = 'mvt'` is the best fit model and distribution for multivariate GARCH model. Here I directly use `mvt` but in different `solver` parameters.
176176

177+
The paper [Binary.com Interview Q1 - Comparison of Univariate GARCH Models](https://rpubs.com/englianhu/binary-Q1Uni-GARCH) describes the GARCH orders. [How to identify the ARCH and GARCH lag length in dynamic conditional correlation GARCH model?](https://stats.stackexchange.com/questions/136302/how-to-identify-the-arch-and-garch-lag-length-in-dynamic-conditional-correlation?answertab=votes#tab-top) describes the GARCH(1,1) and also DCC-GARCH as well.
178+
177179
```{r dcc1, echo=FALSE, eval=FALSE}
178180
### ========= using cluster for sampling ===============
179181
fit <- llply(na.omit(Cl(mbase[['USDJPY']])), function(x){
@@ -268,7 +270,7 @@ dcc.logLik %>%
268270

269271
*Table 3.2.1.2 : Log-Likelihood comparison.*
270272

271-
### Modelling for Banker
273+
### Close Price
272274

273275
```{r bk-dcc, eval=FALSE}
274276
## Possible multivariate models.
@@ -375,7 +377,7 @@ names(bk.dcc) <- md
375377
```
376378

377379

378-
### Modelling for Punter
380+
### Hi-Lo Price
379381

380382
#### Single Currency
381383

binary-Q1Uni-GARCH.Rmd

+339-30
Large diffs are not rendered by default.

binary-Q1Uni-GARCH.html

+552-590
Large diffs are not rendered by default.

data/fx/USDAUD/eGARCH.2013-08-21.rds

0 Bytes
Binary file not shown.

data/fx/USDAUD/eGARCH.2013-08-22.rds

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
470 Bytes
Binary file not shown.
469 Bytes
Binary file not shown.
473 Bytes
Binary file not shown.
467 Bytes
Binary file not shown.
474 Bytes
Binary file not shown.
476 Bytes
Binary file not shown.
478 Bytes
Binary file not shown.
462 Bytes
Binary file not shown.

data/fx/USDCAD/eGARCH.2013-08-21.rds

0 Bytes
Binary file not shown.

data/fx/USDCAD/eGARCH.2013-08-22.rds

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
479 Bytes
Binary file not shown.
479 Bytes
Binary file not shown.
474 Bytes
Binary file not shown.
476 Bytes
Binary file not shown.
473 Bytes
Binary file not shown.
474 Bytes
Binary file not shown.
472 Bytes
Binary file not shown.
468 Bytes
Binary file not shown.

data/fx/USDCHF/eGARCH.2013-08-21.rds

0 Bytes
Binary file not shown.

data/fx/USDCHF/eGARCH.2013-08-22.rds

-1 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-5 Bytes
Binary file not shown.
443 Bytes
Binary file not shown.
449 Bytes
Binary file not shown.
447 Bytes
Binary file not shown.
434 Bytes
Binary file not shown.
452 Bytes
Binary file not shown.
449 Bytes
Binary file not shown.
441 Bytes
Binary file not shown.

data/fx/USDCNY/eGARCH.2013-08-21.rds

0 Bytes
Binary file not shown.

data/fx/USDCNY/eGARCH.2013-08-22.rds

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
447 Bytes
Binary file not shown.
457 Bytes
Binary file not shown.
464 Bytes
Binary file not shown.
457 Bytes
Binary file not shown.
451 Bytes
Binary file not shown.
430 Bytes
Binary file not shown.
433 Bytes
Binary file not shown.
462 Bytes
Binary file not shown.

data/fx/USDEUR/eGARCH.2013-08-21.rds

0 Bytes
Binary file not shown.

data/fx/USDEUR/eGARCH.2013-08-22.rds

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
474 Bytes
Binary file not shown.
466 Bytes
Binary file not shown.
469 Bytes
Binary file not shown.
467 Bytes
Binary file not shown.
476 Bytes
Binary file not shown.
477 Bytes
Binary file not shown.
467 Bytes
Binary file not shown.
468 Bytes
Binary file not shown.

data/fx/USDGBP/eGARCH.2013-08-21.rds

0 Bytes
Binary file not shown.

data/fx/USDGBP/eGARCH.2013-08-22.rds

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
439 Bytes
Binary file not shown.
444 Bytes
Binary file not shown.
447 Bytes
Binary file not shown.
459 Bytes
Binary file not shown.
441 Bytes
Binary file not shown.
425 Bytes
Binary file not shown.

data/fx/USDJPY/eGARCH.2013-08-21.rds

-3 Bytes
Binary file not shown.

data/fx/USDJPY/eGARCH.2013-08-22.rds

-4 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
469 Bytes
Binary file not shown.
467 Bytes
Binary file not shown.
465 Bytes
Binary file not shown.
469 Bytes
Binary file not shown.
467 Bytes
Binary file not shown.
472 Bytes
Binary file not shown.
466 Bytes
Binary file not shown.
477 Bytes
Binary file not shown.

www/AIC-BIC.png

639 KB

www/accuracy-precision.jpg

9.35 KB

www/blooper-01.jpg

5.36 MB

0 commit comments

Comments
 (0)