Description Usage Arguments Details References Examples
Probability distribution function of double logistic curve, with ascending and descending limbs allowing for parabolic-shaped probabilities.
1 | logit2(x, x50a, slopea, x50b, slopeb)
|
x |
A numeric vector. |
x50a |
A numeric scalar, the quantile at which small values of x have a 50% probability, the first "location" parameter. |
slopea |
A numeric scalar, the slope at which the probability for small values of x increases, the first "scale" parameter. |
x50b |
A numeric scalar, the quantile at which large values of x have a 50% probability, the second "location" parameter. |
slopeb |
A numeric scalar, the slope at which the probability for large values of x decreases, the second "scale" parameter. |
The double logistic function mimics the single logistic function if either
of the location parameters are set to the extremes, x50a = -Inf
or
x50a = Inf
.
This function is based on a modification of MATLAB [link] code provided by Kresimir Williams, NOAA-AFSC afsc.noaa.gov, at the Great Lakes Acoustic Users Group's Workshop on Trawl Performance, hosted by the Great Lakes Fishery Commission glfc.org, 22-24 April 2014, in Ann Arbor, Michigan, USA.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.