ZIGPMM {MMAD} | R Documentation |
MM algorithm based on the AD method for type I multivariate zero-inflated generalized poisson distribution
Description
Let Z \sim Bernoulli(1- \phi)
,
{x} = (X_1,\cdots, X_m)^T
, X_i \sim GP(\lambda_i, \theta_i)
, for i = 1,\cdots,m
, and (Z,X_1,\cdots, X_m)
are mutually independent. An m
dimensional discrete random vector {y}=(Y_1,\cdots, Y_m)^T
is said to have a Type I
multivariate zero-inflated generalized Poisson distribution(ZIGP) distribution if
{y} \overset{\rm{d}}= Z{x}= \left\{ \begin{array}{ll}
{0} & \text{with probability} \ \lambda \\ {x} & \text{with probability} \ 1-\lambda \\ \end{array} \right.
where \lambda \in [0,1)
, {\lambda}=(\lambda_1,\cdots, \lambda_m)^T
, {\theta}=(\theta_1,\cdots, \theta_m)^T
,
max(-1, -\lambda_i/q_i) < \theta_i \leqslant 1
and q_i \geqslant 4
is the largest positive integer for each \lambda_i + \theta_{i}q_{i}>0
when \theta_{i}<0
.
The ZIGPMM
function is used to calculate the Type I multivariate ZIGP model.
Usage
ZIGPMM(data, phi0, la, th, Maxiter = 2000, convergence = 1e-06, ...)
Arguments
data |
Data.frame or Matrix that contains corresponding covariates. |
phi0 |
Probability value for the zero-inflated parameter for ZIGP model. |
la |
The scale parameter for Generalized Poisson distribution model. |
th |
The discrete parameter for Generalized Poisson distribution model. |
Maxiter |
The maximum number of iterations is specified by default as 2000. |
convergence |
Specify the convergence criterion, the default is 1e-6. |
... |
Additional arguments |
Details
The ZIGPMM
function is used to calculate Type I multivariate zero-inflated generalized Poisson distribution model using MM algorithms
based on AD technology. data
is provided by user by default, it can be a data frame or a matrix. In addition, the unknown parameters require users to give appropriate initial values,
where 0<=phi0<1
, each th
should satisfy 0<=th<1
, and each la
should be greater than 0.
Value
An object of class ZIGPMM
that contains the following fields: total amount of observations,
the number of iterations, convergence rate, the log likelihood value, estimated results for the unknown parameters,
the standard deviation of estimate for the unknown parameters, the likelihood-based 95% confidence interval for the unknown parameters,
information criterion: AIC value and BIC value.
References
Tian G.L., Huang X.F. and Xu, J.(2019). 'An assembly and decomposition approach for constructing separable minorizing functions in a class of MM algorithms.' Statistica Sinica 29(2), 961-982.
Huang X.F., Tian G.L., Zhang, C. and Jiang, X.(2017). 'Type I multivariate zero-inflated generalized Poisson distribution with applications.' Statistics and its Interface 10(2), 291-311.
Examples
x1 <- c(0, 0, 0,38, 0,19,25, 0,25, 0)
x2 <- c(0, 0, 0,23, 0,51,24, 0,10, 0)
y <- cbind(x1, x2)
phi0 = 0.5; la = rep(1,2); th = rep(0.1,2)
ZIGPMM(y, phi0, la, th)