Book description
Learn How to Program Stochastic Models
Highly recommended, the best-selling first edition of Introduction to Scientific Programming and Simulation Using R was lauded as an excellent, easy-to-read introduction with extensive examples and exercises. This second edition continues to introduce scientific programming and stochastic modelling in a clear, practical, and thorough way. Readers learn programming by experimenting with the provided R code and data.
The book’s four parts teach:
- Core knowledge of R and programming concepts
- How to think about mathematics from a numerical point of view, including the application of these concepts to root finding, numerical integration, and optimisation
- Essentials of probability, random variables, and expectation required to understand simulation
- Stochastic modelling and simulation, including random number generation and Monte Carlo integration
In a new chapter on systems of ordinary differential equations (ODEs), the authors cover the Euler, midpoint, and fourth-order Runge-Kutta (RK4) schemes for solving systems of first-order ODEs. They compare the numerical efficiency of the different schemes experimentally and show how to improve the RK4 scheme by using an adaptive step size.
Another new chapter focuses on both discrete- and continuous-time Markov chains. It describes transition and rate matrices, classification of states, limiting behaviour, Kolmogorov forward and backward equations, finite absorbing chains, and expected hitting times. It also presents methods for simulating discrete- and continuous-time chains as well as techniques for defining the state space, including lumping states and supplementary variables.
Building readers’ statistical intuition, Introduction to Scientific Programming and Simulation Using R, Second Edition shows how to turn algorithms into code. It is designed for those who want to make tools, not just use them. The code and data are available for download from CRAN.
Table of contents
- Front Cover
- Chapman & Hall/CRCThe R Series
- Published Titles (1/2)
- Published Titles (2/2)
- Contents (1/2)
- Contents (2/2)
- Preface
- How to use this book (1/2)
- How to use this book (2/2)
- PART I: Programming
- CHAPTER 1: Setting up (1/2)
- CHAPTER 1: Setting up (2/2)
- CHAPTER 2: R as a calculating environment (1/4)
- CHAPTER 2: R as a calculating environment (2/4)
- CHAPTER 2: R as a calculating environment (3/4)
- CHAPTER 2: R as a calculating environment (4/4)
- CHAPTER 3: Basic programming (1/4)
- CHAPTER 3: Basic programming (2/4)
- CHAPTER 3: Basic programming (3/4)
- CHAPTER 3: Basic programming (4/4)
- CHAPTER 4: I/O: Input and output (1/3)
- CHAPTER 4: I/O: Input and output (2/3)
- CHAPTER 4: I/O: Input and output (3/3)
- CHAPTER 5: Programming with functions (1/6)
- CHAPTER 5: Programming with functions (2/6)
- CHAPTER 5: Programming with functions (3/6)
- CHAPTER 5: Programming with functions (4/6)
- CHAPTER 5: Programming with functions (5/6)
- CHAPTER 5: Programming with functions (6/6)
- CHAPTER 6: Sophisticated data structures (1/6)
- CHAPTER 6: Sophisticated data structures (2/6)
- CHAPTER 6: Sophisticated data structures (3/6)
- CHAPTER 6: Sophisticated data structures (4/6)
- CHAPTER 6: Sophisticated data structures (5/6)
- CHAPTER 6: Sophisticated data structures (6/6)
- CHAPTER 7: Better graphics (1/4)
- CHAPTER 7: Better graphics (2/4)
- CHAPTER 7: Better graphics (3/4)
- CHAPTER 7: Better graphics (4/4)
- CHAPTER 8: Pointers to further programming techniques (1/6)
- CHAPTER 8: Pointers to further programming techniques (2/6)
- CHAPTER 8: Pointers to further programming techniques (3/6)
- CHAPTER 8: Pointers to further programming techniques (4/6)
- CHAPTER 8: Pointers to further programming techniques (5/6)
- CHAPTER 8: Pointers to further programming techniques (6/6)
- PART II: Numerical techniques
- CHAPTER 9: Numerical accuracy and program efficiency (1/4)
- CHAPTER 9: Numerical accuracy and program efficiency (2/4)
- CHAPTER 9: Numerical accuracy and program efficiency (3/4)
- CHAPTER 9: Numerical accuracy and program efficiency (4/4)
- CHAPTER 10: Root-finding (1/5)
- CHAPTER 10: Root-finding (2/5)
- CHAPTER 10: Root-finding (3/5)
- CHAPTER 10: Root-finding (4/5)
- CHAPTER 10: Root-finding (5/5)
- CHAPTER 11: Numerical integration (1/4)
- CHAPTER 11: Numerical integration (2/4)
- CHAPTER 11: Numerical integration (3/4)
- CHAPTER 11: Numerical integration (4/4)
- CHAPTER 12: Optimisation (1/6)
- CHAPTER 12: Optimisation (2/6)
- CHAPTER 12: Optimisation (3/6)
- CHAPTER 12: Optimisation (4/6)
- CHAPTER 12: Optimisation (5/6)
- CHAPTER 12: Optimisation (6/6)
- CHAPTER 13: Systems of ordinary differential equations (1/5)
- CHAPTER 13: Systems of ordinary differential equations (2/5)
- CHAPTER 13: Systems of ordinary differential equations (3/5)
- CHAPTER 13: Systems of ordinary differential equations (4/5)
- CHAPTER 13: Systems of ordinary differential equations (5/5)
- PART III: Probability and statistics
- CHAPTER 14: Probability (1/3)
- CHAPTER 14: Probability (2/3)
- CHAPTER 14: Probability (3/3)
- CHAPTER 15: Random variables (1/6)
- CHAPTER 15: Random variables (2/6)
- CHAPTER 15: Random variables (3/6)
- CHAPTER 15: Random variables (4/6)
- CHAPTER 15: Random variables (5/6)
- CHAPTER 15: Random variables (6/6)
- CHAPTER 16: Discrete random variables (1/3)
- CHAPTER 16: Discrete random variables (2/3)
- CHAPTER 16: Discrete random variables (3/3)
- CHAPTER 17: Continuous random variables (1/5)
- CHAPTER 17: Continuous random variables (2/5)
- CHAPTER 17: Continuous random variables (3/5)
- CHAPTER 17: Continuous random variables (4/5)
- CHAPTER 17: Continuous random variables (5/5)
- CHAPTER 18: Parameter estimation (1/6)
- CHAPTER 18: Parameter estimation (2/6)
- CHAPTER 18: Parameter estimation (3/6)
- CHAPTER 18: Parameter estimation (4/6)
- CHAPTER 18: Parameter estimation (5/6)
- CHAPTER 18: Parameter estimation (6/6)
- CHAPTER 19: Markov chains (1/14)
- CHAPTER 19: Markov chains (2/14)
- CHAPTER 19: Markov chains (3/14)
- CHAPTER 19: Markov chains (4/14)
- CHAPTER 19: Markov chains (5/14)
- CHAPTER 19: Markov chains (6/14)
- CHAPTER 19: Markov chains (7/14)
- CHAPTER 19: Markov chains (8/14)
- CHAPTER 19: Markov chains (9/14)
- CHAPTER 19: Markov chains (10/14)
- CHAPTER 19: Markov chains (11/14)
- CHAPTER 19: Markov chains (12/14)
- CHAPTER 19: Markov chains (13/14)
- CHAPTER 19: Markov chains (14/14)
- PART IV: Simulation
- CHAPTER 20: Simulation (1/5)
- CHAPTER 20: Simulation (2/5)
- CHAPTER 20: Simulation (3/5)
- CHAPTER 20: Simulation (4/5)
- CHAPTER 20: Simulation (5/5)
- CHAPTER 21: Monte Carlo integration (1/2)
- CHAPTER 21: Monte Carlo integration (2/2)
- CHAPTER 22: Variance reduction (1/3)
- CHAPTER 22: Variance reduction (2/3)
- CHAPTER 22: Variance reduction (3/3)
- CHAPTER 23: Case studies (1/9)
- CHAPTER 23: Case studies (2/9)
- CHAPTER 23: Case studies (3/9)
- CHAPTER 23: Case studies (4/9)
- CHAPTER 23: Case studies (5/9)
- CHAPTER 23: Case studies (6/9)
- CHAPTER 23: Case studies (7/9)
- CHAPTER 23: Case studies (8/9)
- CHAPTER 23: Case studies (9/9)
- CHAPTER 24: Student projects (1/8)
- CHAPTER 24: Student projects (2/8)
- CHAPTER 24: Student projects (3/8)
- CHAPTER 24: Student projects (4/8)
- CHAPTER 24: Student projects (5/8)
- CHAPTER 24: Student projects (6/8)
- CHAPTER 24: Student projects (7/8)
- CHAPTER 24: Student projects (8/8)
- Glossary of R commands
- Back Cover
Product information
- Title: Introduction to Scientific Programming and Simulation Using R, Second Edition, 2nd Edition
- Author(s):
- Release date: June 2014
- Publisher(s): CRC Press
- ISBN: 9781466570016
You might also like
book
Practical Probabilistic Programming
Summary Practical Probabilistic Programming introduces the working programmer to probabilistic programming. In it, you'll learn how …
book
C++ Core Guidelines Explained: Best Practices for Modern C++
Write More Elegant C++ Programs “We are very pleased to see Rainer Grimm applying his teaching …
video
Introduction to ChatGPT and OpenAI
OpenAI ChatGPT is a powerful language model that uses advanced ML techniques to generate human-like text …
book
The Time Cleanse: A Proven System to Eliminate Wasted Time, Realize Your Full Potential, and Reinvest in What Matters Most
Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, …