midterm 1 Flashcards
how do determine if two events are independent
if P(A|B) = P(A)
calculate sd of 12, 15, 9, 18
- find the mean (12 + 15 + 9 + 18)/4 = 13.5
- find each values deviation from mean and square it
(12 - 13.5) ^2 + (15 - 13.5)^2 ….. - for a sample, divide by n - 1
find the 65th percentile of 900, 1000, 1300, 1700
- use formula (4(n) + 1)(.65) = 3.25
- third largest 1300 + (1700-1300) * .25
permutation
use when order matters n!/(n-k)!
combination
use when order does not matter n!/k!(n-k)!
P(A U (or)B)
means probability that at least one event occurs A or B P(A) + P(B) - P(AnB)
P(AnB)
means probability that both events occur
if independent P(A) x P(B)
if dependent P(A and B) = P(A|B)P(B)
bayes law P(A|B)
predicting posterior probability
(P(B|A) * P(A) ) / P(B)
nominal
categorizes data without inherent order - eye color / blood type
ordinal
ordered categories - income level (low/middle/high)
interval
numerical data
chebysheffs theoreom
how much of the data lies withing k standard deviations
1 - 1/k^2
covariance formula
E(XY) - E(X)E(Y)
expected value with n and p
n * p
variance using n and p
n * p(1-p)
relationship between standard deviation and variance
sd is the sq root of variance
covariance[X,Y]
E[XY] - E[X]E[Y]
Variance
σ = sqrt(σ2)
E(c) =
c - expected value of a constant is a constant
E(X + c)
E(X) + c
E(cX)
cE(X)
V(c) =
0
V(X + c)
V(X)
V(cX)
c^2V(X)