Python Programming for Biology: Bioinformatics and Beyond



Download 7,75 Mb.
Pdf ko'rish
bet327/514
Sana30.12.2021
Hajmi7,75 Mb.
#91066
1   ...   323   324   325   326   327   328   329   330   ...   514
Bog'liq
[Tim J. Stevens, Wayne Boucher] Python Programming

Geometric distribution

For  an  event  of  specified  probability,  the  geometric  distribution  is  the  probability

distribution for the number of independent trials that do not  result  in  the  event,  until  the

event is observed once. If we consider the event a ‘success’, then the distribution is over

the  number  of  ‘failures’.  A  good  example  of  this  is  the  distribution  of  DNA  fragment

lengths  after  being  cut  with  an  enzyme  like  HindIII.  Here  the  event  is  a  cut  site  and  the

distribution of the number of other DNA positions we observe before finding a cut site is

geometric. For the geometric distribution the probability of a number of independent non-

event trials (k) required to observe the event with stated probability (p) is given by:

Pr(k) = (1 − p)



k − 1

p

Here k takes integer values from one. A different formula arises if k starts at zero, i.e. Pr(k)

= (1−p)

k

p, which represents the number of trials required before the event occurs, i.e. not

including the event. As it happens, the scipy.stats.geom function uses the first form, which

includes  the  event.  The  geometric  distribution  is  related  to  a  more  general  distribution

called the negative binomial distribution that represents the probability distribution for the

number of trials that occur before an arbitrary number of events of stated probability occur

(rather than just one).





Download 7,75 Mb.

Do'stlaringiz bilan baham:
1   ...   323   324   325   326   327   328   329   330   ...   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