dfish

Results 145 comments of dfish

Sorry. I misunderstood that `std` has an error. I assumed `std(d) = sqrt(var(d))`.

I want to add that the problem for `NegativeBinomial` is that it uses the [fallback](https://github.com/JuliaStats/Distributions.jl/blob/2cd6c678a1f237462d71496c39178dab1e265c61/src/univariates.jl#L195) method. The problem for `Binomial` is similar even though it is has its own [method](https://github.com/JuliaStats/Distributions.jl/blob/2cd6c678a1f237462d71496c39178dab1e265c61/src/univariate/discrete/binomial.jl#L74).

Yes. I was just about to make that point. The fallback inappropriately assumes a single mode. A more accurate approach would be to check the pdfs across the support of...

My mistake. I updated the example above so that it is restricted to `DiscreteUnivariateDistribution`. But I think the issue would still apply in cases where the range is large or...

@ParadaCarleton, I'd be happy to make a PR later this week. After I posted this issue, another user posted a more efficient [solution](https://discourse.julialang.org/t/cdf-for-multinomial/103917/17). It might be worth considering that. The...

I think this is an analogous model for SimJulia, but someone should confirm. ``` using SimJulia, ResumableFunctions, BenchmarkTools @resumable function chit(env::Environment) @yield timeout(env, 1) # println("chit ", now(env)) p =...

Sounds good. I think we are in agreement: some of the benchmarks should focus on important features of the package (such as the performance of the scheduler), whereas others should...

Hi @pbayer. I was hoping that you could help me with a small issue. I am trying set a condition to terminate the model. In particular, I want to terminate...

Your benchmarks look interesting and useful. Thanks for sharing. I'm not very familiar with SimJulia. Is there an analog in DescreteEvents for the for loop: ``` for _ in 1:400...

Thanks for clarifying. It seems that some comparisons will be more challenging than others.