login

Use of R as a Toolbox for Mathematical Statistics Exploration

The American StatisticianPublished 13 October 2004
Nicholas J. Horton, Elizabeth R. Brown, Linjuan Qian
Citations34
SJR quartileQ1
SJR score0.78
SNIP1.50

TL;DR

How R can be used in a mathematical statistics course as a toolbox for experimentation, using a series of case studies and activities that provide an introduction to the framework and idioms available in this rich environment.

Abstract

The R language, a freely available environment for statistical computing and graphics is widely used in many fields. This "expert-friendly" system has a powerful command language and programming environment, combined with an active user community. We discuss how R is ideal as a platform to support experimentation in mathematical statistics, both at the undergraduate and graduate levels. Using a series of case studies and activities, we describe how R can be used in a mathematical statistics course as a toolbox for experimentation. Examples include the calculation of a running average, maximization of a nonlinear function, resampling of a statistic, simple Bayesian modeling, sampling from multivariate normal, and estimation of power. These activities, often requiring only a few dozen lines of code, offer students the opportunity to explore statistical concepts and experiment. In addition, they provide an introduction to the framework and idioms available in this rich environment.

Keywords

Computer ScienceMathematics