Description Usage Arguments Details Value
View source: R/vcov.tcensReg.R
Method for Returning Covariance of Fixed Parameters for tcensReg S3 Objects
1 2 |
object |
Object of class |
logsigma |
Logical indicator of whether to return standard deviation as logsigma or sigma. Default is FALSE returning sigma |
... |
Additional optional parameters |
If logsigma
=TRUE, the default variance covariance matrix is returned.
Otherwise if the parameter sigma is desired then logsigma
=FALSE, and
we use the multivariate delta method to find these values as described below:
Original Asymptotic Result:
θ=(β_{1}, …, β_{(p-1)}, \log(σ))^{T}\sim N_{p}(\hat{θ}, \hat{Σ}_{θ})
Transformed Parameters:
g(θ)=(β_{1}, …, β_{(p-1)}, \exp\{\log(σ)\})^{T}\sim N_{p}(g(\hat{θ}), \nabla_{g(θ)}^{T}\hat{Σ}_{θ}\nabla_{g(θ)})
The gradient vector is defined as
\nabla_{g(θ)}=diag(1_{p-1}, \log(σ)\exp\{\log(σ)\})_{p\times p}
Numeric matrix of variance covarince values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.