Learn R Programming

PLreg (version 0.4.1)

sandwich: Sandwich Variance and Covariance Matrix for PLreg Objects

Description

The sandwich function provides an estimate for the asymptotic variance and covariance matrix of the parameter estimators of the power logit (or log-log) regression models based on de sandwich estimator (see Queiroz and Ferrari (2022)).

Usage

sandwich(object)

Value

extra.parameter returns a matrix containing the sandwich variance and covariance matrix estimate.

Arguments

object

fitted model object of class "PLreg".

References

Queiroz, F. F. and Ferrari, S. L. P. (2022). Power logit regression for modeling bounded data. arXiv:2202.01697.

See Also

PLreg

Examples

Run this code
data("Firm")

fit <- PLreg(percentfat ~ days + sex + year, data = bodyfat_Aeolus,
             family = "PE", zeta = 2)
sandwich(fit)

Run the code above in your browser using DataLab