Description Usage Arguments Details Value References Examples
View source: R/bigg_distribution.R
Density function for bivariate inverse-Gaussian geometric distribution with parameters μ >0, φ > 0 and p in (0,1).
1 | dbinvgaussgeo(data, mu, phi, p, 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. |
log.p |
logical; if TRUE, probabilities p are given as log(p). |
dbinvgaussgeo is the density function for BIGG model.
vector of densities.
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)
den<-rbinvgaussgeo(data.df,mu=1.5, phi=2, p=0.6)
den
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.