Distribution fitting
Uses Nelder-Mead simplex algorithm to minimize fitting norms.
fitDist( data, dist, n.points, norm, constrain, opts = list(algorithm = "NLOPT_LN_NELDERMEAD", xtol_rel = 1e-08, maxeval = 10000) )
data: value to be fitteddist: name of the distribution to be fittedn.points: number of points to be subsetted from ecdfnorm: norm used for distribution fitting - id ('N1', 'N2', 'N3', 'N4')constrain: logical - constrain shape2 parametes for finite tailsopts: minimization optionsx <- fitDist(rnorm(1000), 'norm', 30, 'N1', FALSE) x
Related functions from the same R package