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

Description Usage Arguments Details Value References Examples

View source: R/bigg_distribution.R

Description

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

Usage

1
pbinvgaussgeo(data, mu, phi, p, lower.tail = TRUE, log.p = FALSE)

Arguments

data

bivariate vector (X,N) observations from BIGG model.

mu

mean paramter which must be numeric greater than 0.

phi

shape paramter which must be numeric greater than 0.

p

numeric parameter between 0 and 1.

lower.tail

logical; if TRUE (default), probabilities are P[X ≤ x, N ≤q n], otherwise, P[X > x, N > n].

log.p

logical; if TRUE, probabilities p are given as log(p).

Details

pbinvgaussgeo is the distribution function for BIGG model.

Value

vector of 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
3
data.df<-rbinvgaussgeo(20,mu=1.5, phi=2, p=0.6)
prob<-pbinvgaussgeo(data.df,mu=1.5, phi=2, p=0.6)
prob

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