Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

estequa.overglm

Estimating Equations in Negative Binomial and Beta-Binomial Models


Description

Extracts estimating equations evaluated at the estimates of the parameters for a negative binomial or beta-binomial model fitted to the data.

Usage

## S3 method for class 'overglm'
estequa(model, ...)

Arguments

model

an object of the class overglm which is obtained from the fit of a negative binomial or beta-binomial regression model.

...

further arguments passed to or from other methods.

Value

A vector with the value of the estimating equations evaluated at the parameter estimates and the observed data.

Examples

fit1 <- overglm(tumors ~ group, family="nb3(log)", data=mammary)
estequa(fit1)

fit2 <- overglm(infections ~ frequency + location, family="nb1(log)", data=swimmers)
estequa(fit2)

fit3 <- overglm(cbind(cells,200-cells) ~ tnf + ifn + tnf*ifn, family="bb(logit)", data=cellular)
estequa(fit3)

fit4 <- overglm(cbind(fetuses,litter-fetuses) ~ pht*tcpo, family="bb(logit)", data=ossification)
estequa(fit4)

glmtoolbox

Set of Tools to Data Analysis using Generalized Linear Models

v0.1.0
GPL-2 | GPL-3
Authors
Luis Hernando Vanegas [aut, cre], Luz Marina Rondón [aut], Gilberto A. Paula [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.