Re: [R] fitdistr, mle's and gamma distribution

2003-10-08 Thread Lourens Olivier Walters
Thanks, your advice worked. I don't have much experience with maths, and therefore tried to stay away from dealing with optimization, but going down to this level opens a lot of possibilities. For the record, the code I used, as you suggested: ### shape - mean(data)^2/var(data) scale

Re: [R] fitdistr, mle's and gamma distribution

2003-10-08 Thread Lourens Olivier Walters
Thanks for the help, the wrapper function was very useful. I managed to solve the problem using Spencer Graves' suggestion. I am analyzing the interarrival times between HTTP packets on a campus network. The dataset actually has more than 14 Million entries! It represents the traffic generated by

[R] fitdistr, mle's and gamma distribution

2003-09-30 Thread Lourens Olivier Walters
obtained during maximum likelihood computations are NaN. I cannot however print values of the objective function, as in my case it is dgamma which is called by fitdistr, over which I don't have control. Can anyone please point me in the right direction? Lourens -- Lourens Olivier Walters