ast-infomat | R Documentation |
Information matrix, asymptotic covariance and correlation matrix functions of Asymmetric Student-t distribution
astInfoMat(pars, data = c(), method = c("expected", "observed"))
astCov(pars)
astCor(pars)
pars |
a vector of parameter values for an AST distribution |
data |
a vector of numeric data used to calculate observed information matrix |
method |
one of "expected" and "observed", calculating the expected / observed information matrix |
The expected information matrix is calculated by the expectation of the outer product of score functions, analytical formulas are provided in Zhu and Galbraith(2010). The observed information matrix is calculated by the expectation of negative Hessian Matrix of the log-likelihood function.
Zhu, D., & Galbraith, J. W. (2010). A generalized asymmetric Student-t distribution with application to financial econometrics. Journal of Econometrics, 157(2), 297-305. \Sexpr[results=rd]{tools:::Rd_expr_doi("https://doi.org/10.1016/j.jeconom.2010.01.013")}
pars <- c(0.12, 0.6, 0.6, 3, 5)
data <- rast(1000, pars = pars)
round(astInfoMat(pars, data, "observed"), 4)
round(astInfoMat(pars, "expected"), 4)
round(astCov(pars), 4)
round(astCor(pars), 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.