Displaying 1 result from an estimated 1 matches for "isi1".
Did you mean:
isi
2005 Jul 21
1
About object of class mle returned by user defined functions
...method = "L-BFGS-B",
lower = optim.lower,
upper = optim.upper,
...
)
} ## End of conditional on all(is.infinite(c(optim.lower,optim.upper)))
getFit
}
It seems to work fine on examples like:
> isi1 <- rgamma(100, shape = 2, scale = 1)
> fit1 <- newFit(isi1) ## fitting here with the "correct" density
(initial parameters are obtained by the method of moments)
> coef(fit1)
shape scale
1.8210477 0.9514774
> vcov(fit1)
shape scale
shape 0.056506...