fit_ghd | R Documentation |
Performs the estimation on the Generalized Hyperbolic distribution
(univariate and multivariate). Wrappers fit.ghypuv
and
fit.ghypmv
.
fit_ghd(x, symmetric = FALSE) ## Default S3 method: fit_ghd(x, symmetric = FALSE) ## S3 method for class 'tbl' fit_ghd(x, symmetric = FALSE) ## S3 method for class 'xts' fit_ghd(x, symmetric = FALSE) ## S3 method for class 'matrix' fit_ghd(x, symmetric = FALSE)
x |
A tabular (non-tidy) data structure. |
symmetric |
A |
A list
of the the class cma_fit
with 21
components.
fit_hyp
fit_nig
fit_vg
fit_t
fit_normal
x <- matrix(diff(log(EuStockMarkets)), ncol = 4) # multivariate estimation fit_ghd(x) # univariate estimation fit_ghd(x[ , 3, drop = FALSE])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.