Probability Theory: Much Inspired by The Presentation of Kren and Samuelsson
Probability Theory: Much Inspired by The Presentation of Kren and Samuelsson
i
i i
x f x ) (
Weight a moment...
The mean is the first moment; the second moment is
the variance, which tells you how much the random
variable jiggles. It's the sum of the differences from
the mean (square those differences so they're
positive). The square root of this is the standard
deviation. (We don't divide by N here; that's inside
the f-function, remember?)
i
i i
x f x ) ( ) (
2
Particular probability
distributions:
Binomial
Gaussian, also known as normal
Poisson
Binomial distribution
If we run an experiment n times
(independently: simultaneous or not, we
don't care), and we care only about how
many times altogether a particular outcome
occurs -- that's a binomial distribution, with
2 parameters: the probability p of that
outcome on a single trial, and n the number
of trials.
If you toss a coin 4 times, what's the
probability that you'll get 3 heads?
If you draw a card 5 times (with
replacement), what's the probability that
you'll get exactly 1 ace?
If you generate words randomly, what's the
probability that you'll have two the's in the
first 10 words?
In general, the answer is
k n k k n k
q p
k k n
n
q p
k
n
=
|
.
|
\
|
! )! (
!
Normal or Gaussian distribution
Start off with something simple, like this:
2
x
e
t o
x
e