This function obtains moment estimators for the Zero Inflated Bivariate Poisson distribution under the parameterization of Lakshminarayana et. al (1993).

moments_estim_ZIBP_Laksh(x)

Arguments

x

vector or matrix of quantiles. When x is a matrix, each row is taken to be a quantile and columns correspond to the number of dimensions p.

Value

Returns a vector with \(\hat{\lambda_1}\), \(\hat{\lambda_2}\), \(\hat{\alpha}\) and \(\hat{\psi}\).

References

Lakshminarayana, J., Pandit, S. N., & Srinivasa Rao, K. (1999). On a bivariate Poisson distribution. Communications in Statistics-Theory and Methods, 28(2), 267-276.

Author

Freddy Hernandez-Barajas, fhernanb@unal.edu.co

Examples

# Generating random values and moment estimations
l1 <- 1
l2 <- 2
alpha <- -2.7
psi <- 0.15
x <- rZIBP_Laksh(n=500, l1, l2, alpha, psi)

moments_estim_ZIBP_Laksh(x)
#>    l1_hat    l2_hat alpha_hat   psi_hat 
#>    1.0343    1.9926   -2.3656    0.1840