## Book description

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.

**Features**

- 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

- Front Cover
- Dedication (1/2)
- Dedication (2/2)
- Contents
- Preface (1/2)
- Preface (2/2)
- List of Algorithms
- 1. Introduction (1/2)
- 1. Introduction (2/2)
- 2. Computer representation of numbers (1/6)
- 2. Computer representation of numbers (2/6)
- 2. Computer representation of numbers (3/6)
- 2. Computer representation of numbers (4/6)
- 2. Computer representation of numbers (5/6)
- 2. Computer representation of numbers (6/6)
- 3. A sketch of C++ (1/16)
- 3. A sketch of C++ (2/16)
- 3. A sketch of C++ (3/16)
- 3. A sketch of C++ (4/16)
- 3. A sketch of C++ (5/16)
- 3. A sketch of C++ (6/16)
- 3. A sketch of C++ (7/16)
- 3. A sketch of C++ (8/16)
- 3. A sketch of C++ (9/16)
- 3. A sketch of C++ (10/16)
- 3. A sketch of C++ (11/16)
- 3. A sketch of C++ (12/16)
- 3. A sketch of C++ (13/16)
- 3. A sketch of C++ (14/16)
- 3. A sketch of C++ (15/16)
- 3. A sketch of C++ (16/16)
- 4. Generation of pseudo-random numbers (1/9)
- 4. Generation of pseudo-random numbers (2/9)
- 4. Generation of pseudo-random numbers (3/9)
- 4. Generation of pseudo-random numbers (4/9)
- 4. Generation of pseudo-random numbers (5/9)
- 4. Generation of pseudo-random numbers (6/9)
- 4. Generation of pseudo-random numbers (7/9)
- 4. Generation of pseudo-random numbers (8/9)
- 4. Generation of pseudo-random numbers (9/9)
- 5. Programming in R (1/10)
- 5. Programming in R (2/10)
- 5. Programming in R (3/10)
- 5. Programming in R (4/10)
- 5. Programming in R (5/10)
- 5. Programming in R (6/10)
- 5. Programming in R (7/10)
- 5. Programming in R (8/10)
- 5. Programming in R (9/10)
- 5. Programming in R (10/10)
- 6. Creating classes and methods in R (1/6)
- 6. Creating classes and methods in R (2/6)
- 6. Creating classes and methods in R (3/6)
- 6. Creating classes and methods in R (4/6)
- 6. Creating classes and methods in R (5/6)
- 6. Creating classes and methods in R (6/6)
- 7. Numerical linear algebra (1/12)
- 7. Numerical linear algebra (2/12)
- 7. Numerical linear algebra (3/12)
- 7. Numerical linear algebra (4/12)
- 7. Numerical linear algebra (5/12)
- 7. Numerical linear algebra (6/12)
- 7. Numerical linear algebra (7/12)
- 7. Numerical linear algebra (8/12)
- 7. Numerical linear algebra (9/12)
- 7. Numerical linear algebra (10/12)
- 7. Numerical linear algebra (11/12)
- 7. Numerical linear algebra (12/12)
- 8. Numerical optimization (1/9)
- 8. Numerical optimization (2/9)
- 8. Numerical optimization (3/9)
- 8. Numerical optimization (4/9)
- 8. Numerical optimization (5/9)
- 8. Numerical optimization (6/9)
- 8. Numerical optimization (7/9)
- 8. Numerical optimization (8/9)
- 8. Numerical optimization (9/9)
- 9. Abstract data structures (1/13)
- 9. Abstract data structures (2/13)
- 9. Abstract data structures (3/13)
- 9. Abstract data structures (4/13)
- 9. Abstract data structures (5/13)
- 9. Abstract data structures (6/13)
- 9. Abstract data structures (7/13)
- 9. Abstract data structures (8/13)
- 9. Abstract data structures (9/13)
- 9. Abstract data structures (10/13)
- 9. Abstract data structures (11/13)
- 9. Abstract data structures (12/13)
- 9. Abstract data structures (13/13)
- 10. Data structures in C++ (1/12)
- 10. Data structures in C++ (2/12)
- 10. Data structures in C++ (3/12)
- 10. Data structures in C++ (4/12)
- 10. Data structures in C++ (5/12)
- 10. Data structures in C++ (6/12)
- 10. Data structures in C++ (7/12)
- 10. Data structures in C++ (8/12)
- 10. Data structures in C++ (9/12)
- 10. Data structures in C++ (10/12)
- 10. Data structures in C++ (11/12)
- 10. Data structures in C++ (12/12)
- 11. Parallel computing in C++ and R (1/6)
- 11. Parallel computing in C++ and R (2/6)
- 11. Parallel computing in C++ and R (3/6)
- 11. Parallel computing in C++ and R (4/6)
- 11. Parallel computing in C++ and R (5/6)
- 11. Parallel computing in C++ and R (6/6)
- A. An introduction to Unix (1/2)
- A. An introduction to Unix (2/2)
- B. An introduction to R (1/4)
- B. An introduction to R (2/4)
- B. An introduction to R (3/4)
- B. An introduction to R (4/4)
- C. C++ library extensions (TR1) (1/2)
- C. C++ library extensions (TR1) (2/2)
- D. The Matrix and Vector classes (1/4)
- D. The Matrix and Vector classes (2/4)
- D. The Matrix and Vector classes (3/4)
- D. The Matrix and Vector classes (4/4)
- E. The ranGen class
- References (1/2)
- References (2/2)

## Product information

- Title: Statistical Computing in C++ and R
- Author(s):
- Release date: December 2011
- Publisher(s): Chapman and Hall/CRC
- ISBN: 9781466515376

## You might also like

book

### Applied Statistics

Instructs readers on how to use methods of statistics and experimental design with R software Applied …

book

### Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and The Cloud

This is the eBook of the printed book and may not include any media, website access …

book

### Machine Learning with R, the tidyverse, and mlr

Machine Learning with R, the tidyverse, and mlr gets you started in machine learning using R …

book

### 40 Algorithms Every Programmer Should Know

Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …