Credit portal




What is spearman correlation

what is spearman correlation

The Chi-square Test and the Median Test described in Appendix 1 can tell us when one set of numbers differs from what we might expect by chance, or when two sets of numbers are more different from each other than expected by chance. Suppose, though, that we have a hypothesis which states that two kinds of quantities vary together in some predictable way. For example, the longer the wing length of any subspecies within a given species, the greater the distance it migrates, or the older the male Ruffed Grouse. the more females he mates with per breeding season. These are called positive correlations. The two quantities vary together such that as one gets larger, so does the other. Negative correlations can also be hypothesized where as one quantity gets larger, the other gets smaller. For example, as the average daily temperature during winter increases, the length of time that Northern Cardinals spend looking for food decreases, or the more turbid the water, the fewer fish Belted Kingfishers catch per hour.

We need some way of assessing whether the two quantities we measure actually are varying together as predicted by our hypothesis, or whether any apparent correlation produced is just due to the amount of variation in results we could expect from chance happenstance. Several analytical statistics are available which test the strength of a correlation. One of these, the Spearman Rank Correlation Test, will be used for this book's projects.

When applied to any two sets of results, the Spearman Test produces a Spearman Correlation Coefficient, r. This r can take values between -1 and + 1. When r = -1, we have two sets of numbers that have a perfect negative correlation. That is, without exception, as the value of one quantity in our sample becomes larger, the value of the second quantity gets smaller. Similarly an r = +1 indicates a perfect positive correlation. Without exception, every larger value of one quantity is accompanied by a larger value of the second quantity. If r varies between -1 and + 1, what does r = 0 mean? It means that there is no correlation between the two quantities. They are completely independent of one another. If we tested the correlation between the number of songs per minute in Scarlet Tanagers and the number of bagel stands in the nearest city, we would probably calculate an r close to 0. In most cases, r will

not equal -1, 0, or +1; it will be somewhere in the middle. Say we analyzed the correlation between the rate at which Cattle Egrets walked through a pasture looking for grasshoppers and the height of the grass, and we found that t = -0.37. We might suspect that the higher the grass, the slower the birds walked, but was the negative correlation strong enough, close enough to -1, to rule out the possibility that - 0.37 was due to chance? We want to know whether r= -0.37 is statistically different from r = 0. As part of the Spearman analysis we can compare calculated r with r in a table of values expected solely due to chance, just as we did with X 2 values in Appendix 1.

Let's work through a Spearman Rank Correlation Test of some imaginary results from the fishing behavior of Great Blue Herons described in Chapter 7. Our hypothesis was that herons used average catch time to tell them what their giving-up time should be. We predicted that if our hypothesis were correct, then over a large range of habitats and seasons of the year, we should see a positive correlation between catch time and giving-up time. Now we can add that we predict r to be significantly greater than 0.

Let's assume that we do the study and determine the 15 pairs of average values shown in Table A2.1. You might want to construct a scattergram of these made up results, as describe in Chapter 7. The first step in the Spearman Analysis is to rank the values within each category from smallest to largest. Here, we assign ranks 1 through 15 to catch times, and do the same for giving-up times, as shown in the two left-hand columns of Table A2.2. Notice that some tied values occur in Table A2.1; there are two 30-second catch times and three 90--second giving-up times. In these cases, we assign the mean rank to each of the tied scores, and the next higher score in the list receives the rank normally assigned to it. Thus, to values 30, 45, 60, 60, 60, and 90 seconds, we would give the ranks, 1, 2, 4, 4, 4, and 6.

Table A2.1.

Some possible average catch times and giving-up times of Great Blue Herons fishing in 15 different habitats and/or on15 different ways.

Habitat and/or day

Average catch time (in seconds)

Category: Forex

Similar articles: