Logarithmically concave function

From testwiki
Revision as of 20:14, 28 June 2024 by 97.102.205.224 (talk) (Log-concave distributions: Use ≥ symbol rather than ">=". Add URLs and other details to references.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description In convex analysis, a non-negative function Template:Math is logarithmically concave (or log-concave for short) if its domain is a convex set, and if it satisfies the inequality

f(θx+(1θ)y)f(x)θf(y)1θ

for all Template:Math and Template:Math. If Template:Math is strictly positive, this is equivalent to saying that the logarithm of the function, Template:Math, is concave; that is,

logf(θx+(1θ)y)θlogf(x)+(1θ)logf(y)

for all Template:Math and Template:Math.

Examples of log-concave functions are the 0-1 indicator functions of convex sets (which requires the more flexible definition), and the Gaussian function.

Similarly, a function is log-convex if it satisfies the reverse inequality

f(θx+(1θ)y)f(x)θf(y)1θ

for all Template:Math and Template:Math.

Properties

f(x)=ex22(x21)0
f(x)2f(x)f(x)f(x)T,[1]
i.e.
f(x)2f(x)f(x)f(x)T is
negative semi-definite. For functions of one variable, this condition simplifies to
f(x)f(x)(f(x))2

Operations preserving log-concavity

logf(x)+logg(x)=log(f(x)g(x))
is concave, and hence also Template:Math is log-concave.
g(x)=f(x,y)dy
is log-concave (see Prékopa–Leindler inequality).
(f*g)(x)=f(xy)g(y)dy=h(x,y)dy
is log-concave.

Log-concave distributions

Log-concave distributions are necessary for a number of algorithms, e.g. adaptive rejection sampling. Every distribution with log-concave density is a maximum entropy probability distribution with specified mean μ and Deviation risk measure D.[2] As it happens, many common probability distributions are log-concave. Some examples:[3]

Note that all of the parameter restrictions have the same basic source: The exponent of non-negative quantity must be non-negative in order for the function to be log-concave.

The following distributions are non-log-concave for all parameters:

Note that the cumulative distribution function (CDF) of all log-concave distributions is also log-concave. However, some non-log-concave distributions also have log-concave CDF's:

The following are among the properties of log-concave distributions:

  • If a density is log-concave, so is its cumulative distribution function (CDF).
  • If a multivariate density is log-concave, so is the marginal density over any subset of variables.
  • The sum of two independent log-concave random variables is log-concave. This follows from the fact that the convolution of two log-concave functions is log-concave.
  • The product of two log-concave functions is log-concave. This means that joint densities formed by multiplying two probability densities (e.g. the normal-gamma distribution, which always has a shape parameter ≥ 1) will be log-concave. This property is heavily used in general-purpose Gibbs sampling programs such as BUGS and JAGS, which are thereby able to use adaptive rejection sampling over a wide variety of conditional distributions derived from the product of other distributions.
  • If a density is log-concave, so is its survival function.[3]
  • If a density is log-concave, it has a monotone hazard rate (MHR), and is a regular distribution since the derivative of the logarithm of the survival function is the negative hazard rate, and by concavity is monotone i.e.
ddxlog(1F(x))=f(x)1F(x) which is decreasing as it is the derivative of a concave function.

See also

Notes

Template:Reflist

References