[R] Fitting Gamma distribution

Marcosco01 marco.scortichini at bancamarche.it
Wed Jun 16 09:40:17 CEST 2010


I'm looking for goodness of fit tests for gamma distributions with large data
sizes and for different data. 
I have a matrix with around 4.000 data values in it and i have fitted a
gamma distribution with "fitdistr".

You can see the example:
 
> fitdistr(corpo,"gamma",lower=0.001)

  Errore in optim(x = c(5000, 5000, 5000, 5000, 5000, 5000, 5000, 5000,
5000,  : 
  non-finite finite-difference value [2]

The problem is the optimization for the test with different data and for the
size larger than 516 data. 

in summary 
-is there a gamma goodness of fit test that doesnt depend on the sample
size? 
-is there a way of using qqplot for gamma distributions, if so how would you
calculate it from a matrix of data values? 

-- 
View this message in context: http://r.789695.n4.nabble.com/Fitting-Gamma-distribution-tp2257014p2257014.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list