Exponential Family of Distributions

In this part, we will provide a canonical form the density function of the exponential family of distributions. First, some basic results for normal density is obtained. Then, the distribution function of the exponential family of distributions specified in the natural parameter will be transformed to an expression using the expectation parameter and the derivatives of the potential function.

Startup

This section initializes the Mathematica session.

packages
error messages
distribution functions

Normal distribution

This section first calculates the moments of the normal variables, which will be used to calculate the expected value of the exponential of normal variables.

the moments of the multivariate normal distribution

We consider the multivariate normal random vector [Graphics:../Images/index_gr_32.gif] of dim-dimensions with mean [Graphics:../Images/index_gr_33.gif], and the identity covariance matrix. The density function is [Graphics:../Images/index_gr_34.gif]. In this subsection, we define "ruleintx" to calculate the central moments of [Graphics:../Images/index_gr_35.gif] such as [Graphics:../Images/index_gr_36.gif], [Graphics:../Images/index_gr_37.gif], and [Graphics:../Images/index_gr_38.gif] for [Graphics:../Images/index_gr_39.gif].

the central moments of the standard normal variable in one dimension
define tensors
the central moments for the multivariate case

the expectation of the exponential of polynomial functions

Here we would like to calculate the log of the expectation of  the exponential of [Graphics:../Images/index_gr_134.gif], where a1, a2, and a3 are of order [Graphics:../Images/index_gr_135.gif], and a4 is [Graphics:../Images/index_gr_136.gif]. Note that [Graphics:../Images/index_gr_137.gif] here indicates the [Graphics:../Images/index_gr_138.gif]-th element of [Graphics:../Images/index_gr_139.gif] instead of the [Graphics:../Images/index_gr_140.gif]-th power of [Graphics:../Images/index_gr_141.gif].  [Graphics:../Images/index_gr_142.gif] is first obtained for [Graphics:../Images/index_gr_143.gif], and next for general [Graphics:../Images/index_gr_144.gif]up to [Graphics:../Images/index_gr_145.gif]terms.

central case (b=0)
noncentral case (b~=0)

Exponential family

The density function of the exponential family is first specified by using the natural parameter vector. This standard form is transformed into our canonical expression of the density with respect to the expectation parameter vector. Since the exponential family is not uniquely expressed up to the affine transformation, we assume without loss of generality that origin of the expectation parameter coincides with that of the natural parameter, and the covariance matrix of the random variable is identity at the origin. We consider only the continuous random variable throughout. The canonical form will be stored in "logdensityy".

the standard form

Let [Graphics:../Images/index_gr_207.gif] denote the density function of random variable [Graphics:../Images/index_gr_208.gif] with the natural parameter vector [Graphics:../Images/index_gr_209.gif]. The log of the density function is specified by logdensity=log f(y;θ) using the cumulant function ψ(θ) and the measure function h(y).

simplification functions
define tensors
the log of the density function

the expression of ψ(θ) in terms of η

In this subsection,  we derive the expression of ψ(θ) using η and  the φ derivatives. The result will be stored in "psieta".

derivation
result

the expression of h(y) in terms of φ derivatives

In this subsection, we derive the expression of h(y) using φ derivatives. The result will be stored in "hinyphi".

derivation
result

the canonical form

Now we get the canonical form of [Graphics:../Images/index_gr_435.gif] in "logdensityy".

the summary of the previous sections
result


Converted by Mathematica      July 21, 2003