Quantile function of the logistic distribution
MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
stats::logisticQuantile(m, s) returns a procedure
representing the quantile function (inverse)
of the cumulative distribution function
s). For 0 ≤ x ≤
1, the solution of
= x is given by
f := stats::logisticQuantile(m, s) can
be called in the form
f(x) with an arithmetical
x. The return value of
either a floating-point number, ±
infinity, or a symbolic
f(x) returns a real floating-point
x is a floating-point number between
be converted to a real floating-point number, and
be converted to a positive real floating-point number.
infinity; the calls
In all other cases, the symbolic expression
m + sqrt(3)*s*ln(x/(1-x))/PI is
Numerical values of x are only accepted if 0 ≤ x ≤ 1.
Numerical values of m and s are only accepted if they are real and s is positive.
The function is sensitive to the environment variable
determines the numerical working precision.
We evaluate the quantile function with mean
m = 0 and
s = 1 at
f := stats::logisticQuantile(0, 1): f(0), f(1/10), f(0.7), f(0.999999999), f(1)
We use symbolic arguments:
f := stats::logisticQuantile(m, s): f(x), f(1/3), f(0.4)
When suitable numerical values are assigned to
f starts to produce numerical values:
m := 0: s := 1: f(0.999), f(999/1000)
Numerical values for x are only accepted if 0 ≤ x ≤ 1:
Error: Argument x must be between 0 and 1. [f]
delete f, m, s:
The mean: an arithmetical expression representing a real value
The standard deviation: an arithmetical expression representing a positive real value