fitgamma {ERPeq} | R Documentation |
Fitting the gamma distribution
Description
Fitting the gamma distribution
Usage
fitgamma(starts, data)
Arguments
starts |
A vector defining the starting values for the Nelder-Mead algorithm. |
data |
A vector containing the observations |
Value
List the estimated parameters of the distribution with standard errors and goodness-of-fit statistics.
Examples
datagamma=rgamma(500,2,2)
fitgamma(starts =c(2,2),data=datagamma)
[Package ERPeq version 0.1.0 Index]