Learn R Programming

BinaryEPPM (version 2.3)

vcov.BinaryEPPM: Variance/Covariance Matrix for Coefficients

Description

Variance/covariance matrix for coefficients of fitted model.

Usage

# S3 method for BinaryEPPM
vcov(object, model = c("full", "p", "scale.factor"), …)

Arguments

object

fitted model object of class "BinaryEPPM".

model

character indicating variance/covariance matrix for all coefficients to be output: all coefficients ("full"), variance/covariance matrix for coefficients of probability of success ("p"), variance/covariance matrix for coefficients of scale-factor ("scale.factor")

Value

The variance/covariance matrix of the parameters of the fitted model object.

References

Cribari-Neto F, Zeileis A. (2010). Beta Regression in R. Journal of Statistical Software, 34(2), 1-24. 10.18637/jss.v034.i02.

See Also

betareg

Examples

Run this code
# NOT RUN {
data("ropespores.case") 
output.fn <- BinaryEPPM(data = ropespores.case,
                  number.spores / number.tested ~ 1 + offset(logdilution),
                  model.type = 'p only', model.name = 'binomial')   
vcov(output.fn)
# }

Run the code above in your browser using DataLab