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

vcov.dr4pl

Obtain the variance-covariance matrix of the parameter estimators of a 4PL model.


Description

This function obtains the variance-covariance matrix of the parameter estimators of a 4PL model. The variance-covariance matrix returned by this function can be used to compute the standard errors and confidence intervals for statistical inference.

Usage

## S3 method for class 'dr4pl'
vcov(object, ...)

Arguments

object

An object of the dr4pl class.

...

Other function arguments to be passed to the default 'vcov' function.

Details

This function obtains the variance-covariance matrix of the parameter estimators of a 4PL model. The Hessian matrix is used to obtain the second order approximation to the sum-of-squares loss function, and then the standard errors are computed as the square roots of the half of the Hessian matrix. Please refer to Subsection 5.2.2 of Seber and Wild (1989).

Value

The variance-covariance matrix of the parameter estimators of a 4PL model whose columns are in the order of the upper asymptote, IC50, slope and lower asymptote from left to right and whose rows are in the same order.

References

Seber GAF, Wild CJ (1989). Nonlinear regression, Wiley Series in Probability and Mathematical Statistics: Probability and Mathematical Statistics. John Wiley \& Sons, Inc., New York. ISBN 0-471-61760-1, doi: 10.1002/0471725315, http://dx.doi.org.libproxy.lib.unc.edu/10.1002/0471725315.

Examples

obj.dr4pl <- dr4pl(Response ~ Dose, data = sample_data_1)  # Fit a 4PL model to data
vcov(obj.dr4pl)  # Variance-covariance matrix of the parameters

obj.dr4pl <- dr4pl(Response ~ Dose, data = sample_data_2)  # Fit a 4PL model to data
vcov(obj.dr4pl)  # Variance-covariance matrix of the parameters

dr4pl

Dose Response Data Analysis using the 4 Parameter Logistic (4pl) Model

v1.1.11
GPL (>= 2)
Authors
Justin T. Landis [aut, cre], Hyowon An [aut], Aubrey G. Bailey [aut], Dirk P. Dittmer [aut], James S. Marron [aut]
Initial release
2019-10-07

We don't support your browser anymore

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