You are on page 1of 4

X Fertilizer Y Corn Yield Spearmans

0.3 10 n 8
0.6 15 rho 0.82636212072015
0.9 30 t-stat 3.5944326013873
1.2 35 p-value 0.01144276499994
1.5 25 p<0.01
1.8 30
2.1 50
2.4 45 Correlation is significant so X fertilizer and y corn yield are correlated w
orn yield are correlated with each other
X Fertilizer Y Corn Yield rank(X) rank(Y) diff
0.3 10 1 1 0
0.6 15 2 2 0
1.5 25 5 3 2
0.9 30 3 4.5 -1.5
1.8 30 6 4.5 1.5
1.2 35 4 6 -2
2.4 45 8 7 1
2.1 50 7 8 -1
14.5
diff^2
0
0
4
2.25
2.25
4
1
1
14.5 sum(d^2)
0.9601648351648 rs
0.8263621207201 pearson's of ranks

You might also like