skip to main content
10.5555/1516744.1516752acmconferencesArticle/Chapter ViewAbstractPublication PageswscConference Proceedingsconference-collections
research-article

Monte Carlo and discrete-event simulations in C and R

Published:07 December 2008Publication History

ABSTRACT

The Monte Carlo and discrete-event simulation code associated with the Simulation 101 pre-conference workshop (offered at the 2006, 2007, and 2008 Winter Simulation Conferences) is available in both C and R. This paper begins with general instructions for downloading, compiling, and executing the software. This is followed by detailed explanations of two programs that are representative of the software suite: craps uses Monte Carlo simulation to estimate the probability of winning the dice game Craps, and ssq2 uses discrete-event simulation to estimate several measures of performance associated with a single-server queue.

References

  1. Bengtsson, H. 2003, March. The R.oo package -- object-oriented programming with references using standard R code. In Proceedings of the 3rd International Workshop on Distributed Statistical Computing (DSC 2003), ed. K. Hornik, F. Leisch, and A. Zeileis. Vienna, Austria.Google ScholarGoogle Scholar
  2. Leemis, L. M., and S. K. Park. 2006. Discrete-event simulation: A first course. Upper Saddle River, NJ: Pearson Prentice Hall. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. R Development Core Team 2008, August. Writing R extensions. Available via (http://cran.r-project.org/manuals.html) {accessed August 1, 2008}.Google ScholarGoogle Scholar
  4. The R Foundation 2008. The R project for statistical computing. Available via (http://www.r-project.org/) {accessed August 1, 2008}.Google ScholarGoogle Scholar
  1. Monte Carlo and discrete-event simulations in C and R

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      WSC '08: Proceedings of the 40th Conference on Winter Simulation
      December 2008
      3189 pages
      ISBN:9781424427086

      Publisher

      Winter Simulation Conference

      Publication History

      • Published: 7 December 2008

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      WSC '08 Paper Acceptance Rate249of304submissions,82%Overall Acceptance Rate3,413of5,075submissions,67%
    • Article Metrics

      • Downloads (Last 12 months)40
      • Downloads (Last 6 weeks)10

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader