Description Usage Arguments Details Value Author(s) References Examples

View source: R/hatvalues.drc.R

Hat values (leverage values) and Cook's distance are provided for nonlinear dose-response model fits using the same formulas as in linear regression but based on the corresponding but approximate quantities available for nonlinear models.

1 2 3 4 5 | ```
## S3 method for class 'drc'
cooks.distance(model, ...)
## S3 method for class 'drc'
hatvalues(model, ...)
``` |

`model` |
an object of class 'drc'. |

`...` |
additional arguments (not used). |

Hat values and Cook's distance are calculated using the formula given by Cook et al. (1986) and McCullagh and Nelder (1989).

The output values can be assessed in the same way as in linear regression.

A vector of leverage values (hat values) or values of Cook's distance (one value per observation).

Christian Ritz

Cook, R. D. and Tsai, C.-L. and Wei, B. C. (1986)
Bias in Nonlinear Regression,
*Biometrika*
**73**, 615–623.

McCullagh, P. and Nelder, J. A. (1989) emphGeneralized Linear Models, Second edition, Chapman \& Hall/CRC.

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.