Lecture 8
« previous | Thursday, February 10, 2011 | next »
World series: 2 teams
Ends when winning team wins 4 games
Evenly matched (λ = .5)
Continuous Random Variables
Probability density function (PDF)
Distribution (PDF) is the smooth curve that fits over a histogram.
Comparable to PMF for discrete random variables:
- Area under PDF histogram should equal 1
- PDF is always positive (≥ 0)
Uniform distribution
Simplest PDF as a straight horizontal line:
Area under line should be 1.
Cumulative distribution function (CDF)
"Sum" (integral) of all PDFs for random variable X, except continuous (no jumps between probabilities):
PDF is derivative of CDF:
Example
Suppose a random variable has PDF
What is ?
Lecture 9
Tuesday, February 15, 2011
Expected Value
Expected value of Continuous Random Variable is:
Variance
Variance of a Continuous random variable is:
Also equivalent to:
Note: when plugging into Expected Value function, do not put it into the PDF function
Example
Percentiles
- Medain: What is such that ?
- Q1 (25th percentile): What is such that ?
- Q3 (75th percentile): What is such that ?
- in general: (th percentile): What is such that ?
Normal Distribution
For normal distributions,
- μ will be used for mean and median on symmetric unimodal curve
- σ2 will be used for variance
"Gaussian Distribution"
Written:
Special Case: Normal distribution with μ = 0 and σ = 1 is called Standard Normal distribution:
Curve of this function is called a Z-curve
CDF of standard normal random variable Z is
Lecture 10
Thursday, February 17, 2011
Topic: How to you get when ?
Probabilities using the Z-Curve
Given:
We can find:
- (symmetric around 0)
Generalization: for any ,
Percentile of Standard Normal Distribution
implies 2.33 is 99th percentile.
Therefore, -2.33 is 1st percentile.
α Notation
From now on, let represent a number such that is the area under the Z-curve to the right of .
- In other words, is the ((1 − α) × 100)th percentile.
From previous example,
Standardization
Caclculating Standard Normal Distribution from Standard Distribution:
- if is normal rv and , is also normal rv.
- and . Therefore
Example 1
Example 2
5th Percentile = ?
- Find 95th percentile of Z: what satisfies ? (suppose 1.96)
- Find 5th percentile of Z: -1.96
- Plug in 5th percentile of Z into formula for X
Empirical Rule
- Roughly 68% of values are within 1 standard deviation (σ) of the mean (μ)
- Roughly 95% of values are within 2 standard deviations (2σ) of the mean (μ)
- (1) states that
- This implies that the tails on either side are
- Therefore
Gamma Distribution
- How long do you expect to wait to have α many events happening, if the events are happening with a Poisson distribution with a rate of
- given , PDF is:
Expected Value
Variance
Bonus Continuous Distributions
- Lognormal Distribution
- If is a normal distribution.
Summary of Distributions
We've learned:
- Bernoulli (0,1)
- Binomial (X ~ Bin(n, k))
- Poisson
- Uniform
- Normal
- Lognormal
Most situations in nature can be approximated using one of these distributions
Exercises
If a bolt of thread length is normally distributed, what is the probability that the length of a randomly selected bolt is:
- within 1.5 standard deviations of its mean value?
- farther than 2.5 standard deviations of its mean value?