Re: [R] How to fit the cumulative probability distributive functiion with the gamma distribution?

2013-06-13 Thread Chris Campbell
val_w_time - data.frame(time = 1:12, val = c(24,7,4,1,2,1,0,0,0,1,0,0)) fitdistr(val_w_time$val,gamma) # Error in optim(x = c(24, 7, 4, 1, 2, 1, 0, 0, 0, 1, 0, 0), par = list( : # initial value in 'vmmin' is not finite # this error message doesn't necessarily

[R] How to fit the cumulative probability distributive functiion with the gamma distribution?

2013-06-12 Thread Kaptue Tchuente, Armel
Hello everyone, I'm trying to fit the PDF of time series datasets with the gamma distribution. Nonetheless, this isn't possible for several datasets since the gamma distribution can only been used to fit continuous distribution. For instance,