gives the inverse of the survival function for the distribution dist as a function of the variable q.
- The inverse survival function at q is equivalent to the (1-q) quantile of a distribution.
- For a continuous distribution dist, the inverse survival function at q is the value x such that SurvivalFunction[dist,x]q.
- For a discrete distribution dist, the inverse survival function at q is the smallest integer x such that SurvivalFunction[dist,x]≤q.
- The value q can be symbolic or any number between 0 and 1.
Examplesopen allclose all
Basic Examples (2)
Inverse survival function for a continuous univariate distribution:
Inverse survival function for a discrete univariate distribution:
Parametric Distributions (4)
Obtain exact numeric results:
Obtain a machine-precision result:
Obtain a result at any precision for a continuous distribution:
Obtain a symbolic expression for the inverse survival function:
Derived Distributions (3)
Quadratic transformation of an exponential distribution:
InverseSurvivalFunction for distributions with quantities:
For a data distribution:
Nonparametric Distributions (2)
Inverse survival function for nonparametric distributions:
Compare with the value for the underlying parametric distribution:
Plot the survival function for a histogram distribution:
Generalizations & Extensions (1)
Plot the inverse survival function for a standard normal distribution:
Plot the inverse survival function for a binomial distribution:
Generate a random number from a distribution:
Properties & Relations (3)
Possible Issues (2)
Symbolic closed forms do not exist for some distributions:
Numerical evaluation works:
When giving the input as an argument, complete checking is done and invalid input will not evaluate: