search for: eltz

Displaying 5 results from an estimated 5 matches for "eltz".

Did you mean: elte
2020 Aug 10
2
qnbinom with small size is slow
...) > replicate(10,ff(x)) > }) > > dd <- data.frame(size=rep(svec,each=10), > time=unlist(res)) > boxplot(log10(time)~size, dd) > summary(lm(log10(time)~size, data=dd, subset=time>0)) > > > > > On 8/7/20 2:01 PM, Constantin Ahlmann-Eltze via R-devel wrote: > > > Hi all, > > > > I recently noticed that `qnbinom()` can take a long time to calculate > > a result if the `size` argument is very small. > > For example > > qnbinom(0.5, mu = 3, size = 1e-10) > > takes ~30 seconds on my comp...
2020 Aug 21
1
qnbinom with small size is slow
...get the expected result > qnbinom(0.9999, mu = 3, size = 1e-4) [1] 7942 I have updated the pull request at https://github.com/r-devel/r-svn/pull/11 and it is currently checking if the change breaks anything. Best, Constantin Am 20.08.20 um 22:27 schrieb Martin Maechler: Constantin Ahlmann-Eltze via R-devel on Mon, 10 Aug 2020 10:05:36 +0200 writes: > Thanks Ben for verifying the issue. It is always reassuring to hear > when others can reproduce the problem. > I wrote a small patch that fixes the issue > (https://github.com/r-devel/r-svn/pull/11): &g...
2020 Aug 07
2
qnbinom with small size is slow
Hi all, I recently noticed that `qnbinom()` can take a long time to calculate a result if the `size` argument is very small. For example qnbinom(0.5, mu = 3, size = 1e-10) takes ~30 seconds on my computer. I used gdb to step through the qnbinom.c implementation and noticed that in line 106 (https://github.com/wch/r-source/blob/f8d4d7d48051860cc695b99db9be9cf439aee743/src/nmath/qnbinom.c#L106)
2020 Aug 20
0
qnbinom with small size is slow
>>>>> Constantin Ahlmann-Eltze via R-devel >>>>> on Mon, 10 Aug 2020 10:05:36 +0200 writes: > Thanks Ben for verifying the issue. It is always reassuring to hear > when others can reproduce the problem. > I wrote a small patch that fixes the issue > (https://github.com/r-devel/r...
2020 Aug 07
0
qnbinom with small size is slow
...;- lapply(svec, function(x) { ??? cat(x,"\n") ??? replicate(10,ff(x)) ??? }) dd <- data.frame(size=rep(svec,each=10), ???????????????? time=unlist(res)) boxplot(log10(time)~size, dd) summary(lm(log10(time)~size, data=dd, subset=time>0)) On 8/7/20 2:01 PM, Constantin Ahlmann-Eltze via R-devel wrote: > Hi all, > > I recently noticed that `qnbinom()` can take a long time to calculate > a result if the `size` argument is very small. > For example > qnbinom(0.5, mu = 3, size = 1e-10) > takes ~30 seconds on my computer. > > I used gdb to step thro...