Next: Pseudo Random Number Generator
Up: Basic Probability Theory for
Previous: Higher moments and Variance
Subsections
- Examples:
- Throw a die until you get ``2'', how many times do you have to
throw the die?
- There is a probability (p=0.1) that a population goes
extinct (by flood) every year. What is the expected time until
extinction of a population?
- Different from Binomial R.V. which is the number of successes in
a fixed number of n trials.
- Probability of success: p
R.V. X = number of trials to get the first success.
Pr[k-1 unsuccessful tries] x Pr[success]
- Examples
- number of a defective product from a factory per year
- number of typo's per page
- number of death due to moose stomping per year
- number of mutations per genome in one generation
- counts of rare events
- Poisson distribution can be used to approximate a binomial dstribution when number of trials (n) is large and p is small
- Probability mass function
- A fire station receives 730 alarms per year. What is the
probability that on a given day, there will be no alarms? How about 4
alarms on a given day?
- A wolf pack goes hunting for a carribou. If the probability of
catching a carribou is 0.2 per day, how many days on average
does it take for them to get a caribou?
- Let's say that a tadpole requires to catch 10 shrimps before
it metamorphs. If they catch 1 shrimp every other day on average,
how many days does it take for a tadpole to metamorph?
- In a population with meiotic drive (probability of a female
offspring is p), what is the probability that you'll see no male
in 5 offsprings?
- If there are
basepairs in the human genome and
the mutation rate per generation per basepair is
, what
is the mean number of new mutations per genome that a child will
have?
In a discrete random variable, you can calculate the probability of
X is at a particular value (e.g, X=3, X=0 etc)
because there are discrete set of outcomes.
In a continous random variable, there are infinite number of
points, so the probability that something happens at a particular
point (e.g. Prob[X = 1.4142]) is nearly zero. But you can
calculate the probability that something happens within an interval.
Probability of an event happening within an interval between a
and b:
f(x) is called probability density function, and it's shape
characterize the distribution of random variable.
- Continuous version of geometric distribution.
Time between events that happen at a constant average rate.
Time for a continuous process to change the state.
- Examples:
- The time until a light bulb burns out
- The time until your next car accident.
- Distance between roadkill
- probability density function
- Cumulative distribution function: Probability that a
R.V. X is less than a value x
- Side note: Negative binominal distribution was a simple
extension of geometric distribution. gamma distribution is a
continuous version of negative binominal distribution.
- Familiar distribution
Measurement error
A lot of small effects acting additively to determint the value
e.g., blood pressure
- Probability density function
Next: Pseudo Random Number Generator
Up: Basic Probability Theory for
Previous: Higher moments and Variance
Naoki Takebayashi
2008-03-27