STT 861 Theory of Prob and STT I Lecture Note - 9
2017-11-01
Review of the important concepts of previous section; moment generation function; Gamma distribution, chi-square distribution.
Portal to all the other notes
- Lecture 01 - 2017.09.06
- Lecture 02 - 2017.09.13
- Lecture 03 - 2017.09.20
- Lecture 04 - 2017.09.27
- Lecture 05 - 2017.10.04
- Lecture 06 - 2017.10.11
- Lecture 07 - 2017.10.18
- Lecture 08 - 2017.10.25
- Lecture 09 - 2017.11.01 -> This post
- Lecture 10 - 2017.11.08
- Lecture 11 - 2017.11.15
- Lecture 12 - 2017.11.20
- Lecture 13 - 2017.11.29
- Lecture 14 - 2017.12.06
Lecture 09 - Nov 01 2017
Quick Review Session (For the mid-term exam)
Bayes’ theorem
Suppose we have data: an even that happened.
Possible outcomes: .
Model for each : given. This is the “prior” model.
Model for each relation between and : . This is the “likelihood” model.
Theorem:
Quick Example (The Chevalier de Méré example in Note 3).
(one six in 4 rolls of a die) = 1 - (no six in 4 rolls of a die) =
(one double-six in 24 rolls of 2 dice) =
Discrete and continuous variables
Discrete r.v.’s: . .
Continuous Case: . .
Linearity
- .
- If ’s are independent, then .
Chebyshev and Weak law of large numbers
is a r.v. exists. Then
This is true no matter how small is.
Apply this to , where ’s are i.i.d. and .
Note , .
By Chebyshev:
As , this probability .
Special discrete distributions
-
Bernoulli: , , .
-
Binomial: , , .
-
Geometric: , , .
-
HyperGeometric: pass.
-
Multinomial: pass.
-
Negative binomial: , each of them is i.i.d Geometric. , .
-
Poisson: , , . # of arrivals in a fixed interval of time, where is the average frequency of arrival.
-
Property: let , , and are independent. then .
-
Property 2: Assume arrivals fall in one of different categories. It turns out that if the total # of arrivals and the category of each arrival is independent of and (arrivals is category ).Then with # arrivals of category is .
-
More: relation between Poisson and Exponential.
-
Let , the density is for .
Let be i.i.d . Let be the # of arrivals in time interval . Assume Poisson process. Then is a model for the amount of time between th and the th arrivals.
[Use step functions to illustrate.]
Theorem: if is Poisson() process, and ’s are its jump times (arrival times) and , then (i.i.d).
What about the distribution of ? .
Here recall is a rate parameter, so is a scale parameter.
The density of is
where .
Moment generation function
Method for doing problem 2.2.5.
Let have the binomial distribution with parameters and . Conditionally on , let have the binomial distribution with parameters and . What is the marginal distribution of ?
There are lots of way to solve this problem, here we use moment generate functions (mgf).
Definition: Let be a r.v. Let
where is fixed. is the moment generation function of .
It turns out, the function usually characterizes the distribution of .
Example: let . we know (i.i.d Bernoulli()).
Now,
and
Therefore,
Now look at Problem 2.2.5.
Therefore
where are i.i.d Bernoulli.
Hunch: is . To prove it: compute
This is the defeinition of .
Therefore we recognize that .
Gamma Distribution
Go back to Gamma distribution.
Example
let (standard normal). the . Find the density of .
Use chain rule to compute .
We recognize this is the density of .
Chi-square distribution and degree of freedom
This Gamma and every Gamma for which , where is an integer, is called (“Chi-squared” with degrees of freedom).
We see . where .
Q: What about ?
A: , which is exponential distribution with parameter .
Q: Now to create using only i.i.d normals .
Try this: .
When we need to multiply a scale parameter by a constant , we multiply the random variable by .
Equivalently, when we need to multiply a rate parameter by , just divide the random variable by .