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

bread.drc

Bread and meat for the sandwich


Description

Bread and meat for the sandwich estimator of the variance-covariance.

Usage

bread.drc(x, ...)
  
  estfun.drc(x, ...)

Arguments

x

object of class drc

...

additional arguments. At the moment none are supported

Details

The details are provided by Zeileis (2006).

Value

The unscaled hessian is returned by bread.drc, whereas estfun.drc returns the estimating function evaluated at the data and the parameter estimates.

By default no clustering is assumed, corresponding to robust standard errors under independence. If a cluster variable is provided the log likelihood contributions provided by estfun are summed up for each cluster.

Author(s)

Christian Ritz

References

Zeileis, A. (2006) Object-oriented Computation of Sandwich Estimators, J. Statist. Software, 16, Issue 9.

Examples

## The lines below requires that the packages
## 'lmtest' and 'sandwich' are installed
# library(lmtest)
# library(sandwich)

# ryegrass.m1<-drm(rootl ~ conc, data = ryegrass, fct = LL.4())

# Standard summary output
# coeftest(ryegrass.m1)  

# Output with robust standard errors
# coeftest(ryegrass.m1, vcov = sandwich)

drc

Analysis of Dose-Response Curves

v3.0-1
GPL-2 | file LICENCE
Authors
Christian Ritz <ritz@bioassay.dk>, Jens C. Strebig <streibig@bioassay.dk>
Initial release
2016-08-25

We don't support your browser anymore

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