Problem with Poisson distribution fitting of an array of floats (suffstats is not implemented for (Poisson, Array{Float64,1}))

The support of Poisson is natural numbers so any positive integers will do. You could use round.(Int, derivadas_reales_desplazado) to convert to Int but if your numbers are float between 0 and 1 that doesn’t make much sense, and you probably want to use another distribution (e.g. Beta).

1 Like