chaospy.Distribution.ppf¶
- Distribution.ppf(q_data, max_iterations=100, tollerance=1e-05)[source]¶
Point percentile function.
Also known as the inverse cumulative distribution function.
Note that chaospy only supports point percentiles for univariate distributions.
- Args:
- q_data (numpy.ndarray):
Probabilities to be inverse. If any values are outside
[0, 1]
, error will be raised.- max_iterations (int):
If approximation is used, this sets the maximum number of allowed iterations in the Newton-Raphson algorithm.
- tollerance (float):
If approximation is used, this set the error tolerance level required to define a sample as converged.
- Returns:
- (numpy.ndarray):
Inverted probability values where
out.shape == q_data.shape
.