These are notes that were turned into a book: Using R for Introductory Statistics, published Fall 2004 by Chapman Hall/CRC Press. The book is a substantial improvement. These notes are left up as they are a bit cheaper.
The simpleR package is now inside the UsingR package available from
CRAN. In the Windows GUI, this may be installed from a menubar
item. Otherwise, the following command
> install.packages("UsingR")
will work if you have sufficient permissions to install a package, or have set up R to install to a local area.
[If the links below don't work, click here to reload the page]

By John Verzani Version 0.4 (August 22, 2002).
printable versions
Skip to the table of contents.
[If the math symbols do not show up properly, you may need to configure your browser. Instructions are given at HEVEA's homepage or tth's homepage.]
Preface
These notes are an introduction to using the statistical software package R for an introductory statistics course. They are meant to accompany an introductory statistics book such as Kitchens ``Exploring Statistics''. The goals are not to show all the features of R, or to replace a standard textbook, but rather to be used with a textbook to illustrate the features of R that can be learned in a one-semester, introductory statistics course.
These notes were written to take advantage of R version 1.5.0 or later. For pedagogical reasons the equals sign, =, is used as an assignment operator and not the traditional arrow combination <-. This was added to R in version 1.4.0. If only an older version is available the reader will have to make the minor adjustment.
There are several references to data and functions in this text that need to be installed prior to their use. To install the data is easy, but the instructions vary depending on your system. For Windows users, you need to download the ``zip'' file , and then install from the ``packages'' menu. In UNIX, one uses the command R CMD INSTALL packagename.tar.gz. Some of the datasets are borrowed from other authors notably Kitchens. Credit is given in the help files for the datasets. This material is available as an R package from:
http://www.math.csi.cuny.edu/Statistics/R/simpleR/Simple_0.4.zip for Windows users.If necessary, the file can sent in an email. As well, the individual data sets can be found online in the directory
http://www.math.csi.cuny.edu/Statistics/R/simpleR/Simple_0.4.tar.gz for UNIX users.
http://www.math.csi.cuny.edu/Statistics/R/simpleR/Simple.This is version 0.4 of these notes and were last generated on August 22, 2002. Before printing these notes, you should check for the most recent version available from
the CSI Math department.Copyright © John Verzani (verzani@math.csi.cuny.edu), 2001-2. All rights reserved.
- Table of Contents
- Introduction
- Data
- Univariate Data
- Bivariate Data
- Handling bivariate categorical data
- Plotting tabular data
- Handling bivariate data: categorical vs. numerical
- Bivariate data: numerical vs. numerical
- Comparing two distributions with plots
- Using scatterplots to compare relationships
- Linear regression.
- Residual plots
- Correlation coefficients
- Locating points
- Resistant regression
- Using rlm or lqs for resistant regression
- Problems
- Multivariate Data
- Random Data
- Simulations
- Exploratory Data Analysis
- Confidence Interval Estimation
- Hypothesis Testing
- Two-sample tests
- Chi Square Tests
- Regression Analysis
- Multiple Linear Regression
- Analysis of Variance
- Installing R
- External Packages
- A sample R session
- What happens when R starts?
- Using Functions
- Entering Data into R
- Teaching Tricks
- Sources of help, documentation
- Index
Copyright © John Verzani, 2001-2. All rights reserved.
This document was translated from LATEX by HEVEA and HACHA.


