diri.nr(x, type = 1, tol = 1e-07)
The only problem I have seen with this method is that if the data are concentrated around a point, say the center of the simplex, it will be hard for this and the previous methods to give estimates of the parameters. In this extremely difficult scenario I would suggest the use of the previous function with the precision parametrisation "diri.est(x, type = "prec")". It will be extremely fast and accurate.
diri.est, diri.contour rdiri
x <- rdiri( 100, c(5, 7, 1, 3, 10, 2, 4) )
diri.nr(x)
diri.nr(x, type = 2)
diri.est(x)
Run the code above in your browser using DataLab