A Cramér transform associated with a log moment generating function Λ:Rd→(−∞,∞] is the function I:Rd→[0,∞] defined by
I(x)=θ∈Rdsup{⟨θ,x⟩−Λ(θ)}.This is the Legendre–Fenchel transform
of Λ (equivalently, the Fenchel conjugate
of Λ).
In large deviations, when Λ is the log moment generating function
of a random variable, I is the canonical candidate rate function
for the LDP of empirical means; this is made precise by Cramér's theorem
and, in broader settings, by the Gärtner–Ellis theorem
.
Examples:
If Λ(θ)=2σ2θ2 on R (Gaussian case), then
I(x)=2σ2x2.If X∼Bernoulli(p) with log-MGF Λ(θ)=log((1−p)+peθ), then the Cramér transform is
I(x)={xlog(px)+(1−x)log(1−p1−x),+∞,x∈[0,1],x∈/[0,1].