100% found this document useful (1 vote)
5K views

Exercise Spearman Rank Correlation Coefficient

This document provides data on serum and bone magnesium levels from 14 patients. It then shows the steps to calculate the Spearman's rank correlation coefficient (rs) to determine if there is a relationship between the two variables. The rs value calculated from the data shows a statistically significant relationship, allowing the conclusion that serum and bone magnesium levels are related in the sample population.

Uploaded by

Rohaila Rohani
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
5K views

Exercise Spearman Rank Correlation Coefficient

This document provides data on serum and bone magnesium levels from 14 patients. It then shows the steps to calculate the Spearman's rank correlation coefficient (rs) to determine if there is a relationship between the two variables. The rs value calculated from the data shows a statistically significant relationship, allowing the conclusion that serum and bone magnesium levels are related in the sample population.

Uploaded by

Rohaila Rohani
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 9

EXERCISE 1

Table 9.4 shows the serum and bone magnesium levels of 14 patients are reported by Alfrey et al.*. Can we conclude from these data that a relationship exist between serum magnesium and bone magnesium in the sample population? Serum Mg ( m Eq./L.) 3.60 2.85 2.80 2.70 2.60 2.55 2.55 2.45 2.25 1.80 1.45 1.35 1.40 0.90 Bone Mg ( m Eq./kg ash ) 672 610 621 567 570 638 612 552 524 400 277 294 338 230

*Alfrey, Allen C.,Nancy L. Miller, and Donald Butkus, Evaluation Of Body Magnesium Stores,J. Lab. Clin. Med.,84 (1974), 153-1

SOLUTION
Step 1 : Hypothesis. H0 : H1 : The serum and bone magnesium level are independent There are either direct or inversely relationship between the serum and magnesium level. (claim) Serum Mg (Xi) 3.60 2.85 2.80 2.70 2.60 2.55 2.55 2.45 2.25 1.80 1.45 1.35 1.40 0.90 Bone Mg (Yi) 672 610 621 567 570 638 612 552 524 400 277 294 338 230 R(Xi) 14 13 12 11 10 8.5 8.5 7 6 5 4 2 3 1 R(Yi) 14 10 12 8 9 13 11 7 6 5 2 3 4 1 di = R(Xi) - R(Yi) 0 3 0 3 1 -4.5 -2.5 0 0 0 2 -1 -1 0 (di)2 0 9 0 9 1 20.25 6.25 0 0 0 4 1 1 0

= 51.5

Step 2 : Compute Test Value.

Step 3 : Critical value. From table A.21, when n=14 and (2) = 0.05 Then, the critical value is 0.538

Step 4 : Decision. Reject H0 since 0.538 < 0.8868

Step 5 : Conclusion. There is enough evidence to support the claim that there are either direct or inversely relationship between the serum and magnesium level.

EXERCISE 2
Ten seventh-grade children randomly selected from a certain public school system were ranked according to the quality of their home environment and the quality of their performance in school. The result is shown in table 9.45. Compute rs and determine whether one can conclude that the two variables are directly related.

Ten seventh-grade children ranked according to quality of home environment and quality of performance in school. Child 1 2 3 4 5 6 7 8 9 10 Home environment 3 7 10 9 2 1 6 4 8 5 Performance in school 1 9 8 10 3 4 5 2 6 7

SOLUTION

Step 1 : Hypothesis. H0 : H1 : The childs home environment and their performance in school are independent there are direct relationship between home environment and the performance in school of the seventh-grade children ( claim )

Child 1 2 3 4 5 6 7 8 9 10

Home environment ( Xi ) 3 7 10 9 2 1 6 4 8 5

Performance in school ( Yi ) 1 9 8 10 3 4 5 2 6 7

R(Xi ) 3 7 10 9 2 1 6 4 8 5

R(Yi ) 1 9 8 10 3 4 5 2 6 7

di = R(Xi) -R(Yi) 2 -2 2 -1 -1 -3 1 2 2 -2

(di)2 4 4 4 1 1 9 1 4 4 4

Step 2 : Compute Test Value.

Step 3 : Critical value. From table A.21, when n= 10 and (1) = 0.05 Then, the critical value is 0.564

Step 4 : Decision. Reject H0 since 0.564 < 0.7818

Step 5 : Conclusion. There is enough evidence to support the claim that there are direct relationship between home environment and the performance in school of the seventh-grade children.

EXERCISE 3
The Spearman's Rank Correlation Coefficient is used to discover the strength of a link between two sets of data. This example looks at the strength of the link between the price of a convenience item (a 50cl bottle of water) and distance from the Contemporary Art Museum (CAM ) in El Raval, Barcelona. compute rs and determine whether one can conclude that the two variable are inversly related.

Convinence store 1 2 3 4 5 6 7 8 9 10

Distance from CAM ( m) 50 175 270 375 425 580 710 790 890 980

Price of 50cl bottle () 1.80 1.20 2.00 1.00 1.00 1.20 0.80 0.60 1.00 0.85

SOLUTION.
Step 1: Hypothesis H0 : The price of a convenience item (a 50cl bottle of water) and distance from the Contemporary Art Museum (CAM ) are independent H1 : there are inverse relationship between the price of a convenience item (a 50cl bottle of water) and distance from the Contemporary Art Museum (CAM ) ( claim )

Convinence store 1 2 3 4 5 6 7 8 9 10

Distance from CAM ( m) (Xi) 50 175 270 375 425 580 710 790 890 980

Price of 50cl bottle () (Yi) 1.80 1.20 2.00 1.00 1.00 1.20 0.80 0.60 1.00 0.85

R(Xi)

R(Yi)

di = R(Xi) - R(Yi)

(di)2

1 2 3 4 5 6 7 8 9 10

9 7.5 10 5 5 7.5 2 1 5 3

-8 -5.5 -7 -1 0 -1.5 5 7 4 7

64 30.25 49 1 0 2.25 25 49 16 49

= 285.5

Step 2 : Compute test value

Step 3 : Critical value. From table A.21, when n=10 and (1) = 0.05 Then, the critical value is -0.564

Step 4 : Decision. Reject H0 since <

Step 5 : Conclusion. There is enough evidence to support the claim that there is inverse relationship between the price of a convenience item and distance from the Contemporary Art Museum (CAM).

You might also like