Docsity

Understanding the Pros and Cons of Rank Correlation in Nonparametric Stats - Prof. John Bu, Study notes of Statistics

Toggle sidebar
bg1
1
Sierra College – Math 13
Spring 2009 – Class 32/34
Today: Sections 13-1; 13-6; 15-3; Work on Project
Assignment: 13-6 {1, 3, 6, 7, 9, 11, 13}
Next: Presentations; Review
Instructor: John Burke
Web Page: http://math.sierracollege.edu/Staff/JohnBur ke/
Telephone: 916 337-0425
Office hours: (V-307) MW 2:35-5:00; M 2:45-3:45 (official)
2
13-1 Nonparametric Statistics
The methods of inferential statistic s we used in chapters 7,
8, 9, 10 and 11 are called parametric methods (or
parametric tests) because they require assumptions about
the nature or shape of the populations involved.
Nonparametric tests (or distribution-free tests) do not
require assumptions about the population distributions.
3
Advantages of Nonparametric
Methods
Nonparametric methods can be applied to a wide var iety of
situations because they do not have rigid requirements such
as normally distributed populations.
Nonparametric methods can often be a pplied to categorical
data, such as gender, etc.
Nonparametric methods usually inv olve simpler computations.
pf3
pf4
pf5

Partial preview of the text

Download Understanding the Pros and Cons of Rank Correlation in Nonparametric Stats - Prof. John Bu and more Study notes Statistics in PDF only on Docsity!

Sierra College – Math 13

Spring 2009 – Class 32/

Today: Sections 13-1; 13-6; 15-3; Work on Project

Assignment: 13-6 {1, 3, 6, 7, 9, 11, 13}

Next: Presentations; Review

Instructor: John Burke

E-mail: [email protected]

Web Page: http://math.sierracollege.edu/Staff/JohnBurke/

Telephone: 916 337-

Office hours: (V-307) MW 2:35-5:00; M 2:45-3:45 (official)

13-1 Nonparametric Statistics

The methods of inferential statistics we used in chapters 7,

8, 9, 10 and 11 are called parametric methods (or

parametric tests ) because they require assumptions about

the nature or shape of the populations involved.

Nonparametric tests (or distribution-free tests ) do not

require assumptions about the population distributions.

Advantages of Nonparametric

Methods

Nonparametric methods can be applied to a wide variety of

situations because they do not have rigid requirements such

as normally distributed populations.

Nonparametric methods can often be applied to categorical

data, such as gender, etc.

Nonparametric methods usually involve simpler computations.

Disadvantages of Nonparametric

Methods

Nonparametric methods tend to waste information because

exact numerical data are often reduced to a qualitative form.

Nonparametric tests are not as efficient; i.e., we either need

larger sample sizes or stronger evidence. For example, the

rank correlation test of section 13-6 has an efficiency rating of

91%. This means, for example, that we need 100 sample

observations when using the nonparametric rank correlation

test to achieve the same results as 91 observations when

using the parametric linear correlation test.

Calculating Ranks

Many nonparametric methods use ranks. A rank is a number

assigned to an individual sample item according to its order

in a sorted list. The first item is assigned a rank of 1, the

second item is assigned a rank of 2, and so on.

Example: 3 (1), 5 (2), 10 (3), 12 (4), 40 (5)

If a tie in ranks occurs, the usual procedure is to find the

mean of the ranks involved and then assign this mean rank to

each of the tied items.

Example: 3 (1), 5 (2.5), 5 (2.5), 10 (4), 12 (5)

13-6 Rank Correlation

In Chapter 10 we used paired sample quantitative data to

compute values for the linear correlation coefficient. In this

section we use ranks as the basis for measuring the strength

of the correlation between two variables.

The rank correlation test (or Spearman’s rank correlation

test ) is a nonparametric test that uses ranks of sample data

consisting of matched pairs. It is used to test for an

association between two variables.

H 0 : there is no correlation between the two variables.

H 1 : there is a correlation between the two variables.

Start
Data Ranked?
Convert to
ranked data
Ties?
Compute rs

2 2 2 2

s

n xy x y r n x x n y y

Compute rs
s

z

r

n

Is n ≤ 30?
Find the critical values (A-9).
Compute CVs: rs
If rs is in the critical region, reject H 0 – there is a correlation;
otherwise, fail to reject H 0 – there is no correlation.

s

d

r

n n

No

No

No

Yes

Yes

Yes

Rank Correlation/Correlation Template

d^2 X*Y X^2

Sum

Variable (x) (X) Variable (y) (Y) d Y^2

Rank Rank 2

s

d

r

n n

2 2 2 2

s

n xy x y
r
n x x n y y

No ties:

Ties among either rank:

Example – Does Practice Help?

A pinball machine is used to measure the learning that

results from repeating manual functions. Subjects are

selected so that they are similar in important characteristics.

Nine subjects are randomly selected.

Is there sufficient evidence to support the claim that there is

an association between the number of games played and

the last pinball score (in millions)?

[Enter the data into your calculator, “x” in L1, “y” in L3.]

Last 22 62 70 10 68 73 72 58 75 Score

Games 9 13 21 6 52 78 33 11 120 Played

Pinball Scores versus Games Played

Pair # Played Score Rank Rank d d 2 1 9 22 2 2 0 0 2 13 62 4 4 0 0 3 21 70 5 6 -1 1 4 6 10 1 1 0 0 5 52 68 7 5 2 4 6 78 73 8 8 0 0 7 33 72 6 7 -1 1 8 11 58 3 3 0 0 9 120 75 9 9 0 0 Sum 6

Original data - non-linear

From Table A-9, at 0.05, the C.V. = 0.

0.95 exceeds 0.700, so we conclude there is a significant correlation

2

2

s

d

r

n n

∑

0

10

20

30

40

50

60

70

80

0 20 40 60 80 100 120 140

Example – Does Practice Help?

Rank Correlation Using the TI-83 Plus

Type in the “x” values in L1 and the “y”

values in L3.

Sort L1, L3 (ascending or descending

depending upon the problem.

Type the ranking of “x” (determined by the

sort) in L2.

Sort L3, L2, L1 (ascending or descending).

Type the “y” rankings in L4.

Perform the linear regression test STAT Æ

TESTS Æ E:LinRegTTest with L2 and L

Rankings of Bus. Schools

Business Week magazine ranked business schools two

different ways. Corporate rankings were based on surveys

of corporate recruiters, and graduate rankings were based

on surveys of MBA graduates. The table below is based on

the results for 10 schools. Using a significance level of 0.05,

is there a correlation between the corporate rankings and

the graduate rankings?

Grad 3 5 4 1 10 7 6 8 2 9 Rank

Corp 1 2 4 5 3 6 8 7 10 9 Rank

School PA NW Chi Sfd Hvd MI IN Clb UCLA MIT

15-3 Perspective (cont.)

You should know and understand the importance

  • Of estimating population parameters (e.g. mean and

proportion).

  • Of testing claims about population parameters.

You should realize that the nature and configuration of the

data have a dramatic effect on what particular statistical

methods can be used.

Garbage in, garbage out. The most obvious examples are

“self-selecting” and “convenience” samples.

Many polls and surveys can obtain very good results, even

though the sample size seems relatively small if the sample

is chosen properly. (e.g. 1700 people in a national survey)

We’ve tried to emphasize interpretation, not just blind

calculation.

Modern technology gives us the luxury to focus on the

interpretation of data and results rather than the mechanics

of complex algorithms and mathematical manipulations.

Keep the text as a reference.

“There are three kinds of lies: lies, damned lies, and statistics.”

15-3 Perspective (cont.)