Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

6 results for “from:Pavel S. Ruzankin”

uniform sampling without replacement algorithm
Pavel S. Ruzankin · Oct 18, 2017 · r-devel

Thank you for your answer. Certainly, hash table must be faster than binary tree.

uniform sampling without replacement algorithm
Pavel S. Ruzankin · Oct 18, 2017 · r-devel

If somebody is interested I can write the code. But somebody else has to add the code for handling int / long int / double cases, since I do not have enough experience in that.

uniform sampling without replacement algorithm
Pavel S. Ruzankin · Oct 18, 2017 · r-devel

The binary tree algorithm does not need additional scrambling. I have written the R code for the algorithm in the last answer at: https://stackoverflow.com/questions/311703/algorithm-for-sampling-without-replacement/46807110#46807110 However, the algorithm will probably...

uniform sampling without replacement algorithm
Pavel S. Ruzankin · Oct 18, 2017 · r-devel

See also: P. Gupta, G. P. Bhattacharjee. (1984) An efficient algorithm for random sampling without replacement. International Journal of Computer Mathematics 16:4, pages 201-209. http://dx.doi.org/10.1080/00207168408803438 Teuhola, J. and Nevalainen, O. 1982. Two...

Inconsistencies in wilcox.test
Pavel S. Ruzankin · Dec 8, 2019 · r-devel

I'd like to ask the developers to include some exact computation for ties into wilcox.test(). Just try wilcox.test(c(1,1,5),c(10,11)) wilcox.test(c(1,2,5),c(10,11)) The p-values...

uniform sampling without replacement algorithm
Pavel S. Ruzankin · Oct 17, 2017 · r-devel

Let us consider the current uniform sampling without replacement algorithm. It resides in function do_sample in https://svn.r-project.org/R/trunk/src/main/random.c Its complexity is obviously O(n), where the sample is selected from...

Can't find what you're looking for? Try searching with Google .