Computing observed Fisher information matrix for restricted finite mixture model.
Description
This function computes the observed Fisher information matrix for a given restricted finite mixture model. For this, we use the method of Basford et al. (1997). The density function of each G-component finite mixture model is given by
g(y∣Ψ)=∑g=1GωgfY(y,Θg),
where Ψ=(Θ1,⋯,ΘG)⊤ with Θg=(ωg,μg,Σg,λg)⊤. Herein, fY(y,Θg) accounts for the density function of random vector Y within g-th component that admits the representation given by
Y=dμg+Wλg∣Z0∣+WΣg21Z1,
where μg∈Rd is location vector, λg∈Rd is skewness vector, Σ_g is a positive definite symmetric dispersion matrix for g=1,⋯,G. Further, W is a positive random variable with mixing density function fW(w∣θg), Z0∼N(0,1), and Z1∼Nd(0,Σg). We note that W, Z0, and Z1 are mutually independent. For approximating the observed Fisher information matrix of the finite mixture models, we use the method of
Basford et al. (1997). Based on this method, using observations y=(y1,y2,⋯,yn)⊤, an approximation of the expected information
−E{∂Ψ∂Ψ⊤∂2logL(Ψ)},
is give by the observed information as
∑i=1nh^ih^i⊤,
where
h^i=∂Ψ∂logLi(Ψ^)
and
logL(Ψ^)=∑i=1nlogLi(Ψ^)=∑i=1nlog{∑g=1GωgfY(yi∣Θg)}.
Herein ωg and Θg denote the maximum likelihood estimator of ωg and Θg, for g=1,⋯,G, respectively.
Usage
ofim1(Y, G, weight, mu, sigma, lambda, family = "constant", skewness = "FALSE",
param = NULL, theta = NULL, tick = NULL, h = 0.001, N = 3000, level = 0.05,
PDF = NULL )
Arguments
Y
an n×d matrix of observations.
G
number of components.
weight
a vector of weight parameters (or mixing proportions).
mu
a list of location vectors of G components.
sigma
a list of dispersion matrices of G components.
lambda
a list of skewness vectors of G components.
family
name of the mixing distribution. By default family = "constant" that corresponds to the finite mixture of multivariate normal (or skew normal) distribution. Other candidates for family name are: "bs" (for Birnbaum-Saunders), "burriii" (for Burr type iii), "chisq" (for chi-square), "exp" (for exponential), "f" (for Fisher), "gamma" (for gamma), "gig" (for generalized inverse-Gaussian), "igamma" (for inverse-gamma), "igaussian" (for inverse-Gaussian), "lindley" (for Lindley), "loglog" (for log-logistic), "lognorm" (for log-normal), "lomax" (for Lomax), "pstable" (for positive α-stable), "ptstable" (for polynomially tilted α-stable), "rayleigh" (for Rayleigh), and "weibull" (for Weibull).
skewness
logical statement. By default skewness = "FALSE" which means that a symmetric model is fitted to each component (cluster). If skewness = "TRUE", then a skewed model is fitted to each component.
param
name of the elements of θ as the parameter vector of mixing distribution with density function fW(w∣θ). By default it is NULL.
theta
a list of maximum likelihood estimator for θ across G components. By default it is NULL.
tick
a binary vector whose length depends on type of family. The elements of tick are either 0 or 1. If element of tick is 0, then the corresponding element of θ is not considered in the formula of fW(w∣θ) for computing the required posterior expectations. If element of tick is 1, then the corresponding element of θ is considered in the formula of fW(w∣θ). For instance, if family = "gamma" and either its shape or rate parameter is one, then tick = c(1). This is while, if family = "gamma" and both of the shape and rate parameters are in the formula of fW(w∣θ), then tick = c(1, 1). By default tick = NULL.
h
a positive small value for computing numerical derivative of fW(w∣θ) with respect to θ, that is ∂/∂θfW(w∣θ). By default h=0.001.
N
an integer number for approximating the posterior expected values within the E-step of the EM algorithm through the Monte Carlo method. By default N=3000.
level
significance level α for constructing 100(1−α)% confidence interval. By default α=0.05.
PDF
mathematical expression for mixing density function fW(w∣θ). By default it is NULL.
Value
A two-part list whose first part is the observed Fisher information matrix for finite mixture model.
Author(s)
Mahdi Teimouri
References
K. E. Basford, D. R. Greenway, G. J. McLachlan, and D. Peel, (1997). Standard errors of fitted means under normal mixture, Computational Statistics, 12, 1-17.