Learn R Programming

MixtureInf (version 1.0-1)

emtest.pois: Likelihood-based testing for the order of a finite mixture of Poissons

Description

Tests the order of a finite mixture of Poissons with univariate mixing parameter.

Usage

emtest.pois(x, m0, C = NULL, len = 5, eps = 1e-05)

Arguments

x
observations whose order is being tested: vector or a matrix with the 1st column being the observed values and the 2nd column being the corresponding frequency.
m0
order under null hypothesis
C
optional tuning parameter for EM-test procedure (if not provided, it will be determined by the formulas described in Chen and Li, 2011)
len
the number of random restarts of the EM-algorithm
eps
tolerance value for the convergence of the EM-algorithm

Value

  • Returns an object of class emtest with the following elements:
  • family'poisson'
  • m0order of the mixture
  • alphaestimated mixing proportions
  • thetaestimated component parameters
  • Ctuning parameter used
  • ahestimated weights in the $\chi^2$ mixture-limiting distribution
  • emstatEM-test statistics
  • pvaluep-values of the EM test statistics

References

Chen, J. and Li, P. (2011). ``Tuning the EM-test for the order of finite mixture models.'' The Canadian Journal of Statistics. 39, 389--404.

Li, P. and Chen, J. (2010). ``Testing the order of a finite mixture model.'' JASA. 105, 1084--1092.

Li, P., Chen, J. and Marriott, P. (2009). ``Non-finite Fisher information and homogeneity: The EM approach.'' Biometrika. 96, 411--426.

See Also

emtest.binom, emtest.exp, emtest.norm

Examples

Run this code
data(faithful)
  emtest.pois(faithful$waiting, 2)

Run the code above in your browser using DataLab