词条 | Quantile function |
释义 |
In probability and statistics, the quantile function, associated with a probability distribution of a random variable, specifies the value of the random variable such that the probability of the variable being less than or equal to that value equals the given probability. It is also called the percent-point function or inverse cumulative distribution function. DefinitionWith reference to a continuous and strictly monotonic distribution function, for example the cumulative distribution function of a random variable X, the quantile function Q returns a threshold value x below which random draws from the given c.d.f would fall p percent of the time. In terms of the distribution function F, the quantile function Q returns the value x such that Another way to express the quantile function is for a probability 0 < p < 1. Here we capture the fact that the quantile function returns the minimum value of x from amongst all those values whose c.d.f value exceeds p, which is equivalent to the previous probability statement in the special case that the distribution is continuous. Note that the infimum function can be replaced by the minimum function, since the distribution function is right-continuous and weakly monotonically increasing. The quantile is the unique function satisfying the Galois inequalities if and only if If the function F is continuous and strictly monotonically increasing, then the inequalities can be replaced by equalities, and we have: Simple exampleFor example, the cumulative distribution function of Exponential(λ) (i.e. intensity λ and expected value (mean) 1/λ) is The quantile function for Exponential(λ) is derived by finding the value of Q for which : for 0 ≤ p < 1. The quartiles are therefore:
ApplicationsQuantile functions are used in both statistical applications and Monte Carlo methods. The quantile function is one way of prescribing a probability distribution, and it is an alternative to the probability density function (pdf) or probability mass function, the cumulative distribution function (cdf) and the characteristic function. The quantile function, Q, of a probability distribution is the inverse of its cumulative distribution function F. The derivative of the quantile function, namely the quantile density function, is yet another way of prescribing a probability distribution. It is the reciprocal of the pdf composed with the quantile function. For statistical applications, users need to know key percentage points of a given distribution. For example, they require the median and 25% and 75% quartiles as in the example above or 5%, 95%, 2.5%, 97.5% levels for other applications such as assessing the statistical significance of an observation whose distribution is known; see the quantile entry. Before the popularization of computers, it was not uncommon for books to have appendices with statistical tables sampling the quantile function.[1] Statistical applications of quantile functions are discussed extensively by Gilchrist.[2] Monte-Carlo simulations employ quantile functions to produce non-uniform random or pseudorandom numbers for use in diverse types of simulation calculations. A sample from a given distribution may be obtained in principle by applying its quantile function to a sample from a uniform distribution. The demands, for example, of simulation methods in modern computational finance are focusing increasing attention on methods based on quantile functions, as they work well with multivariate techniques based on either copula or quasi-Monte-Carlo methods[3] and Monte Carlo methods in finance. Properties(Integral of inverse functions, Inverse transform sampling) CalculationThe evaluation of quantile functions often involves numerical methods, as the example of the exponential distribution above is one of the few distributions where a closed-form expression can be found (others include the uniform, the Weibull, the Tukey lambda (which includes the logistic) and the log-logistic). When the cdf itself has a closed-form expression, one can always use a numerical root-finding algorithm such as the bisection method to invert the cdf. Other algorithms to evaluate quantile functions are given in the Numerical Recipes series of books. Algorithms for common distributions are built into many statistical software packages. Quantile functions may also be characterized as solutions of non-linear ordinary and partial differential equations. The ordinary differential equations for the cases of the normal, Student, beta and gamma distributions have been given and solved.[4] Normal distribution{{main|Normal distribution#Quantile function}}The normal distribution is perhaps the most important case. Because the normal distribution is a location-scale family, its quantile function for arbitrary parameters can be derived from a simple transformation of the quantile function of the standard normal distribution, known as the probit function. Unfortunately, this function has no closed-form representation using basic algebraic functions; as a result, approximate representations are usually used. Thorough composite rational and polynomial approximations have been given by Wichura[5] and Acklam.[6] Non-composite rational approximations have been developed by Shaw.[7] Ordinary differential equation for the normal quantileA non-linear ordinary differential equation for the normal quantile, w(p), may be given. It is with the centre (initial) conditions This equation may be solved by several methods, including the classical power series approach. From this solutions of arbitrarily high accuracy may be developed (see Steinbrecher and Shaw, 2008). Student's t-distribution{{further|Student's t-distribution}}This has historically been one of the more intractable cases, as the presence of a parameter, ν, the degrees of freedom, makes the use of rational and other approximations awkward. Simple formulas exist when the ν = 1, 2, 4 and the problem may be reduced to the solution of a polynomial when ν is even. In other cases the quantile functions may be developed as power series.[8] The simple cases are as follows:
where and In the above the "sign" function is +1 for positive arguments, -1 for negative arguments and zero at zero. It should not be confused with the trigonometric sine function. Quantile mixturesAnalogously to the mixtures of densities, distributions can be defined as quantile mixtures , where , are quantile functions and , are the model parameters. The parameters must be selected so that is a quantile function. Two four-parametric quantile mixtures, the normal-polynomial quantile mixture and the Cauchy-polynomial quantile mixture, are presented by Karvanen.[9] Non-linear differential equations for quantile functionsThe non-linear ordinary differential equation given for normal distribution is a special case of that available for any quantile function whose second derivative exists. In general the equation for a quantile, Q(p), may be given. It is augmented by suitable boundary conditions, where and ƒ(x) is the probability density function. The forms of this equation, and its classical analysis by series and asymptotic solutions, for the cases of the normal, Student, gamma and beta distributions has been elucidated by Steinbrecher and Shaw (2008). Such solutions provide accurate benchmarks, and in the case of the Student, suitable series for live Monte Carlo use. See also
References1. ^{{cite web|url=http://course.shufe.edu.cn/jpkc/jrjlx/ref/StaTable.pdf |title=Archived copy |accessdate=March 25, 2012 |deadurl=yes |archiveurl=https://web.archive.org/web/20120324042025/http://course.shufe.edu.cn/jpkc/jrjlx/ref/StaTable.pdf |archivedate=March 24, 2012 }} 2. ^{{cite book|author=Gilchrist, W. |year=2000|title=Statistical Modelling with Quantile Functions|isbn=1-58488-174-7}} 3. ^{{cite book|author=Jaeckel, P. |year=2002|title=Monte Carlo methods in finance}} 4. ^{{cite journal|author=Steinbrecher, G., Shaw, W.T. |year=2008|title=Quantile mechanics|journal=European Journal of Applied Mathematics|volume=19|issue=2|pages=87–112|doi=10.1017/S0956792508007341}} 5. ^{{cite journal|author=Wichura, M.J. |year=1988|title=Algorithm AS241: The Percentage Points of the Normal Distribution|journal=Applied Statistics|volume=37|pages=477–484|doi=10.2307/2347330|jstor=2347330|issue=3|publisher=Blackwell Publishing}} 6. ^An algorithm for computing the inverse normal cumulative distribution function {{webarchive |url=https://web.archive.org/web/20070505093933/http://home.online.no/~pjacklam/notes/invnorm/ |date=May 5, 2007 }} 7. ^[https://arxiv.org/abs/0901.0638 Computational Finance: Differential Equations for Monte Carlo Recycling] 8. ^{{cite journal|author=Shaw, W.T. |year=2006|title=Sampling Student’s T distribution – Use of the inverse cumulative distribution function.|journal=Journal of Computational Finance|volume=9|issue=4|pages=37–73}} 9. ^{{cite journal|author=Karvanen, J. |year=2006|title=Estimation of quantile mixtures via L-moments and trimmed L-moments.|journal=Computational Statistics & Data Analysis|volume=51|issue=2|pages=947–956|doi=10.1016/j.csda.2005.09.014}} Further reading
1 : Functions related to probability distributions |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。