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
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,
2 matches
Mail list logo