summary.sgtest {sgt} | R Documentation |
Summary the Maximum-Likelihood Estimation with the Skewed Generalized T Distribution
Description
Summary the maximum-likelihood estimation.
Usage
## S3 method for class 'sgtest'
summary(object, ...)
Arguments
object |
object of class |
... |
currently not used. |
Value
summary.sgtest
returns an
object of class 'summary.sgtest'
with the following components:
maximum |
log-likelihood value of estimates (the last calculated value if not converged) of the method that achieved the greatest log-likelihood value. |
estimate |
estimated parameter value with the method that achieved the greatest log-likelihood value. |
convcode |
|
niter |
The amount of iterations that the method which achieved the the greatest log-likelihood value used to reach its estimate. |
best.method.used |
name of the method that achieved the greatest log-likelihood value. |
optimx |
A |
gradient |
vector, gradient value of the estimates with the method that achieved the greatest log-likelihood value. |
hessian |
matrix, hessian of the estimates with the method that achieved the greatest log-likelihood value. |
varcov |
variance/covariance matrix of the maximimum likelihood estimates |
std.error |
standard errors of the estimates |
z.score |
the z score of the estimates |
p.value |
the p-values of the estimates |
summary.table |
a |
Author(s)
Carter Davis, cdavis40@chicagobooth.edu
See Also
the optimx
CRAN package
Examples
# SINGLE VARIABLE ESTIMATION:
### generate random variable
set.seed(7900)
n = 1000
x = rsgt(n, mu = 2, sigma = 2, lambda = -0.25, p = 1.7, q = 7)
### Get starting values and estimate the parameter values
start = list(mu = 0, sigma = 1, lambda = 0, p = 2, q = 10)
result = sgt.mle(X.f = ~ x, start = start, method = "nlminb")
print(result)
print(summary(result))