fitinvgamma {ERPeq} | R Documentation |
Fitting the inverse gamma distribution
fitinvgamma(starts, data)
starts |
A vector defining the starting values for the Nelder-Mead algorithm. |
data |
A vector containing the observations |
List the estimated parameters of the distribution with standard errors and goodness-of-fit statistics.
library(invgamma)
data=rinvgamma(500,2,0.5)
fitinvgamma(starts =c(2,2),data=data)