fitBayes {mixSSG} | R Documentation |
Estimating parameters of the symmetric
-stable (S
S) distribution using Bayesian paradigm.
Description
Let are
realizations form S
S distribution with parameters
, and
. Herein, we estimate parameters of symmetric univariate stable distribution within a Bayesian framework. We consider a uniform distribution for prior of tail thickness, that is
. The normal and inverse gamma conjugate priors are designated for
and
with density functions given, respectively, by
and
where ,
,
,
, and
.
Usage
fitBayes(y, mu0, sigma0, gamma0, delta0, epsilon)
Arguments
y |
vector of realizations that following S |
mu0 |
the location hyperparameter corresponding to |
sigma0 |
the standard deviation hyperparameter corresponding to |
gamma0 |
the shape hyperparameter corresponding to |
delta0 |
the rate hyperparameter corresponding to |
epsilon |
a positive small constant playing the role of threshold for stopping sampler. |
Value
Estimated tail thickness, location, and scale parameters, number of iterations to attain convergence, the log-likelihood value across iterations, the Bayesian information criterion (BIC), and the Akaike information criterion (AIC).
Author(s)
Mahdi Teimouri
Examples
n <- 100
alpha <- 1.4
mu <- 0
sigma <- 1
y <- rnorm(n)
fitBayes(y, mu0 = 0, sigma0 = 0.2, gamma0 = 10e-5, delta0 = 10e-5, epsilon = 0.005)