Learn R Programming

portes (version 1.04)

FitStable: Fit Parameters to Stable Distributions, McCulloch (1986)

Description

The quantile method of McCullogh (1986).

Usage

FitStable(x)

Arguments

x
univariate or independent multivariate data.

Value

  • k rows represents the number of variables in the vector x, and 4 columns with named components alpha, beta, scale, and location respectively.

Details

The quantile estimation method of McCulloch (1986) is used for each variable in x. It is highly reliable, fast and reasonably efficient especially bearing in mind that in most applications there is a lot of data.

References

Lin, Jen-Wen and McLeod (2008). "Portmanteau Tests for ARMA Models with Infinite Variance." Journal of Time Series Analysis, 29, 600-617. McCulloch, J. H. (1986). "Simple Consistent Estimator of Stable Distribution Parameters". Commun. Statist.--Simula., 15(4), 1109-1136.

See Also

There is also a function stableFit in the fBasics package for fitting stable distributions for univariate data but it does not work very well. This is the reason for FitStable. See also rstable, simvarma,

Examples

Run this code
## Univariate
x <- rstable(800, 1.7, 0, 1, 0)
FitStable(x)
## Multivariate
ALPHA <- c(1.3,1.6)
BETA <- c(0,0.2)
GAMMA <-c(1,1)
DELTA <-c(0,0.2)
x <- rstable(500, ALPHA, BETA, GAMMA, DELTA)
FitStable(x)

Run the code above in your browser using DataLab