University of Minnesota
University of Minnesota
http://www.umn.edu/

School of Statistics

A First Course in Design and Analysis of Experiments

This book by Gary W. Oehlert was first published in 2000 by W. H. Freeman. As of summer 2010, it has gone out of print. Curiously, I still like this book and would prefer to continue using it in my teaching; some of my colleagues feel the same way. And since the copyright has reverted to me, we can do that.

As of October 2010, you may now download a PDF of the complete text from this page. The book is Copyright © 2010 by Gary W. Oehlert, but I am distributing it under a Creative Commons license. Briefly, you are free to copy, distribute, and transmit this work provided the following conditions are met:

A complete description of the license may be found at the Creative Commons website.

Download First Edition

You may download A First Course in Design and Analysis of Experiments by clicking here (1.9 MB PDF).

Download Draft Second Edition

I am ever so slowly revising the book, and I occasionally post an updated draft. You may download a recent draft by clicking here (about 64 MB, most of that the examples e-book). The downloaded file is a zip archive containing:

The designation "draft" is literal. All of the books are under active development, and you will be able to tell where I stopped revising and assembled this distribution file.

The PDF versions of the text include links to (some of) the material in the Examples supplement. The "local" version of the text tries to link to the local files in the RExamples subdirectory, and the "web" version of the text tries to link to files at www.stat.umn.edu/~gary/book/RExamples. The advantage of the local version is that you can use it without a network connection, but some platforms (iOS in particular) seem to make it very hard to use local files.

Whether these links work seems to be hit or miss. For example, I use a Mac, and the links work when the text is viewed using Adobe Reader, but they don't work when using Preview. On Linux, the local links didn't work using Xpdf but the web links did, while both worked under "Document Viewer". I really don't know what happens under iOS, Android, or Windows, but I'm guessing that some of it will work.

Download R Package (with data) for Second Edition

The R-package cfcdae (Companion to A First Course in Design and Analysis of Experiments) contains all of the data from the draft second edition of the book along with a handful of useful functions. (Many of these functions have analogs in other packages, they just do things the way I like.)

You may download cfcdae by clicking here

This package is in source format. Download the package and save the file into a place where R can find it (e.g., your home directory or the desktop). Start R, set the working directory to that location (e.g., use setwd(), and then use
install.packages("oehlert_1..4-11.tar.gz",repos=NULL,type="source")
(The repos=NULL says not to find it online but to look for the package in the local files; the type="source" tells R the file format.) Once the package is installed, you can do
library(cfcdae)
to load the library.

Download Data from first edition

The data from A First Course in Design and Analysis of Experiments are available in various formats:

Individual data sets can be accessed over the web as plain text files with labelled columns using a URL like
http://www.stat.umn.edu/~gary/book/fcdae.data/xxxx
The xxx takes the form of exmpl3.2 for example 2 from chapter 3, ex2.5 for exercise 5 from chapter 2, and pr13.14 for problem 14 from chapter 13. You can access these directly from R via, for example,
read.table("http://www.stat.umn.edu/~gary/book/fcdae.data/exmpl3.2",header=TRUE)

All of the individual text data sets accessible via the web as above are also available in a single zip archive

Russ Lenth at the University of Iowa has also provided an R package that include the data sets from the book.
oehlert_1.02.tar.gz
Download the package and save the file into a place where R can find it (e.g., your home directory or the desktop). Start R, set the working directory to that location (e.g., use setwd(), and then use
install.packages("oehlert_1.02.tar.gz",repos=NULL,type="source")
(The repos=NULL says not to find it online but to look for the package in the local files; the type="source" tells R the file format.) Once the package is installed, you can do
library(oehlert)
from within R to load all of the data. At that point, the command
pr17.4
should give you problem 4 from chapter 17.

Note that the data set names, variable names, and variable codings in oehlert.Rdata and the direct-web-accessible data may not be the same.

oehlert-data.sas An Ascii text file in SAS format. Oehlert-SAS.zip A zip archive of individual SAS data files. Again, thanks to Russ Lenth for these files.

Single text fileThis is in the MacAnova matread format.

Both the SAS data format and the MacAnova matread format are plain text files. You can download either and then cut/paste if you need to put the data into another format.



The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been approved by the University of Minnesota.