Hello,

I am trying to fit distribution for data consisting of 421 readings.It is
basically no of requests arrived per minute.It contains many 0 entries as no
of requests.When i use
fd<-fitdistr(V2,"gamma")
I get following error:
Error in optim(x = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,  :
        initial value in 'vmmin' is not finite

What should I do ? I need this function because I want to get value of
estimated parameters.
Is there any other function to perform such calculations?
Please help me.
Thank You.

Code is as follows:
x<-data.frame()
N<-data.frame((read.table("cs2ip.txt")))
attach(N)
library(MASS)
fd<-fitdistr(V2,"gamma")

Aswad

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to