| loglogistic2_fn | R Documentation |
Evaluate at a particular set of parameters the 2-parameter log-logistic function.
loglogistic2_fn(x, theta)
x |
numeric vector at which the function is to be evaluated. |
theta |
numeric vector with the four parameters in the form
|
The 2-parameter log-logistic function f(x; theta) is defined here as
g(x; theta) = x^eta / (x^eta + phi^eta)
f(x; theta) = alpha + delta g(x; theta)
where x >= 0, theta = c(alpha, delta, eta, phi), eta > 0, and
phi > 0. Only eta and phi are free to vary (therefore the name) while
vector c(alpha, delta) is constrained to be either c(0, 1) (monotonically
increasing curve) or c(1, -1) (monotonically decreasing curve).
This function allows values other than {0, 1, -1} for alpha and delta
but will coerce them to their proper constraints.
Numeric vector of the same length of x with the values of the
log-logistic function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.