Description Usage Arguments Value Author(s) References See Also Examples
Extraction functions for objects of class 'geovol'.
1 2 3 4 5 6 7 8 9 10 11 12 | ## S3 method for class 'geovol'
coef(object, as.zoo = TRUE, ...)
## S3 method for class 'geovol'
fitted(object, as.zoo = TRUE, ...)
## S3 method for class 'geovol'
logLik(object, ...)
## S3 method for class 'geovol'
nobs(object, ...)
## S3 method for class 'geovol'
print(x, n.extreme = 20, ...)
## S3 method for class 'geovol'
residuals(object, as.zoo = TRUE, ...)
|
object |
an object of class 'geovol'. |
x |
an object of class 'geovol'. |
as.zoo |
logical. If |
n.extreme |
|
... |
additional arguments. |
coef: |
numeric vector containing parameter estimates. |
fitted: |
fitted (squared) GEOVOL time series. |
logLik: |
log-likelihood (normal density). |
nobs: |
the number of observations used in the estimation. |
print: |
print of the estimation results. |
residuals: |
GEOVOL standardised residuals. |
Susana Campos-Martins
Engle, R.F. and Campos-Martins, S. (2020) Measuring and hedging geopolitical risk. Available at https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3685213.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | set.seed(123)
## Simulate from a GEOVOL model (default):
eSim <- geovolSim(n = 1000, m = 30)
## Test for GEOVOL
eTest <- geovolTest(e = eSim^2)
## Estimate a GEOVOL model:
geovolEst <- geovol(e = eSim)
## Print estimation results:
print(geovolEst)
## Extract coefficients:
coef(geovolEst)
## Extract and store GEOVOL:
sigma2Est <- fitted(geovolEst)
## Extract optimised log-likelihood values:
logLik(geovolEst)
## Extract and store GEOVOL standardised residuals:
etaEst <- residuals(geovolEst)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.