rfmbeg: The finite mixture of bivariate distribution with mixture...

Description Usage Arguments Details Value References Examples

View source: R/mixbeg_EM.R

Description

Random sample generating function for the FMBEG model.

Usage

1
rfmbeg(n, beta, p, q, pi)

Arguments

n

size of sample.

beta

vector of parameters which must be numeric greater than 0.

p

vector of numeric parameters between 0 and 1 of the finite mixture of geometric distribution.

q

vector of gamma membership probabilities between 0 and 1, and sum equal to 1.

pi

vector of geometric membership probabilities between 0 and 1, and sum equal to 1.

Details

rfmbeg generates random sample from FMBEG distribution.

Value

vector of random samples generate from BMEG model.

References

Amponsah, C. K. and Kozubowski, T.J., and Panorska, A.K. (2020). A finite mixture of bivariate distribution with mixture exponential and geometric (FMBEG) marginals. Inprint.

Examples

1
2
data.df <- rfmbeg(10, beta = c(1,2,10), p=0.5, q=c(0.3,0.2,0.5), pi=1)
data.df

camponsah/BivMixDist documentation built on Nov. 15, 2021, 3:11 a.m.