powered by
Fitting the gamma distribution
fitgamma(starts, data)
List the estimated parameters of the distribution with standard errors and goodness-of-fit statistics.
A vector defining the starting values for the Nelder-Mead algorithm.
A vector containing the observations
datagamma=rgamma(500,2,2) fitgamma(starts =c(2,2),data=datagamma)
Run the code above in your browser using DataLab