Implements some aspects of stable count distribution (based on stabledist package) for stable random walk sinu0lation. Quartic stable distribution is implemented through gamma distribution.
dstablecnt(x, alpha = NULL, nu0 = 0, theta = 1, lambda = NULL)pstablecnt(x, alpha = NULL, nu0 = 0, theta = 1, lambda = NULL)
rstablecnt(n, alpha = NULL, nu0 = 0, theta = 1, lambda = NULL)
qstablecnt(q, alpha = NULL, nu0 = 0, theta = 1, lambda = NULL)
cfstablecnt(s, alpha = NULL, nu0 = 0, theta = 1, lambda = NULL)
kstablecnt(alpha = NULL, nu0 = 0, theta = 1, lambda = NULL)
numeric, vector of responses.
numeric, the shape parameter, default is NULL. User must provide either alpha or lambda.
numeric, the location parameter, default is 0.
numeric, the scale parameter, default is 1.
numeric, alternative shape parameter, default is NULL.
numeric, number of observations.
numeric, vector of quantiles.
numeric, vector of responses for characteristic function.
numeric, standard convention is followed: d* returns the density, p* returns the distribution function, q* returns the quantile function, and r* generates random deviates. The following are our extensions: k* returns the first 4 cumulants, skewness, and kurtosis, cf* returns the characteristic function.