Python Programming for Biology: Bioinformatics and Beyond



Download 7,75 Mb.
Pdf ko'rish
bet361/514
Sana30.12.2021
Hajmi7,75 Mb.
#91066
1   ...   357   358   359   360   361   362   363   364   ...   514
Bog'liq
[Tim J. Stevens, Wayne Boucher] Python Programming

Correlation coefficient

As the covariance calculation derives from products of the two variables, the magnitude of

the  measure  is  dependent  on  the  scaling  of  both  X  and  Y.  Correspondingly,  the  units  of

covariance will be the product of the X and Y units. We can remove the effect of scaling by

dividing the covariance by the standard deviations of the two random variables and thus

obtain a dimensionless value that lies between −1 and 1. A value of −1 will mean perfectly

anti-correlated,  that  the  quantities  change  together  but  in  opposite  directions;  a  value  of



zero  will  mean  completely  uncorrelated  and  1  means  fully  correlated.  This  is  what  is

called Pearson’s correlation coefficient and it gives us a handy measure of how well two

quantities  are  linearly  correlated,  irrespective  of  any  different  scales  or  units  they  may

have. We can write the equation for this as:

16

Although we have written this for the true standard deviations of the random variables



the calculation is the same for the sample correlation coefficient, except that the unbiased

sample standard deviation is used. If we apply this to various data sets, plotted as graphs

in

Figure 22.7



, we can see how the value of the correlation coefficient corresponds to the

degree of linear correlation.




Download 7,75 Mb.

Do'stlaringiz bilan baham:
1   ...   357   358   359   360   361   362   363   364   ...   514




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish