A two-parameter Weibull type 2 model with the lower limit fixed at 0 and the upper limit fixed at a specified value. The model is given by the equation $$f(x) = \mathrm{upper} \cdot (1 - \exp(-\exp(b(\log(x) - \log(e)))))$$ This model is primarily intended for binomial/quantal responses.
Arguments
- upper
numeric value giving the fixed upper limit (default 1).
- fixed
numeric vector of length 2, specifying fixed parameters (use
NAfor parameters that should be estimated).- names
character vector of length 2 giving the names of the parameters (default
c("b", "e")).- ...
additional arguments passed to
weibull2, most notablymethod(a character string:"1"(default),"2","3", or"4") which selects the self-starter method for obtaining starting values. Seeweibull2for details.
Value
A list of class "Weibull-2" as returned by weibull2.
Examples
earthworms.m1 <- drm(number/total ~ dose, weights = total,
data = earthworms, fct = W2.2(), type = "binomial")
