Probability in Data Science
Probability in Data Science
If two random variables move in the same direction, then the covariance will be positive, if they move in the opposite dire
The covariance tells the sign but not the magnitude about how strongly the variables are positively or negatively related.
correlation coefficient provides such measure of how strongly the variables are related to each other.
covariance
correlation coeffiencent
ion equation
nt or from an infinite population without replacement.
replacement.
if Z table is one sided ie starting form 0 instead of -infinite then we need to
add 0.5 to value in the table
Import scipy 19 T
import numpy as np 25
possion
to get zvalue give the area
sf
binom(k,n,p)=(19,25,0.65)
k<=2,20,0.06
p(x<=2) cummuilative binom
cdf(k,n,p)
lambda =3.2
X=5
survival function