vcov.mleDb {dbd} | R Documentation |
Retrieve the covariance matrix from an "mleDb"
object.
Description
Extract the covariance matrix attribute an object of class
"mleDb"
. I.e. obtain the estimated covariance matrix
of the maximum likelihood estimates of the parameters of a
db distribution.
Usage
## S3 method for class 'mleDb'
vcov(object, ...)
Arguments
object |
An object of class |
... |
Not used. |
Details
The estimated covariance matrix is the inverse of the hessian of the negative log likelihood. (This may also be referred to as the observed Fisher information — the Fisher information evaluated at the maximum likelihood estimates of the parameters).
Value
A two-by-two positive definite (with any luck!) numeric matrix. It is an estimate of the covariance matrix of the parameter estimates.
Author(s)
Rolf Turner r.turner@auckland.ac.nz
See Also
vcov.mleBb)
mleDb()
Examples
X <- hmm.discnp::SydColDisc
X$y <- as.numeric(X$y)
X <- split(X,f=with(X,interaction(locn,depth)))
fitz <- lapply(X,function(x){mleDb(x$y,ntop=5)})
lapply(fitz,vcov)
[Package dbd version 0.0-22 Index]