| vcov.pcdfit | R Documentation |
Covariance matrix of the estimated coefficients
## S3 method for class 'pcdfit'
vcov(object, type = c("robust", "information", "profile"), ...)
object |
A fitted |
type |
Which estimator to return. |
... |
Ignored. |
A covariance matrix.
set.seed(1)
d <- sim_pcd(80, beta = c(1, -1), lambda = function(t) 8 / (1 + t))
fit <- pcdreg(pcd(id, tstart, tstop, count) ~ x1 + x2, data = d)
sqrt(diag(vcov(fit)))
sqrt(diag(vcov(fit, "information")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.