Field Precision title


Tutorial: Using R for GamBet statistical analysis Using R for Monte Carlo statistical analysis

Stanley Humphries
Professor Emeritus
University of New Mexico





Description

Our Monte Carlo code GamBet is all about statistics, and R is one of most powerful packages available for advanced statistical analysis. The match is perfect. Although there are many math programs available for personal computers, I recommend R for the following reasons:

  • It is freely available for all computer platforms.
  • It has a large international user base.
  • R has powerful standard features with add-on packages for sophisticated work.
  • A well-designed integrated development environment (RStudio) is available.
  • There is a wealth of documentation, including textbooks and online references.
  • GamBet and R can talk to each other directly.

Admittedly, the initial learning curve is steep — R commands are powerful but the syntax is a little quirky. On the other hand, the program delivers valuable rewards once your wrap your mind around it. I've written this tutorial to help you get a quick start. The 54-page book covers the critical techniques you'll need to use R with GamBet and other technical programs through practical examples. With its active links and extensive index, you'll find that Using R for Monte Carlo statistical analysis is also a valuable reference.

Here's a link to get more information on R: http://www.r-project.org/



Table of contents

Chapter 1. Introduction
Chapter 2. Working with the R console: vectors and data frames
Chapter 3. Creating and reading CSV files
Chapter 4. Linear curve fitting and plotting, Part A
Chapter 5. Linear curve fitting and plotting, part B
Chapter 6. Working with RStudio: multi-dimensional fitting
Chapter 7. Nonlinear fitting and parameter estimation
Chapter 8. Importing GamBet files into R
Chapter 9. Creating GamBet SRC files with R
Chapter 10. Generating arbitrary distributions



Downloads

Using R for Monte Carlo statistical analysis (0.93 MB).



Terms

The electronic book Using R for GamBet statistical analysis is copyrighted by Field Precision LLC (2015). The book may be distributed freely if (and only if) it is distributed in its entirety as the file R.pdf. Sections of the book, text excerpts and figures may not be reproduced, distributed or posted for download on Internet sites without written permission of the publisher. Link to request permission