Probability and Statistics For Data Science
Probability and Statistics For Data Science
Data Science
Dr. Faisal Bukhari
Punjab University College of Information Technology
(PUCIT)
Textbooks
http://www.statisticshowto.com/geometric-
distribution/
https://peakmemory.me/category/forgetting-
curve/
(a)P(X ≤ 3) = σx=3
x=0 p(x; 5)
= 0.2650
Example
A search engine goes through a list of sites looking
for a given key phrase. Suppose the search
terminates as soon as the key phrase is found. The
number of sites visited is Geometric.
Alternative form
g(x; p) = p 𝐪𝐱 , 𝐱 = 0, 1, 2, 3, · ·
g(x; p) = p 𝐪𝐱−𝟏 , 𝐱 = 1, 2, 3, · · ·
g(5;0.01) = (0.01)(0.99)5−1
= 0.0096
g(x; p) = p qx−1 , x = 1, 2, 3, · · ·
= (0.05) (0.95)5−1
= 0.041.
𝟏
P(x; k) = , 𝐱𝟏 , 𝐱 𝟐 , 𝐱𝟑 , …, 𝐱𝐤
𝐤
𝟏
P(x; k) = , 𝐱 = 𝟒𝟎, 𝟔𝟎, 𝟕𝟓, 𝟏𝟎𝟎
𝟒