rbinvgaussgeo: The bivariate inverse-Gaussian geometric distribution (BIGG)

Description Usage Arguments Details Value References Examples

View source: R/bigg_distribution.R

Description

Random sample generating function for bivariate inverse-Gaussian geometric distribution with parameters μ >0, φ > 0 and p in (0,1).

Usage

1
rbinvgaussgeo(n, mu, phi, p)

Arguments

n

size of sample.

mu

shape paramter which must be numeric greater than 0.

phi

scale paramter which must be numeric greater than 0.

p

numeric parameter between 0 and 1.

Details

rbinvgaussgeo generates random samples from BIGG distribution.

Value

vector of samples generate from BIGG distribution.

References

Barreto-Souza, W. and Silva R. B. (2019). A bivariate infinitely divisible law for modeling the magnitude and duration of monotone periods of log-returns . Statistica Neerlandica, 73:211-233. https://doi.org/10.1111/stan.12166

Examples

1
2
data.df<-rbinvgaussgeo(20,mu=1.5, phi=2, p=0.6)
data.df

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