Main navigation | Main content

  • Twin Cities
  • Other Locations
  • School of Statistics
  • Gary's Home Page

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.

  • You must properly attribute the work.
  • You may not use this work for commercial purposes.
  • You may not alter, transform, or build upon this work.

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

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

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 file This 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.

  • © 2023 Regents of the University of Minnesota. All rights reserved.
  • The University of Minnesota is an equal opportunity educator and employer
  • Last modified on April 26, 2023
  • Twin Cities Campus:
  • Parking & Transportation
  • Maps & Directions
  • Directories
  • Contact U of M