by
This page provides access to S-PLUS/R code for most of the analyses in the book. Please note that while S-PLUS was the primary statistical package used in performing the analyses in the book, some were done using other packages. See the Preface of the book (page ix) for more details. I have tried to give code for the first time various analyses were done and plots constructed, but I have not included code for all of the analyses that had the same basic form. Please note that although the code has been tested, I cannot guarantee that it is error-free; it should be viewed as being available at the user's risk.
Books that describe the analysis of categorical data using S-PLUS/R (often through a focus on generalized linear models) include An R and S-PLUS Companion to Applied Regression by John Fox, Analyzing Medical Data Using S-PLUS by B.S. Everitt and S. Rabe-Hesketh, Regression Modeling Strategies by Frank Harrell, and Modern Applied Statistics with S. Fourth Edition by W.N. Venables and B.D. Ripley.
For a full discussion of R, a free package that is substantially similar to S-PLUS (and to download it), go to the R Project web site.
Click here for access to S-PLUS/R code.
Click here for access to S-PLUS/R functions used in the analyses.
Libraries used in the code include car, design, gnlm (called gnm at CRAN), Hmisc, MASS, nnet, and VGAM.