内容正文:
Chapter
Nonparametric Tests
11
1
Copyright 2019, 2015, 2012, Pearson Education, Inc.
1
Larson/Farber 6th ed
Chapter 1
Chapter Outline
11.1 The Sign Test
11.2 The Wilcoxon Tests
11.3 The Kruskal-Wallis Test
11.4 Rank Correlation
11.5 The Runs Test
.
1
Copyright 2019, 2015, 2012, Pearson Education, Inc.
Section 11.5
The Runs Test
.
1
Copyright 2019, 2015, 2012, Pearson Education, Inc.
Section 11.5 Objectives
How to use the runs test to determine whether a data set is random.
.
1
Copyright 2019, 2015, 2012, Pearson Education, Inc.
The Runs Test for Randomness
Run
A run is a sequence of data having the same characteristic.
Each run is preceded by and followed by data with a different characteristic or by no data at all.
The number of data in a run is called the length of the run.
.
1
Copyright 2019, 2015, 2012, Pearson Education, Inc.
Example: Finding the Number of Runs
A liquid-dispensing machine has been designed to fill one-liter bottles. A quality control inspector decides whether each bottle is filled to an acceptable level and passes inspection (P) or fails inspection (F). Determine the number of runs for the sequence and find the length of each run.
P P P P P P P P F F F F F F F F
P P P P P P P P F F F F F F F F
Length of run:
There are 2 runs.
8
Solution:
.
8
1
Copyright 2019, 2015, 2012, Pearson Education, Inc.
P F P F P F P F P F P F P F P F
Example: Finding the Number of Runs
A liquid-dispensing machine has been designed to fill one-liter bottles. A quality control inspector decides whether each bottle is filled to an acceptable level and passes inspection (P) or fails inspection (F). Determine the number of runs for the sequence and find the length of each run.
P F P F P F P F P F P F P F P F
Length of run:
There are 16 runs of length 1.
Solution:
.
1
1
1
…
1
Copyright 2019, 2015, 2012, Pearson Education, Inc.
P P F F F F P F F F P P P P P P
Example: Finding the Number of Runs
A liquid-dispensing machine has been design