10/28/2020
Discussion of "The use of R as a Toolbox for Mathematical Statistics Explortation" by Nicholas Horton, Elizabeth R. Brown, and Linjuan Qian, The American Statistician, 2004
- Brief history of R
- initially written by Robert Gentleman and Ross Ihaka of the University of Auckland
- similar to S language developed by Bell Labs
- wide variety of add-on packages (or libraries) developed
- freely available on almost all platforms
- Section 3 - Example Scripts - See horton-tas.R
- Running average
- Simulating the sampling distribution of the mean
- Sampling from a multivariate normal distribution
- Power and sample size calculations
- Empirical power calculations (useful for comparing competing test procedures)
- Bootstrapping of a sample statistic
- Iteration to maximize a likelihood (uses the Newton Raphson algorithm)
- ROC (receiver operating characteristic) curves
- EM (expectation-maximization) algorithm
- Bayesian inference
Breakout room activity - return to Chapter 6
- Read in treegrowth.csv
- Create a larger list called trees, as described on p. 105
- Verify that the structure of your first two trees matches the output on p. 106
- Use the split() function to store each tree as a data frame.
- Create a plot that includes a curve of height versus age for each tree.
We will have a problem session on Friday.