Difference between revisions of "Calculate Spearman's Rank Correlation Coefficient"

Kipkis (Kipkis | contribs)
(importing article from wikihow)
 
Kipkis (Kipkis | contribs)
m (Text replacement - "[[Category:P" to "[[Category: P")
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{fa}}Spearman's rank correlation coefficient allows you to identify whether two variables relate in a monotonic function (i.e., that when one number increases, so does the other, or vice versa). To calculate Spearman's rank correlation coefficient, you'll need to rank and compare data sets to find Σd<sup>2</sup>, then plug that value into the standard or simplified version of Spearman's rank correlation coefficient formula. You can also calculate this coefficient using Excel formulas or R commands.
+
Spearman's rank correlation coefficient allows you to identify whether two variables relate in a monotonic function (i.e., that when one number increases, so does the other, or vice versa). To calculate Spearman's rank correlation coefficient, you'll need to rank and compare data sets to find Σd<sup>2</sup>, then plug that value into the standard or simplified version of Spearman's rank correlation coefficient formula. You can also calculate this coefficient using Excel formulas or R commands.
[[Category:Probability and Statistics]]
+
[[Category: Probability and Statistics]]
 
== Steps ==
 
== Steps ==
 
=== Calculation Help ===
 
=== Calculation Help ===
 
[[Doc:Spearman's Rank Correlation Coefficient]]
 
[[Doc:Spearman's Rank Correlation Coefficient]]
 
===By Hand ===
 
===By Hand ===
#  Draw your data table. This will organize the information you need to calculate Spearman's Rank Correlation Coefficient. You will need:<br><br>
+
#  Draw your data table. This will organize the information you need to calculate Spearman's Rank Correlation Coefficient. You will need:
 
#* 6 Columns, with headers as shown below.
 
#* 6 Columns, with headers as shown below.
 
#* As many rows as you have pairs of data.
 
#* As many rows as you have pairs of data.
Line 16: Line 16:
 
#  '''Add up all the data in the "d<sup>2</sup>" column. This value is Σd<sup>2</sup>.<br>
 
#  '''Add up all the data in the "d<sup>2</sup>" column. This value is Σd<sup>2</sup>.<br>
 
#  Choose one of these formulae:
 
#  Choose one of these formulae:
#* If there was no tie in previous steps, insert this value into the simplified Spearman's Rank Correlation Coefficient formula<br><br>and replace the "n" with the number of pairs of data you have to calculate the answer.<br>
+
#* If there was no tie in previous steps, insert this value into the simplified Spearman's Rank Correlation Coefficient formulaand replace the "n" with the number of pairs of data you have to calculate the answer.<br>
 
#* If there were ties in any of previous steps, use the standard Spearman's Rank Correlation Coefficient formula instead:<br>
 
#* If there were ties in any of previous steps, use the standard Spearman's Rank Correlation Coefficient formula instead:<br>
 
#  Interpret your result. It can vary between -1 and 1.
 
#  Interpret your result. It can vary between -1 and 1.