Docsity

Wichern e Johnson - Multivariate Statistical Analysis, Manuais, Projetos, Pesquisas de Estatística

Pré-visualização parcial do texto

Baixe Wichern e Johnson - Multivariate Statistical Analysis e outras Manuais, Projetos, Pesquisas em PDF para Estatística, somente na Docsity!

ISBN-13: 978-0-13-187715-- ISBN-l0: 0-13-18771S-

"""" "'''' Ill!

I

Applied Multivariate

Statistical Analysis

,brary of Congress Cataloging-in-Publication Data

hnson, Richard A. Statistical analysisiRichard A. Johnson.-6 1h^ ed. Dean W. Winchern p.em. Includes index. ISBN 0-13-187715-

  1. Statistical Analysis

~IP Data Available

\xecutive AcquiSitions Editor: Petra Recter Vice President and Editorial Director, Mathematics: Christine Hoag roject Manager: Michael Bell Production Editor: Debbie Ryan' .>emor Managing Editor: Unda Mihatov Behrens 1:anufacturing Buyer: Maura Zaldivar Associate Director of Operations: Alexis Heydt-Long Aarketing Manager: Wayne Parkins ~arketing Assistant: Jennifer de Leeuwerk Editorial AssistantlPrint Supplements Editor: Joanne Wendelken \It Director: Jayne Conte Director of Creative Service: Paul Belfanti .::over Designer: B rnce Kenselaar '\rt Studio: Laserswords

© 2007 Pearson Education, Inc. Pearson Prentice Hall Pearson Education, Inc. Upper Saddle River, NJ 07458

All rights reserved. No part of this book may be reproduced, in any form Or by any means, without permission in writing from the publisher.

Pearson Prentice HaWM is a tradell.1ark of Pearson Education, Inc.

Printed in the United States of America ID 9 8 7 6 5 4 3 2 1

ISBN-13:

ISBN-l0:

978-0-13-187715- 0- 13 - 187715'- 1

Pearson Education LID., London Pearson Education Australia P1Y, Limited, Sydney Pearson Education Singapore, Pte. Ltd Pearson Education North Asia Ltd, Hong Kong Pearson Education Canada, Ltd., Toronto Pearson Educaci6n de Mexico, S.A. de C.V. Pearson Education-Japan, Tokyo Pearson Education Malaysia, Pte. Ltd

To

the memory of my mother and my father.

R. A. J.

To Dorothy, Michael, and An drew.

D. W. W.

~~

i 1i ¥

ii Contents ='"

1

PREFACE

ASPECTS OF MULTlVARIATE ANALYSIS 1.1 Introduction 1

Applications of Multivariate Techniques 3 The Organization of Data 5 Arrays, Descriptive Statistics, 6 Graphical Techniques, 11 Data Displays and Pictorial Representations 19 Linking Multiple Two-Dimensional Scatter Plots, 20 Graphs of Growth Curves, 24 Stars, 26 Chernoff Faces, 27 Distance 30 1.6 Final Comments 37 Exercises 37 References 47

2 MATRIX ALGEBRA AND RANDOM VECTORS 2.1 Introduction 49 2.2 Some Basics of Matrix and Vector Algebra 49 Vectors, 49 Matrices, 54 2.3 Positive Definite Matrices 60 2.4 A Square-Root Matrix 65 2.5 Random Vectors and Matrices 66 2.6 Mean Vectors and Covariance Matrices 68 Partitioning the Covariance Matrix, 73

The Mean Vector and Covariance Matrix for Linear Combinations of Random Variables, 75 Partitioning the Sample Mean Vector and Covariance Matrix, 77 Matrix Inequalities and Maximization 78

xv

1

vii

x Contents

Contents 9 FACTOR ANALYSIS AND INFERENCE xi 430

 - A Summary of Univariate ANOVA, - Multivariate Analysis of Variance (MANOVA), 
  • 6.5 Simultaneous Confidence Intervals for Treatment Effects
  • 6.6 Testing for Equality of Covariance Matrices
  • 6.7 1\vo-Way Multivariate Analysis of Variance - Univariate Two-Way Fixed-Effects Model with Interaction, - Multivariate Two- Way Fixed-Effects Model with Interaction,
    • 6.8 Profile Analysis
    • 6.9 Repeated Measures Designs and Growth Curves - Multivariate Models 6.10 Perspectives and a Strategy for Analyzing - Exercises - References
  • 7 MULTlVARIATE LINEAR REGRESSION MODELS - 7.1 Introduction - 7.2 The Classical Linear Regression Model - 7.3 Least Squares Estimation - Sum-oJ-Squares Decomposition, - Geometry of Least Squares, - Sampling Properties of Classical Least Squares Estimators, - 7.4 Inferences About the Regression Model - Inferences Concerning the Regression Parameters, - Likelihood Ratio Tests for the Regression Parameters, - 7.5 Inferences from the Estimated Regression Function - Estimating the Regression Function at Zo, - Forecasting a New Observation at Zo, - 7.6 Model Checking and Other Aspects of Regression - Does the Model Fit?, - Leverage and Influence, - Additional Problems in Linear Regression, - 7.7 Multivariate Multiple Regression - Likelihood Ratio Tests for Regression Parameters, - Other Multivariate Test Statistics, - Predictions from Multivariate Multiple Regressions, - 7.8 The Concept of Linear Regression - Prediction of Several Variables, - Partial Correlation Coefficient, - 7.9 Comparing the Two Formulations of the Regression Model - Mean Corrected Form of the Regression Model, - Relating the Formulations, - 7.10 Multiple Regression Models with Time Dependent Errors - for the Multivariate Multiple Regression Model Supplement 7A: The Distribution of the Likelihood Ratio - Exercises - - References - 8.1 Introduction 8 PRINCIPAL COMPONENTS - 8.2 Population Principal Components - Principal Components Obtained from Standardized Variables - with Special Structures, Principal Components for Covariance Matrices ' - 8.3 Summarizing Sample Variation by Principal Components - The Number of Principal Components, - Interpretation of the Sample Principal Components, - Standardizing the Sample Principal Components, - 8.4 Graphing the Principal Components - 8.5 Large Sample Inferences - Large Sample Properties of Aj and ej, - Testing for the Equal Correlation Structure, - 8.6 Monitoring Quality with Principal Components - Checking a Given Set of Measurements for Stability, - Controlling Future Values, - Component Approximation Supplement 8A: The Geometry of the Sample Principal - The p-Dimensional Geometrical Interpretation, - The n-Dimensional Geometrical Interpretation, - Exercises - References - 9.1 Introduction FOR STRUCTURED COVARIANCE MATRICES - 9.2 The Orthogonal Factor Model - 9.3 Methods of Estimation - The Pri,!cipal Component (and Principal Factor) Method, - A ModifiedApproach-the Principal Factor Solution, - The Maximum Likelihood Method, - A Large Sample Test for the Number of Common Factors - Oblique Rotations, 9.4 Factor Rotation 504 ' - 9.5 Factor Scores - The Weighted Least Squares Method, - The Regression Method, - 9.6 Perspectives and a Strategy for Factor Analysis - for Maximum Likelihood Estimation Supplement 9A: Some Computational Details - Recommended Computational Scheme, - Maximum Likelihood Estimators of p = L.L~ + 1/1. - Exercises - References

xii Contents

10

11

CANONICAL CORRELATION ANALYSIS 10.1 Introduction 539 10.2 Canonical Variates and Canonical Correlations 539 10.3 Interpreting the Population Canonical Variables 545 Identifying the {:anonical Variables, 545 Canonical Correlations as Generalizations of Other Correlation Coefficients, 547 The First r Canonical Variables as a Summary of Variability, 548 A Geometrical Interpretation of the Population Canonical Correlation Analysis 549. 10.4 The Sample Canonical Variates and Sample Canonical Correlations 550 10.5 Additional Sample Descriptive Measures 558 Matrices of Errors of Approximations, 558 Proportions of Explained Sample Variance, 561 10.6 Large Sample Inferences 563 Exercises 567 References 574

DISCRIMINATION AND CLASSIFICATION 11.1 Introduction 575 11.2 Separation and Classification for Two Populations 576 11.3 Classification with 1\vo Multivariate Normal Populations Classification of Normal Populations When l:1 = l:z = :£, Scaling, 589 Fisher's Approach to Classification with 1Wo Populations, 590 Is Classification a Good Idea?, 592 Classification of Normal Populations When:£1 =F :£z, 593 11.4 Evaluating Classification Functions 596 11.5 Classification with Several Populations 606 The Minimum Expected Cost of Misclassification Method, 606 Classification with Normal Populations, 609 11.6 Fisher's Method for Discriminating among Several Populations 621 Using Fisher's Discriminants to Classify Objects, 628 11.7 Logistic Regression and Classification 634 Introduction, 634 The Logit Model, 634 Logistic Regression Analysis, 636 Classification, 638 Logistic Regression with Binomial Responses, 640 11.8 Final Comments 644 Including Qualitative Variables, 644 Classification Trees, 644 Neural Networks, 647 Selection of Variables, 648

Testing for Group Differences, 648 Graphics, 649

Contents

Practical Considerations Regarding Multivariate Normality, 649 Exercises 650 References 669

12 CLUSTERING, DISTANCE METHODS, AND ORDINATION 12.1 Introduction 671 12.2 Similarity Measures 673. Distances and Similarity Coefficients for Pairs of Items, 673 Similarities and Association Measures for Pairs of Variables, 677 Concluding Comments on Similarity, 678 12.3 Hierarchical Clustering Methods 680 Single Linkage, 682 Complete Linkage, 685 Average Linkage, 690 Ward's Hierarchical Clustering Method, 692 Final Comments-Hierarchical Procedures, 695 12.4 Nonhierarchical Clustering Methods 696 K-means Method, 696 Final Comments-Nonhierarchical Procedures, 701 12.5 Clustering Based on Statistical Models 703 12.6 Multidimensional Scaling 706 The Basic Algorithm, 708. 12.7 Correspondence Analysis 716 Algebraic Development of Correspondence Analysis, 718 Inertia, Interpretation in Two Dimensions, 726 Final Comments, 726 12.8 Biplots for Viewing Sampling Units and Variables 726 Constructing Biplots, 727 12.9 Procrustes Analysis: A Method for Comparing Configurations 732 Constructing the Procrustes Measure of Agreement, 733 Supplement 12A: Data Mining 740 Introduction, 740 The Data Mining Process, 741 Model Assessment, 742 Exercises 747 References 755

APPENDIX

DATA INDEX

SUBJECT INDEX

xiii

671

xvi Preface

onsistency of level. Some sections are harder than others. In particular, we ~~ve summarized a volumi?ous amount .of materi~l?n regres~ion ~n Chapter 7. The resulting presentation IS rather SUCCInct and difficult the fIrst ~Ime throu~h. We hope instructors will be a?le to compensat.e for the une~enness In l~vel by JU- diciously choosing those s~ctIons, and subsectIOns, appropnate for theIr students and by toning them tlown If necessary.

ORGANIZATION AND APPROACH

The methodological "tools" of multlvariate analysis are contained in Chapters 5 through 12. These chapters represent the heart of the book, but they cannot be assimilated without much of the material in the introd~ctory Chapters 1 thr?~gh

  1. Even those readers with a good kno~ledge of matrix algebra or those willing t accept the mathematical results on faIth should, at the very least, peruse Chap- o 3 "Sample Geometry," and Chapter 4, "Multivariate Normal Distribution." ter , Our approach in the methodological ~hapters is to ~eep the discussion.di- t and uncluttered. Typically, we start with a formulatIOn of the population re~dels delineate the corresponding sample results, and liberally illustrate every- :'ing ~ith examples. The exa~ples are of two types: those that are simple and hose calculations can be easily done by hand, and those that rely on real-world ~ata and computer software. These will provide an opportunity to (1) duplicate our analyses, (2) carry out the analyses dictated by exercises, or (3) analyze the data using methods other than the ones we have used or suggest~d.. The division of the methodological chapters (5 through 12) Into three umts llo~s instructors some flexibility in tailoring a course to their needs. Possible a uences for a one-semester (two quarter) course are indicated schematically. seq... fr h t Each instructor will undoubtedly omit certam sectIons om some c ap ers to cover a broader collection of topics than is indicated by these two choices.

Getting Started Chapters 1-

For most students, we would suggest a quick pass through the first four hapters (concentrating primarily on the material in Chapter 1; Sections 2.1, 2.2, ~.3, 2.5, 2.6, and 3.6; and the "assessing normality" material in Chapter ~) fol- lowed by a selection of methodological topics. For example, one mIght dISCUSS the comparison of mean vectors, principal components, factor analysis, discrimi- nant analysis and clustering. The di~cussions could feature the many "worke? out" examples included in these sections of the text. Instructors may rely on dI-

Preface xvii

agrams and verbal descriptions to teach the corresponding theoretical develop- ments. If the students have uniformly strong mathematical backgrounds, much of the book can successfully be covered in one term. We have found individual data-analysis projects useful for integrating ma- terial from several of the methods chapters. Here, our rather complete treatments of multivariate analysis of variance (MANOVA), regression analysis, factor analy- sis, canonical correlation, discriminant analysis, and so forth are helpful, even though they may not be specifically covered in lectures.

CHANGES TO THE SIXTH EDITION

New material. Users of the previous editions will notice several major changes in the sixth edition.

  • Twelve new data sets including national track records for men and women, psychological profile scores, car body assembly measurements, cell phone tower breakdowns, pulp and paper properties measurements, Mali family farm data, stock price rates of return, and Concho water snake data.
  • Thirty seven new exercises and twenty revised exercises with many of these exercises based on the new data sets.
  • Four new data based examples and fifteen revised examples.
  • Six new or expanded sections:
  1. Section 6.6 Testing for Equality of Covariance Matrices
  2. Section 11.7 Logistic Regression and Classification
  3. Section 12.5 Clustering Based on Statistical Models
  4. Expanded Section 6.3 to include "An Approximation to the, Distrib- ution of T2 for Normal Populations When Sample Sizes are not Large"
  5. Expanded Sections 7.6 and 7.7 to include Akaike's Information Cri- terion
  6. Consolidated previous Sections 11.3 and 11.5 on two group discrimi- nant analysis into single Section 11.

Web Site. To make the methods of multivariate analysis more prominent in the text, we have removed the long proofs of Results 7.2,7.4,7.10 and 10. and placed them on a web site accessible through www.prenhall.comlstatistics. Click on "Multivariate Statistics" and then click on our book. In addition, all full data sets saved as ASCII files that are used in the book are available on the web site.

Instructors' Solutions Manual. An Instructors Solutions Manual is available on the author's website accessible through www.prenhall.comlstatistics.For infor- mation on additional for-sale supplements that may be used with the book or additional titles of interest, please visit the Prentice Hall web site at www.pren- hall. corn.

cs

""iii

Preface
,ACKNOWLEDGMENTS

We thank many of our colleagues who helped improve the applied aspect of the book by contributing their own data sets for examples and exercises. A number of individuals helped guide various revisions of this book, and we are grateful for their suggestions: Christopher Bingham, University of Minnesota; Steve Coad, University of Michigan; Richard Kiltie, University of Florida; Sam Kotz, George Mason University; Him Koul, Michigan State University; Bruce McCullough, Drexel University; Shyamal Peddada, University of Virginia; K. Sivakumar Uni- versity of Illinois at Chicago; Eric Smith, Virginia Tecn; and Stanley Wasserman, University of Illinois at Urbana-ciiampaign. We also acknowledge the feedback of the students we have taught these past 35 years in our applied multivariate analysis courses. Their comments and suggestions are largely responsible for the present iteration of this work. We would also like to give special thanks to Wai K wong Cheang, Shanhong Guan, Jialiang Li and Zhiguo Xiao for their help with the calculations for many of the examples. We must thank Dianne Hall for her valuable help with the Solutions Man- ual, Steve Verrill for computing assistance throughout, and Alison Pollack for implementing a Chernoff faces program. We are indebted to Cliff GiIman for his assistance with the multidimensional scaling examples discussed in Chapter 12. Jacquelyn Forer did most of the typing of the original draft manuscript, and we appreciate her expertise and willingness to endure cajoling of authors faced with publication deadlines. Finally, we would like to thank Petra Recter, Debbie Ryan, Michael Bell, Linda Behrens, Joanne Wendelken and the rest of the Prentice Hall staff for their help with this project. R. A. lohnson [email protected]

D. W. Wichern [email protected]

Applied Multivariate

Statistical Analysis

2 Chapter 1 Aspects of Multivariate Analysis

generation of appropriate data in certain disciplines. (This is true, for example, in business, economics, ecology, geology, and sociology.) You should consult [6] and [7] for detailed accounts of design principles that, fortunately, also apply to multi- variate situations. It will become increasingly clear that many multivariate methods are based upon an underlying proBability model known as the multivariate normal distribution. Other methods are ad hoc in nature and are justified by logical or commonsense arguments. Regardless of their origin, multivariate techniques must, invariably, be implemented on a computer. Recent advances in computer technology have been accompanied by the development of rather sophisticated statistical software packages, making the implementation step easier. Multivariate analysis is a "mixed bag." It is difficult to establish a classification scheme for multivariate techniques that is both widely accepted and indicates the appropriateness of the techniques. One classification distinguishes techniques de- signed to study interdependent relationships from those designed to study depen- dent relationships. Another classifies techniques according to the number of populations and the number of sets of variables being studied. Chapters in this text are divided into sections according to inference about treatment means, inference about covariance structure, and techniques for sorting or grouping. This should not, however, be considered an attempt to place each method into a slot. Rather, the choice of methods and the types of analyses employed are largely determined by the objectives of the investigation. In Section 1.2, we list a smaller number of practical problems designed to illustrate the connection between the choice of a sta- tistical method and the objectives of the study. These problems, plus the examples in the text, should provide you with an appreciation of the applicability of multivariate techniques acroSS different fields. The objectives of scientific investigations to which multivariate methods most naturally lend themselves include the following: L Data reduction or structural simplification. The phenomenon being studied is represented as simply as possible without sacrificing valuable information. It is hoped that this will make interpretation easier.

2. Sorting and grouping. Groups of "similar" objects or variables are created, based upon measured characteristics. Alternatively, rules for classifying objects into well-defined groups may be required. 3. Investigation of the dependence among variables. The nature of the relation- ships among variables is of interest. Are all the variables mutually independent or are one or more variables dependent on the others? If so, how? 4. Prediction. Relationships between variables must be determined for the pur- pose of predicting the values of one or more variables on the basis of observa- tions on the other variables. 5. Hypothesis construction and testing. Specific statistical hypotheses, formulated in terms of the parameters of multivariate populations, are tested. This may be done to validate assumptions or to reinforce prior convictions. We conclude this brief overview of multivariate analysis with a quotation from F. H. C Marriott [19], page 89. The statement was made in a discussion of cluster analysis, but we feel it is appropriate for a broader range of methods. You should keep it in mind whenever you attempt or read about a data analysis. It allows one to

t

. f

I

Applications of Multivariate Techniques 3

maintain a proper perspective and not be overwhelmed by the elegance of some of the theory:

If the results disagree with informed opinion, do not admit a simple logical interpreta- tion, and do not show up clearly in a graphical presentation, they are probably wrong. There is no magic about numerical methods, and many ways in which they can break down. They are a valuable aid to the interpretation of data, not sausage machines automatically transforming bodies of numbers into packets of scientific fact.

1.2 Applications of Multivariate Techniques

The published applications of multivariate methods have increased tremendously in recent years. It is now difficult to cover the variety of real-world applications of these methods with brief discussions, as we did in earlier editions of this book. How- ever, in order to give some indication of the usefulness of multivariate techniques, we offer the following short descriptions_of the results of studies from several disci- plines. These descriptions are organized according to the categories of objectives given in the previous section. Of course, many of our examples are multifaceted and could be placed in more than one category.

Data reduction or simplification

  • Using data on several variables related to cancer patient responses to radio- therapy, a simple measure of patient response to radiotherapy was constructed. (See Exercise 1.15.)
  • ltack records from many nations were used to develop an index of perfor- mance for both male and female athletes. (See [8] and [22].)
  • Multispectral image data collected by a high-altitude scanner were reduced to a form that could be viewed as images (pictures) of a shoreline in two dimensions. (See [23].)
  • Data on several variables relating to yield and protein content were used to cre- ate an index to select parents of subsequent generations of improved bean plants. (See [13].)
  • A matrix of tactic similarities was developed from aggregate data derived from professional mediators. From this matrix the number of dimensions by which professional mediators judge the tactics they use in resolving disputes was determined. (See [21].) Sorting and grouping
  • Data on several variables related to computer use were employed to create clusters of^ categories^ of^ computer jobs^ that^ allow a^ better^ determination^ of existing (or planned) computer utilization. (See [2].)
  • Measurements of several physiological variables were used to develop a screen- ing procedure that discriminates alcoholics from nonalcoholics. (See [26].)
  • Data related to responses to visual stimuli were used to develop a rule for sepa- rating people suffering from a multiple-sclerosis-caused visual pathology from those not suffering from the disease. (See Exercise 1.14.)

4 Chapter 1 Aspects of Multivariate Analysis

  • The U.S. Internal Revenue Service uses data collected from tax returns to sort taxpayers into two groups: those that will be audited and those that will not. (See [31].) Investigation of the dependence among variables
  • Data on several variables were used to identify factors that were responsible for client success in hiring external consultants. (See [12].)
  • Measurements of variables related to innovation, on the one hand, and vari- ables related to the business environment and business organization, on the other hand, were used to discover why some firms are product innovators and some firms are not. (See [3].)
  • Measurements of pulp fiber characteristics and subsequent measurements of. characteristics of the paper made from them are used to examine the relations between pulp fiber properties and the resulting paper properties. The goal is to determine those fibers that lead to higher quality paper. (See [17].)
  • The associations between measures of risk-taking propensity and measures of socioeconomic characteristics for top-level business executives were used to assess the relation between risk-taking behavior and performance. (See [18].) . Prediction
  • The associations between test scores, and several high school performance vari- ables, and several college performance variables were used to develop predic- tors of success in college. (See [10).)
  • Data on several variables related to the size distribution of sediments were used to
develop rules for predicting different depositional environments. (See [7] and [20].)
  • Measurements on several accounting and financial variables were used to de- velop a method for identifying potentially insolvent property-liability insurers. (See [28].)
  • cDNA microarray experiments (gene expression data) are increasingly used to study the molecular variations among cancer tumors. A reliable classification of tumors is essential for successful diagnosis and treatment of cancer. (See [9].)

Hypotheses testing

  • Several pollution-related variables were measured to determine whether levels for a large metropolitan area were roughly constant throughout the week, or whether there was a noticeable difference between weekdays and weekends. (See Exercise 1.6.)
  • Experimental data on several variables were used to see whether the nature of the instructions makes any difference in perceived risks, as quantified by test scores. (See [27].)
  • Data on many variables were used to investigate the differences in structure of American occupations to determine the support for one of two competing soci- ological theories. (See [16] and [25].)
  • Data on several variables were used to determine whether different types of firms in newly industrialized countries exhibited different patterns of innova- tion. (See [15].)

T

. ~

The Organization of Data 5

The preceding descriptions offer glimpses into the use of multivariate methods in widely diverse fields.

1.3 The Organization of Data

Throughout this text, we are going to be concerned with analyzing measurements made on several variables or characteristics. These measurements (commonly called data) must frequently be arranged and displayed in various ways. For example, graphs and tabular arrangements are important aids in data analysis. Summary num- bers, which quantitatively portray certain features of the data, are also necessary to any description. We now introduce the preliminary concepts underlying these first steps of data organization.

Arrays

Multivariate data arise whenever an investigator, seeking to understand a social or physical phenomenon, selects a number p ~ 1 of variables or characters to record. The values of these variables are all recorded for each distinct item, individual, or experimental unit. We will use the notation Xjk to indicate the particular value of the kth variable that is observed on the jth item, or trial. That is,

Xjk = measurement ofthe kth variable on the jth item Consequently, n measurements on p variables can be displayed as follows:

Variable 1 (^) Variable 2 Variablek Variable p Item 1: (^) Xu X12 Xlk (^) xl (^) p Item 2: (^) X21 (^) X22 X2k X2p

Itemj: (^) Xjl (^) Xj2 Xjk Xjp

Itemn: (^) Xnl Xn2 Xnk (^) xnp

Or we can display these data as a rectangular array, called X, of n rows and p

columns:

Xll X12 Xlk xl (^) p X21 Xn X2k (^) X2p

X

Xjl Xj2 (^) Xjk Xjp

Xnl Xn2 Xnk x^ np

The array X, then, contains the data consisting of all of .the observations on all of

the variables.

8 Chapter 1 Aspects of Multivariate Analysis

or the average product of the deviations from their respective means. If large values for one variable are observed in conjunction with large values for the other variable, and the small values also occur together, sl2 will be positive. If large values from one vari- able occur with small values for the other variable, Sl2 will be negative. If there is no particular association between the values for the two variables, Sl2 will be approxi- mately zero. The sample covariance 1 n _ ~ Sik = -:L (Xji - Xi)(Xjk - Xk) i = 1,2, ... ,p, k = 1,2, ... ,p (1-4) n j=l measures the association between the ·ith and kth variables. We note that the covari- ance reduces to the sample variance when i = k. Moreover, Sik = Ski for all i and k .. The final descriptive statistic considered here is the sample correlation coeffi- cient (or Pearson's product-moment correlation coefficient, see [14]). This measure of the linear association between two variables does not depend on the units of measurement. The sample correlation coefficient for the ith and kth variables is defined as n :L (Xji - x;) (Xjk - Xk) j=l

for i = 1,2, ... , p and k = 1,2, ... , p. Note rik = rki for all i and k.

The sample correlation coefficient is a standardized version of the sample co- variance, where the product of the square roots of the sample variances provides the standardization. Notice that rik has the same value whether n or n - 1 is chosen as

the common divisor for Sii, sa, and Sik'

The sample correlation coefficient rik can also be viewed as a sample co variance. Suppose the original values 'Xji and Xjk are replaced by standardized values (Xji - xi)/~and(xjk - xk)/~.Thestandardizedvaluesarecommensurablebe cause both sets are centered at zero and expressed in standard deviation units. The sam- ple correlation coefficient is just the sample covariance of the standardized observations. Although the signs of the sample correlation and the sample covariance are the same, the correlation is ordinarily easier to interpret because its magnitude is bounded. To summarize, the sample correlation r has the following properties:

1. The value of r must be between -1 and +1 inclusive.

2. Here r measures the strength of the linear association. If r = 0, this implies a lack of linear association between the components. Otherwise, the sign of r indi-

cates the direction of the association: r < 0 implies a tendency for one value in

the pair to be larger than its average when the other is smaller than its average;

and r > 0 implies a tendency for one value of the pair to be large when the

other value is large and also for both values to be small together.

3. The value of rik remains unchanged if the measurements of the ith variable

are changed to Yji = aXji + b, j = 1,2, ... , n, and the values of the kth vari-

able are changed to Yjk = CXjk + d, j == 1,2, ... , n, provided that the con-

stants a and c have the same sign.

fif

j

The Organization of Data, 9

The ~u~ntities Sik and rik do not, in general, convey all there is to know about

the aSSOCIatIOn between two variables. Nonlinear associations can exist that are not revealed .by these ~es~riptive statistics. Covariance and corr'elation provide mea- sures of lmear aSSOCIatIOn, or association along a line. Their values are less informa-

tive ~~r other kinds of association. On the other hand, these quantities can be very

sensIttve to "wild" observations ("outIiers") and may indicate association when in fact, little exists. In spite of these shortcomings, covariance and correlation coeffi-

cien~s are routi':lel.y calculated and analyzed. They provide cogent numerical sum-

man~s ~f aSSOCIatIOn ~hen the data do not exhibit obvious nonlinear patterns of aSSOCIation and when WIld observations are not present.

. Suspect observa.tions must be accounted for by correcting obvious recording mIstakes and by takmg actions consistent with the identified causes. The values of Sik and rik should be quoted both with and without these observations. The sum of squares of the deviations from the mean and the sum of cross- product deviations are often of interest themselves. These quantities are

and n

n Wkk = 2: (Xjk - Xk) j=I

Wik = 2: (Xji - x;) (Xjk - Xk) j=l

k = 1,2, ... ,p (^) (1-6)

i = 1,2, ... ,p, k = 1,2, ... ,p (1-7)

The descriptive statistics computed from n measurements on p variables can also be organized into arrays.

Arrays of Basic Descriptive Statistics

Sample means i~m

[u

Sl '" ]

Sample variances

and covariances Sn^ =^ S~l^ S22^ S2p^ (1-8)

Spl sp2 (^) spp

R ~ l~'

r Sample correlations (^) '" ] (^1) r2p

'pI (^) 'p2^1

10 Chapter 1 Aspects of Multivariate Analysis

The sample mean array is denoted by X, the sample variance and covari~nce

array by the capital letter Sn, and the sample correlation array by R. The subscrIpt ~

on the array Sn is a mnemonic device used to remind you that n is employed as a di- visor for the elements Sik'^ The^ size of all^ of^ the arrays^ is^ determined^ by^ the^ number of variables, p. The arrays Sn and R consist of p rows and p columns. The array x is a single column with p rows. The first subscript on an entry in arrays Sn and R indicates

the row; the second subscript indicates the column. Since Sik = Ski and rik = rki

for all i and k, the entries in symmetric positions about the main northwest- southeast diagonals in arrays Sn and R are the same, and the arrays are said to be symmetric.

Example 1.2 (The arrays ;c, SR' and R for bivariate data) Consider the data intro- duced in Example 1.1. Each. receipt yields a pair of measurements, total dollar sales, and number of books sold. Find the arrays X, Sn' and R. Since there are four receipts, we have a total of four measurements (observa- tions) on each variable. The-sample means are 4

Xl = 1 2: Xjl = 1(42 + 52 + 48 + 58) = 50

j=l 4

X2 = 12: Xj2 = ~(4 + 5 + 4 + 3) = 4

j=l

The sample variances and covariances are 4

Sll = ~ 2: (Xjl - xd

j=l

and

= ~«42 - 50)2 + (52 - 50l + (48 - 50)2 + (58 - 50)2) = 34

4

S22 = ~ 2: (Xj2 - xd

j=l

~ 1«4 - 4f + (5 - 4? + (4 - 4f + (3 - 4)2) =.

4 Sl2 = ~ 2: (Xjl - XI)( Xj2 - X2) j=l

S21 = Sl
[
34 -1.5J

Sn = -1.5 5

The Organization of Data I I

so

The sample correlation is Sl r12 = ---,=--

vs;; VS;

r21 = rl

R _ [ 1

Graphical Techniques

V34 v'3 = -.

-.3~J lE

Plot~ are im~ortant, but frequently neglected, aids in data analysis. Although it is im- possIble to^ simultaneously plot^ all^ the measurements^ made^ on^ several variables^ and study ~he configurations, plots of individual variables and plots of pairs of variables can stIll be very informative. Sophisticated computer programs and display equip- n;tent al.low on~ the luxury of visually examining data in one, two, or three dimen- SIOns WIth relatIve ease. On the other hand, many valuable insights can be obtained from !he data by const~uctin~ plots with paper and pencil. Simple, yet elegant and ~ffectIve, met~ods for ~IsplaYIllg data are available in [29]. It is good statistical prac- tIce to^ plot^ paIrs^ of^ varIables^ and^ visually inspect the^ pattern^ of^ association. Consid- er, then, the following seven pairs of measurements on two variables: Variable 1 (Xl): 3 4 2 6 8 2 5 Variable2 (X2): 5 5.5 4 7 10 5 7.

. Thes~ data ~re ?lotted as seven points in two dimensions (each axis represent- Ill~ a vanable) III FIgure 1.1. The coordinates of the points are determined by the patr~d measurements: (3,5), (4,5.5), ... , (5,7.5). The resulting two-dimensional plot IS known as a scatter diagram or scatter plot.

X2 X

  • (^10 10) •
  • 8 8 !
  • •^ • :a'" (^) • (^6 6) • CS •• (^) • • Cl
  • 4 4 •

2 2

0 4 6 8

! •^! •^!! I .. XI

(^2 4 6 8 10) Figure 1.1 A scatter plot Dot diagram and marginal dot diagrams.

lE

14 Chapter 1 Aspects of Multivariate Analysis

Table 1.1 1977 Salary and Final Record for the National League East

Team Philadelphia Phillies Pittsburgh Pirates St. Louis Cardinals Chicago Cubs Montreal Expos New York Mets

o

Xl = player payroll 3,497, 2,485, 1,782, 1,725, 1,645, 1,469,

  • •

Player payroll in millions of dollars

X2= won-lost percentage . . . . . .

Figure 1.4 Salaries and won-lost percentage from Table 1.1.

To construct the scatter plot in Figure 1.4, we have regarded the six paired ob- servations in Table 1.1 as the coordinates of six points in two-dimensional space. The figure allows us to examine visually the grouping of teams with respect to the vari- ables total payroll and won-lost percentage. -

Example I.S (Multiple scatter plots for paper strength measurements) Paper is man- ufactured in continuous sheets several feet wide. Because of the orientation of fibers within the paper, it has a different strength when measured in the direction pro- duced by the machine than when measured across, or at right angles to, the machine direction. Table 1.2 shows the measured values of

Xl = density (grams/cubic centimeter) X2 = strength (pounds) in the machine direction X3 = strength (pounds) in the cross direction

A novel graphic presentation of these data appears in Figure 1.5, page' 16. The scatter plots are arranged as the off-diagonal elements of a covariance array and box plots as the diagonal elements. The latter are on a different scale with this

The Organization of Data 15

Table 1.2 Paper-Quality Measurements

Strength Specimen Density (^) Machine direction (^) Cross direction

(^1) .801 121.41 (^) 70. (^2) .~24 (^) 127.70 72. (^3) .841 129.20 (^) 78. (^4) .816 (^) 131.80 74. (^5) .840 (^) 135.10 71. 6 .842 (^) 131.50 (^) 78. (^7) .820 (^) 126.70 69. 8 .802 (^) 115.10 73. 9 .828 (^) 130.80 (^) 79. (^10) .819 124.60 (^) 76. (^11) .826 (^) 118.31 70. (^12) .802 (^) 114.20 (^) 72. 13 .810 (^) 120.30 (^) 68. (^14) .802 (^) 115.70 68. (^15) .832 (^) 117.51 (^) 71. 16 .796 (^) 109.81 (^) 53. (^17) .759 (^) 109.10 50. (^18) .770 (^) 115.10 51. 19 .759 (^) 118.31 (^) 50. 20 .772 (^) 112.60 (^) 53. (^21) .806 (^) 116.20 56. (^22) .803 (^) 118.00 70.70. 23 .845 (^) 131.00 (^) 74. (^24) .822 125.70 (^) 68. (^25) .971 (^) 126.10 72. 26 .816 (^) 125.80 (^) 70. 27 .836 (^) 125.50 (^) 76. (^28) .815 (^) 127.80 76. (^29) .822 (^) 130.50 (^) 80. 30 .822 (^) 127.90 (^) 75. (^31) .843 123.90 (^) 78. (^32) .824 (^) 124.10 (^) 71. 33 .788 (^) 120.80 (^) 68. (^34) .782 107.40 (^) 54. (^35) .795 (^) 120.70 70. 36 .805 (^) 121.91 (^) 73. (^37) .836 (^) 122.31 74. 38 .788 (^) 110.60 53. 39 .772 (^) 103.51 (^) 48. (^40) .776 (^) 110.71 53. (^41) .758 (^) 113.80 (^) 52.

Source: Data courtesy of SONOCO Products Company.

16 Chapter 1 Aspects of Multivariate Analysis

·i

-SOIl

Max

Med

Min

Density

~

.. (^) ... .. ..... .. .... .. r ...

••••' 4-.:.*** .. ~:.

. :....

Strength (MD)

..^.^ ... (^) .. ~.: .. ...^ e'^.^ .:-

Max

T

Med r^ I r I

Min -'--

... ...^ ... ..^ : .. .. (^) ..

. (^) .. ... .

.. ;-

... ..

Max

Med

Min

Strength (CD)

-: .::..:.:. '..

. .. .-...

.. (^) ... .....

. .. : : .. '.

T

Figure 1.5 Scatter plots and boxplots of paper-quality data from Thble 1.2.

software so we use only the overall shape to provide information on symme~ry and possible outliers for each individual characteristic. The scatter plots can be m- spected for patterns and unusual observations. In Figure 1.5, there is one unusual observation: the density of specimen 25. Some of the scatter plots have patterns suggesting that there are two separate clumps of observations. These scatter plot arrays are further pursued in our discussion of new software graphics in the next section. -

In the general multiresponse situation, p variables are simultaneously rec~rded
oon^ items. Scatter plots should^ be^ made for pairs of important variables and,.^ If^ the

task is not too great to warrant the effort, for all pairs.. Limited as we are to a three:dimensional world, we cannot always picture an entire set of data. However, two further geom7tri~ repres~nta~ions of t?e. data pro-

vide an important conceptual framework for Vlewmg multIvanable statlstlc~l meth-

ods. In cases where it is possible to capture the essence of the data m three dimensions, these representations can actually be graphed.

The Organization of Data 17

n Points in p Dimensions (p-Dimensional Scatter Plot). Consider the natural exten- sion of the scatter plot to p dimensions, where the p measurements

on the jth item represent the coordinates of a point in p-dimensional space. The co- ordinate axes are taken to correspond to the variables, so that the jth point is Xjl units along the first axis, Xj2 units along the second, ... , Xjp units along the pth axis. The resulting plot with n points not only will exhibit the overall pattern of variabili- ty, but also will show similarities (and differences) among the n items. Groupings of items will manifest themselves in this representation. The next example illustrates a three-dimensional scatter plot.

Example 1.6 (Looking for lower-dimensional structure) A zoologist obtained mea- surements on n = 25 lizards known scientifically as Cophosaurus texanus. The weight, or mass, is given in grams while the snout-vent length (SVL) and hind limb span (HLS) are given in millimeters. The data are displayed in Table 1.3. Although there are three size measurements, we can ask whether or not most of the variation is primarily restricted to two dimensions or even to one dimension. To help answer questions regarding reduced dimensionality, we construct the three-dimensional scatter plot in Figure 1.6. Clearly most of the variation is scatter about a one-dimensional straight line. Knowing the position on a line along the major axes of the cloud of poinfs would be almost as good as knowing the three measurements Mass, SVL, and HLS. However, this kind of analysis can be misleading if one variable has a much larger variance than the others. Consequently, we first calculate the standardized values, Zjk = (Xjk - Xk)/~' so the variables contribute equally to the variation

Table 1.3 Lizard Size Data Lizard Mass SVL HLS Lizard Mass SVL HLS (^1) 5.526 59.0 113.5 14 10.067 73.0 136. 2 10.401 75.0 142.0 15 10.091 73.0 135. 3 9.213 69.0^ 124.0 16 10.888 77.0 139. 4 8.953 67.5 125.0 17 7.610 61.5 118. 5 7.063^ 62.0^ 129.5^18 7.733 66.5^ 133. 6 6.610 62.0 123.0 19 12.015 79.5 150. 7 11.273 74.0 140.0 20 10.049 74.0 137. 8 2.447 47.0 97.0 21 5.149 59.5 116. 9 15.493. 86.5 162.0 22 9.158 68.0 123. 10 9.004 69.0 126.5 23 12.132 75.0 141. 11 8.199^ 70.5^ 136.0^24 6.978 66.5^ 117. 12 6.601 64.5 116.0 25 6.890 63.0 117. 13 7.622^ 67.5^ 135. Source: Data courtesy of Kevin E. Bonine.