This site contains data, and selected code for figures and examples found in the 6th edition of Practical Multivariate Analysis by Afifi, May, Donatello and Clark. Want to contribute code? Email us or go to our github repo using the links in the top right.

Texbook data and codebooks

Topic Data Codebook
Chemical Chemical.txt ChemicalCodebook.txt
Cluster Cluster.txt ClusterCodebook.txt
Depress Depress.txt DepressCodebook.txt
Earthq Earthq.txt EarthqCodebook.txt
Lung Lung.txt LungCodebook.txt
Mice Mice.txt MiceCodebook.txt
Parhiv Parhiv.txt ParhivCodebook.txt
School23 School23.txt School23Codebook.txt
Surv Surv.txt SurvCodebook.txt


Code Contribution status as of: Aug-07-2021

Chapter Title R Stata SPSS SAS
3 Preparing for data analysis [RMD] [HTML]
4 Data visualization [RMD] [HTML]
5 Data screening and transformations
7 Simple regression and correlation
8 Multiple regression and correlation
9 Variable selection in regression
10 Special regression topics
11 Discriminant analysis
12 Logistic regression
13 Regression analysis with survival data
14 Principal components analysis
15 Factor analysis
16 Cluster analysis
17 Log-linear analysis
18 Correlated outcomes regression