Skip to content
Prev 1660 / 15274 Next

Error on "fBasics::dstable"

On 8/26/07, Shiazy Fuzzy <shiazy at gmail.com> wrote:
Hmmm ... another error, this time in "pstable":

--- [CUT HERE] ---
Error in attr(ans, "control") = cbind.data.frame(dist = "stable",
alpha = alpha,  :
        attempt to set an attribute on NULL
--- [/CUT HERE] ---

To reproduce:
--- [CUT HERE] ---
library(fBasics);
x <- c( 492408, 1897, 66795, 4014, 14, 11, 5770, 4284, 672, 50, 769,
21, 28, 13, 76, 29, 37, 28, 114, 63, 1479, 166, 999, 117, 8, 14, 206,
231, 85, 74684, 1130, 475, 657, 27, 230, 607, 1460, 116, 125, 2058,
3413, 69110, 20, 43, 406, 147, 314, 69, 310, 21, 1059, 986 );
fit <- stableFit( x,type=c("mle"),doplot=F );
pstable( x, alpha=fit at fit$estimate["alpha"],
beta=fit at fit$estimate["beta"], gamma=fit at fit$estimate["gamma"],
delta=fit at fit$estimate["delta"] );
--- [/CUT HERE] ---

-- Marco