Jump to ratings and reviews
Rate this book

The R Series

Introduction to Scientific Programming and Simulation Using R

Rate this book
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.

606 pages, Kindle Edition

First published March 1, 2009

8 people are currently reading
38 people want to read

About the author

Owen Jones

3 books

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
8 (28%)
4 stars
15 (53%)
3 stars
4 (14%)
2 stars
0 (0%)
1 star
1 (3%)
Displaying 1 - 2 of 2 reviews
Profile Image for Dgg32.
146 reviews6 followers
July 14, 2011
A book oriented in scientific application of R. The first part of the book is a very good introduction to R, suitable for People with R-phobia. If you ever go through the first part, R will not be the big mystery any more.
1 review
January 23, 2019
Pages after 573 missing on the Kindle edition

I have just purchased the Kindle edition of this book and find that all pages after 573 are missing which would include Programmes and functions developed in the text and the index to the book. I cannot find an email address to contact the publisher direct. Very disappointed.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.