gat-infomat | R Documentation |
Information matrix, asymptotic covariance and correlation matrix functions of Asymmetric Student-t distribution
gatInfoMat(pars, data)
gatCov(pars, data)
gatCor(pars, data)
pars |
a vector of parameter values for an AST distribution |
data |
a vector of numeric data used to calculate 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.
Baker, R. D. (2016). A new asymmetric generalisation of the t-distribution. arXiv preprint arXiv:1606.05203. \Sexpr[results=rd]{tools:::Rd_expr_doi("https://doi.org/10.48550/arXiv.1606.05203")}
pars <- c(0.12, 0.6, 1.5, 1.2, 2, 5)
data <- rgat(1000, pars = pars)
round(gatInfoMat(pars, data), 4)
round(gatCov(pars, data), 4)
round(gatCor(pars, data), 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.