| standard_error {PLNmodels} | R Documentation |
Extracts univariate standard errors for the estimated coefficient of Theta. Standard errors are computed from the (approximate) Fisher information matrix. See fisher.PLNfit() for more details on the approximations.
standard_error(object, type)
## S3 method for class 'PLNfit'
standard_error(object, type = c("wald", "louis"))
object |
an R6 object with class PLNfit |
type |
Either |
A p * d positive matrix (same size as Θ) with standard errors for the coefficients of Θ
PLNfit: Component-wise standard errors of Theta in PLNfit
vcov.PLNfit() for the complete Fisher information matrix
data(trichoptera) trichoptera <- prepare_data(trichoptera$Abundance, trichoptera$Covariate) myPLN <- PLN(Abundance ~ 1 + offset(log(Offset)), data = trichoptera) standard_error(myPLN, "wald")