Statistical Computing in C++ and R

Statistical Computing in C++ and R

Free Standard Shipping

Purchasing Options

ISBN 9781420066500
Cat# C6650
Add to cart
eBook (VitalSource)
$89.95 $62.97
ISBN 9781439893937
Cat# KE14990
Add to cart
SAVE 30%
eBook Rentals


  • Integrates both C++ and R for the solution of statistical computing problems
  • Covers object-oriented programming in both languages
  • Uses C++ code in R and R functions in the C++ program
  • Presents applications of the C++ Standard Template Library for statistical computing purposes
  • Provides an introduction to parallel processing in C++ and R


With the advancement of statistical methodology inextricably linked to the use of computers, new methodological ideas must be translated into usable code and then numerically evaluated relative to competing procedures. In response to this, Statistical Computing in C++ and R concentrates on the writing of code rather than the development and study of numerical algorithms per se. The book discusses code development in C++ and R and the use of these symbiotic languages in unison. It emphasizes that each offers distinct features that, when used in tandem, can take code writing beyond what can be obtained from either language alone.

The text begins with some basics of object-oriented languages, followed by a "boot-camp" on the use of C++ and R. The authors then discuss code development for the solution of specific computational problems that are relevant to statistics including optimization, numerical linear algebra, and random number generation. Later chapters introduce abstract data structures (ADTs) and parallel computing concepts. The appendices cover R and UNIX Shell programming.


  • Includes numerous student exercises ranging from elementary to challenging
  • Integrates both C++ and R for the solution of statistical computing problems
  • Uses C++ code in R and R functions in C++ programs
  • Provides downloadable programs, available from the authors’ website

The translation of a mathematical problem into its computational analog (or analogs) is a skill that must be learned, like any other, by actively solving relevant problems. The text reveals the basic principles of algorithmic thinking essential to the modern statistician as well as the fundamental skill of communicating with a computer through the use of the computer languages C++ and R. The book lays the foundation for original code development in a research environment.

Table of Contents

Introduction. Computer Representation of Numbers. A Sketch of C++. Generation of Pseudo-Random Numbers. Programming in R. Creating Classes and Methods in R. Numerical Linear Algebra. Numerical Optimization. Abstract Data Structures. Data Structures in C++. Parallel Computing in C++ and R. An Introduction to Unix. An Introduction to R. C++ Library Extensions (TR1). The Matrix and Vector Classes. The ranGen Class. References. Index.

Editorial Reviews

Written by experts, this book series reflects the recent rapid growth in the development and application of R, the programming language and software environment for statistical computing and graphics.

Recommended For You

Other CRC Press Sites
Featured Authors
Facebook Page for CRC Press Twitter Page for CRC Press You Tube Channel for CRC Press LinkedIn Page for CRC Press Google Plus Page for CRC Press
Sign Up for Email Alerts
© 2014 Taylor & Francis Group, LLC. All Rights Reserved. Privacy Policy | Cookie Use | Shipping Policy | Contact Us