Description Usage Arguments Details Value References Examples
View source: R/bigg_distribution.R
Distribution function for bivariate inverse-Gaussian geometric distribution with parameters μ >0, φ > 0 and p in (0,1).
1 | pbinvgaussgeo(data, mu, phi, p, lower.tail = TRUE, log.p = FALSE)
|
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). |
pbinvgaussgeo is the distribution function for BIGG model.
vector of distribution.
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
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.