by
This page provides access to SAS code for most of the analyses in the book. Please note that S-PLUS was the primary statistical package used in performing the analyses in the book, and others were done using other packages. See the Preface of the book (page ix) for more details. Thus, not all analyses have SAS code here. 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 discuss analyzing categorical data using SAS include Logistic Regression Using the SAS System by Paul Allison, Categorical Data Analysis Using the SAS System. Second edition by M.E. Stokes, C.S. Davis, and G.G. Koch, and Categorical Data Analysis with SAS and SPSS Applications by Bayo Lawal.
Click here for access to SAS code.
Three macros written for use with the code are available: genmodsummary (version for SAS 8.xx; version for SAS 9.xx), logisticsummary, and zero_trun_p.