IDEAS home Printed from https://ideas.repec.org/a/spr/compst/v29y2014i5p1301-1320.html
   My bibliography  Save this article

Using RngStreams for parallel random number generation in C++ and R

Author

Listed:
  • Andrew Karl
  • Randy Eubank
  • Jelena Milovanovic
  • Mark Reiser
  • Dennis Young

Abstract

The RngStreams software package provides one viable solution to the problem of creating independent random number streams for simulations in parallel processing environments. Techniques are presented for effectively using RngStreams with C++ programs that are parallelized via OpenMP or MPI. Ways to access the backbone generator from RngStreams in R through the parallel and rstream packages are also described. The ideas in the paper are illustrated with both a simple running example and a Monte Carlo integration application. Copyright Springer-Verlag Berlin Heidelberg 2014

Suggested Citation

  • Andrew Karl & Randy Eubank & Jelena Milovanovic & Mark Reiser & Dennis Young, 2014. "Using RngStreams for parallel random number generation in C++ and R," Computational Statistics, Springer, vol. 29(5), pages 1301-1320, October.
  • Handle: RePEc:spr:compst:v:29:y:2014:i:5:p:1301-1320
    DOI: 10.1007/s00180-014-0492-3
    as

    Download full text from publisher

    File URL: http://hdl.handle.net/10.1007/s00180-014-0492-3
    Download Restriction: Access to full text is restricted to subscribers.

    File URL: https://libkey.io/10.1007/s00180-014-0492-3?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Rizopoulos, Dimitris, 2006. "ltm: An R Package for Latent Variable Modeling and Item Response Analysis," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 17(i05).
    2. Schmidberger, Markus & Morgan, Martin & Eddelbuettel, Dirk & Yu, Hao & Tierney, Luke & Mansmann, Ulrich, 2009. "State of the Art in Parallel Computing with R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 31(i01).
    3. Manuel Eugster & Jochen Knaus & Christine Porzelius & Markus Schmidberger & Esmeralda Vicedo, 2011. "Hands-on tutorial for parallel computing with R," Computational Statistics, Springer, vol. 26(2), pages 219-239, June.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Eric C. Ni & Dragos F. Ciocan & Shane G. Henderson & Susan R. Hunter, 2017. "Efficient Ranking and Selection in Parallel Computing Environments," Operations Research, INFORMS, vol. 65(3), pages 821-836, June.
    2. Araújo, Artur & Meira-Machado, Luís & Roca-Pardiñas, Javier, 2014. "TPmsm: Estimation of the Transition Probabilities in 3-State Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 62(i04).
    3. L’Ecuyer, Pierre & Munger, David & Oreshkin, Boris & Simard, Richard, 2017. "Random numbers for parallel computers: Requirements and methods, with emphasis on GPUs," Mathematics and Computers in Simulation (MATCOM), Elsevier, vol. 135(C), pages 3-17.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Stefanie Hieke & Harald Binder & Alexandra Nieters & Martin Schumacher, 2014. "minPtest: a resampling based gene region-level testing procedure for genetic case-control studies," Computational Statistics, Springer, vol. 29(1), pages 51-63, February.
    2. Yang Yixin & Lü Xin & Ma Jian & Qiao Han, 2014. "A Robust Factor Analysis Model for Dichotomous Data," Journal of Systems Science and Information, De Gruyter, vol. 2(5), pages 437-450, October.
    3. Arulmani Thiyagarajan & Tyler G. James & Roy Rillera Marzo, 2022. "Psychometric properties of the 21-item Depression, Anxiety, and Stress Scale (DASS-21) among Malaysians during COVID-19: a methodological study," Palgrave Communications, Palgrave Macmillan, vol. 9(1), pages 1-8, December.
    4. Karl, Andrew T. & Yang, Yan & Lohr, Sharon L., 2014. "Computation of maximum likelihood estimates for multiresponse generalized linear mixed models with non-nested, correlated random effects," Computational Statistics & Data Analysis, Elsevier, vol. 73(C), pages 146-162.
    5. repec:jss:jstsof:39:c01 is not listed on IDEAS
    6. Cervantes, Víctor H., 2017. "DFIT: An R Package for Raju's Differential Functioning of Items and Tests Framework," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 76(i05).
    7. repec:jss:jstsof:35:i03 is not listed on IDEAS
    8. Sora Lee & Daniel M. Bolt, 2018. "Asymmetric Item Characteristic Curves and Item Complexity: Insights from Simulation and Real Data Analyses," Psychometrika, Springer;The Psychometric Society, vol. 83(2), pages 453-475, June.
    9. Nick Bailey & Anne-Catherine Guio, 2022. "Adaptive Deprivation Scales in a Multi-National Context: The European Child Deprivation Indicators," Child Indicators Research, Springer;The International Society of Child Indicators (ISCI), vol. 15(6), pages 2335-2362, December.
    10. Dawit G. Ayele & Temesgen Zewotir & Henry Mwambi, 2014. "Using Rasch Modeling to Re-Evaluate Rapid Malaria Diagnosis Test Analyses," IJERPH, MDPI, vol. 11(7), pages 1-11, June.
    11. Paula Fariña & Jorge González & Ernesto San Martín, 2019. "The Use of an Identifiability-Based Strategy for the Interpretation of Parameters in the 1PL-G and Rasch Models," Psychometrika, Springer;The Psychometric Society, vol. 84(2), pages 511-528, June.
    12. Mark Alfano & Kathryn Iurino & Paul Stey & Brian Robinson & Markus Christen & Feng Yu & Daniel Lapsley, 2017. "Development and validation of a multi-dimensional measure of intellectual humility," PLOS ONE, Public Library of Science, vol. 12(8), pages 1-28, August.
    13. Manuel Eugster & Jochen Knaus & Christine Porzelius & Markus Schmidberger & Esmeralda Vicedo, 2011. "Hands-on tutorial for parallel computing with R," Computational Statistics, Springer, vol. 26(2), pages 219-239, June.
    14. Francisco José Eiroa-Orosa & Laura Limiñana-Bravo, 2019. "An Instrument to Measure Mental Health Professionals’ Beliefs and Attitudes towards Service Users’ Rights," IJERPH, MDPI, vol. 16(2), pages 1-16, January.
    15. Jinshu Cui & Heather Rosoff & Richard S. John, 2017. "A Polytomous Item Response Theory Model for Measuring Near-Miss Appraisal as a Psychological Trait," Decision Analysis, INFORMS, vol. 14(2), pages 75-86, June.
    16. Lindsey W. Vilca & Evelyn L. Chambi-Mamani & Emely D. Quispe-Kana & Mónica Hernández-López & Tomás Caycho-Rodríguez, 2022. "Functioning of the EROS-R Scale in a Clinical Sample of Psychiatric Patients: New Psychometric Evidence from the Classical Test Theory and the Item Response Theory," IJERPH, MDPI, vol. 19(16), pages 1-14, August.
    17. Fabrizio Maturo & Francesca Fortuna & Tonio Di Battista, 2019. "Testing Equality of Functions Across Multiple Experimental Conditions for Different Ability Levels in the IRT Context: The Case of the IPRASE TLT 2016 Survey," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 146(1), pages 19-39, November.
    18. Fabrizio Maturo & Francesca Fortuna & Tonio Di Battista, 2024. "Outliers detection in assessment tests’ quality evaluation through the blended use of functional data analysis and item response theory," Annals of Operations Research, Springer, vol. 342(3), pages 1547-1562, November.
    19. Ellen Bernadette Maria Elsman & Gerardus Hermanus Maria Bartholomeus van Rens & Ruth Marie Antoinette van Nispen, 2018. "Psychometric properties of a new intake questionnaire for visually impaired young adults: The Participation and Activity Inventory for Young Adults (PAI-YA)," PLOS ONE, Public Library of Science, vol. 13(8), pages 1-24, August.
    20. Pedro Mateu & Enrique Vásquez & Javier Zúñiga & Franklin Ibáñez, 2020. "Happiness and poverty in the very poor Peru: measurement improvements and a consistent relationship," Quality & Quantity: International Journal of Methodology, Springer, vol. 54(3), pages 1075-1094, June.
    21. Grand, James A. & Golubovich, Juliya & Ryan, Ann Marie & Schmitt, Neal, 2013. "The detection and influence of problematic item content in ability tests: An examination of sensitivity review practices for personnel selection test development," Organizational Behavior and Human Decision Processes, Elsevier, vol. 121(2), pages 158-173.
    22. John Patrick Lalor & Pedro Rodriguez, 2023. "py-irt : A Scalable Item Response Theory Library for Python," INFORMS Journal on Computing, INFORMS, vol. 35(1), pages 5-13, January.

    More about this item

    Keywords

    OpenMP; MPI; Multicore; Rstream;
    All these keywords.

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:compst:v:29:y:2014:i:5:p:1301-1320. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.