S2 - Chapters 1-5 Flashcards
Binomial Distribution Function
X ~ B(n, p)
n = number of successes
p = probability of success
Binomial Distribution Conditions
1) FIXED number of trials
2) INDEPENDENT trials
3) CONSTANT probability of success (in each trial)
4) TWO outcomes in each trail - “success” and “failure”
Binomial P(X=x) =
(n choose X) x P^X x (1-p)^n-X
Factorial Function n!
gives us the number of ways of arranging distinguishable objects
Choose Function
(n choose r) = n! / (r! (n-r)! )
Cumulative Distribution Function notation
F(x) = P(X
Cumulative Distribution Function meaning
the probability up to a particular value
Binomial Distribution Mean
E(X) = np
Binomial Distribution Variance
o^2 = np(1-p)
Binomial Distribution Description
The number of “successes” out of n trials, each with a probability of p of success
Poisson Distribution Description
a distribution over the number of events which occur within a period of time, give an average rate lambda
Poisson P(X=x) =
e^ - lambda x lambda^x / x!
Poisson Distribution Conditions
Events must occur:
1) SINGLY in time
2) INDEPENDENTLY of each other
3) at a CONSTANT AVERAGE RATE
Poisson Distribution Mean
E(X) = lambda
Poisson Distribution Variance
o^2 = lambda
Approximating a Binomial using a Poisson
If X ~ B(n,p) and:
- n is large
- p is small
The X can be approximated by X ~ Po(np)
Poisson Distribution Function
X ~ Po (lambda)
Types of discrete random variables
1) Binomial distribution
2) Poisson distribution
3) Discrete uniform distribution
Types of continuous random variables
normal distributions
Probability Density Function (p.d.f)
f(x)
If X is a continuous random variable with p.d.f. f(x) then:
- f(x) >- 0
- P(a
Cumulative Distribution Function
F(x) = P(X
F(x) to f(x)
f(x) = differentiate F(x)
f(x) Mean (if continuous)
E(x) = integrate f(x) times x