Tablas Contingencia
Tablas Contingencia
Tablas Contingencia
Table Approach
to Nonparametric
Testing
J.C.W. Rayner
D.J. Best
Rayner, J.C.W.
A contingency table approach to nonparametric testing 1 J.C.W. Rayner, D.J. Best.
p. cm.
Includes bibliographical references and index.
ISBN 1-58488-161-5 (alk. paper)
I . Nonparametric statistics. 2. Contingency tables. I. Best, D.J., 11. Title.
QA278.8 .R39 2000
5 19.5-dc21 00-050443
This book contains information obtained from authentic and highly regarded sources. Reprinted material
is quoted with pcrmission, and sources are indicated. A wide variety of references are listed. Reasonable
efforts have been made to publish reliable data and information, but the authors and the publisher cannot
assume responsibility for the validity of all materials or for the consequences of their use.
Neither this book nor any part may be reproduced or transmitted in any form or by any means, electronic
or mechanical, including photocopying, microfilming, and recording, or by any information storage or
retrieval system, without prior permission in writing from the publisher.
The consent of CRC Press LLC does not extend to copying for general distribution, for promotion, for
creating new works, or for resale. Specific permission must be obtained in writing from CRC Press LLC
for such copying.
Direct all inquiries to CRC Press LLC, 2000 N.W. Corporate Blvd., Boca Raton, Florida 33431.
Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are
used only for identification and explanation, without intent to infringe.
Preface
1 Introduction
1.1 Parametric or Nonparametric?
1.2 Instructors Example
1.3 Quadratic Differences and Ranking
1.4 Outline and Scope
1.5 Applications of Nonparametric Methods to
Sensory Evaluation
2 Modelling Ties
2.1 Introduction
2.2 The Sign Test and Ties
2.3 Modelling Partitioned Ties in the Sign Test
2.4 Modelling Unpartitioned Ties in the Sign Test
2.5 McNemar’s Test
2.6 Partitioning into Components
2.7 Ties in a Multinomial Test
2.8 Ties When Testing for Independence
10 Conclusion
10.1 Introduction
10.2 Partitioning Pearson’s Chi-Squared Statistic for at
Least Partially Ordered Three-Way Contingency Tables
10.3 Generalised Correlations
10.4 Partially Parametric Testing
10.5 Concluding Comments
Appendices
A.1 Statistical Prerequisites
A.2 Orthogonal Matrices
A.3 Orthonormal Functions
A.4 Direct Sums and Products
A.5 Likelihood Ratio, Score, and Wald Tests
A.6 Assessing Univariate Normality
A.7 Multivariate Normality
A.8 Confidence Circles and Correspondence Analysis Plots
A.9 Permutation and Bootstrap Methods
References
J.C.W. Rayner
D.J. Best
Grade
A B C D E Total
Instructor 1 4 14 17 6 2 43
Instructor 2 10 6 9 7 6 38
Instructor 3 6 7 8 6 1 28
Total 20 27 34 19 9 109
4.5
3.75
Score
3.0
2.25
1.5
0.75
1 2 3
Instructors
2
2.15
Quadratic Effect
0.0 3
1
-2.15
-4.3
Linear Effect
Data set A consists of 10 random N(0, 1) values, while data set B consists
of 10 random N(20, 10) values. Suppose we rank the data from smallest
to largest.
The A’s occupy the first 10 ranks and B’s the last 10. If the analysis of the
previous section is used, the linear effect is very highly significant (p-value
< 0.001) but the quadratic component is zero (p-value one). Clearly the
ranking transformation has destroyed the quadratic differences between
A and B. To compensate for this problem with ranking, a common
procedure is to align the data sets by subtracting the A mean from each A
value, and the B mean from each B value. See, for example, Sprent (1993,
p. 124).
However when the raw data are available we suggest using these
raw data as scores rather than using the ranks. If this is done here the
analysis in Table 1.2 is obtained. Details will be given later. The quadratic
effect is now significant at the 5% level, although a smaller p-value may
have been obtained with an aligned ranks scale test.
In this text we will use the partition of X 2P method with raw data as
scores in preference to alignment or standardisation. We discuss this
point again in the Boos example at the conclusion of section 3.4. The
essential point here is that each choice of scores gives a different test, and
every conclusion is conditional on the test chosen. Using ranks, natural
scores, and the data as scores all may or may not result in similar