EconPapers    
Economics at your fingertips  
 

An Accept-and-Reject Algorithm to Sample from a Set of Permutations Restricted by a Time Constraint

Johannes Hüsing

Journal of Statistical Software, 2006, vol. 016, issue i06

Abstract: A modification of an accept-and-reject algorithm to sample from a set of restricted permutations is proposed. By concentrating on a special class of matrices obtained by restriction of the permutation in time, assuming the objects to be permuted to be events in time, the modified algorithm's running time can be shown to be linear instead of geometric in the number of elements. The implementation of the algorithm in the language R is presented in a Literate Programming style.

Date: 2006-05-16
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v016i06/v16i06.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... /resper_0.3.2.tar.gz

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:016:i06

DOI: 10.18637/jss.v016.i06

Access Statistics for this article

Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis

More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().

 
Page updated 2025-03-19
Handle: RePEc:jss:jstsof:v:016:i06