|
Schematically:
![]() |
|
The probability distribution function a continuous random variable is known as a probability density function.
|
Example: the probability mass/density function for Binomial(p, n) is:
p(k) = C(n, k) pk (1 - p)n-k n! = ---------- pk (1 - p)n-k k!(n-k)! |
Discrete p(x): Q(k) = Ҏ[ x ≤ k ] = &sum x ≤ k p(x) |
Property of every probability distribution function:
lim (x → ∞) Q(x) = 1 |
![]() |
|
Example: sorting algorithm
|
Example: post office (when the next cunstomer arrive is a probabilitic event)
1. Ҏ[ one customer arrives in the next time interval Δt ] = &lambda×t + o(Δt) ........ (1) 2. Ҏ[ no customer arrives in the next time interval Δt ] = 1 - &lambda×t + o(Δt) ........ (2) 3. Ҏ[ ≥ 2 customers arrive in the next time interval Δt ] = o(Δt) ........ (3) 4. The arrivals in non-overlapping time intervals are (probabilistically) independent |
Note:
|
p(k) = Ҏ( k arrivals in an interval T ) |
Graphically:
k arrival events | | | | V V V V |<--------------------->| T sec |
|
|
x is a random variable with a density function Ҏ[x] (Ҏ[x] is a short hand for Ҏ[x = x])of x is:
|
E[x] = ∑ (all values k) k Ҏ[k] (λT)k = ∑ (k = 0 .. ∞) k × ------ e-λT k! (λT)k = ∑ (k = 1 .. ∞) ------ e-λT (k-1)!
|
E[x] = λT |
The random variable x represents the number of arrivals in a time interval of duration T (See: click here )
|
In other words:
|
|
|
Ҏ[ y > t ] = Ҏ[ no arrivals in interval (0..t) ] (λt)0 = ----- e-λt 0! = e-λt |
d Q(t) p(t) = ------ ..... (from Probability theory) dt |
|
|
Ҏ[ no arrival occurs within next t sec | no arrival for u sec ] = Ҏ[ no arrival occurs within next t sec ] |
Proof:
Ҏ[ no arrival occurs within next t sec | no arrival for u sec ] = Ҏ[ no arrival occurs within next t sec and no arrival for u sec ] = ------------------------------------------------------------------ (def of cond probability) Ҏ[ no arrival for u sec ] |