Title: Ch5. Probability Densities II
1Ch5. Probability Densities II
- Dr. Deshi Ye
- yedeshi_at_zju.edu.cn
25.4 Other Prob. Distribution
- Uniform distribution equally likely outcome
Mean of uniform
Variance of uniform
3Ex.
- Students believe that they will get the final
scores between 80 and 100. Suppose that the final
scores given by the instructors has a uniform
distribution. - What is the probability that one student get the
final score no less than 85?
4Solution
f(x)
0.05
x
80
100
85
- P(85 ? x ? 100) (Base)(Height)
- (100 - 85)(0.05) 0.75
55.6 The Log-Normal Distr.
It has a long right-hand tail
By letting ylnx
Hence
6Mean of Log-Normal
Proof.
7Gamma distribution
Mean and Variance
8The Exponential Distribution
- By letting in the Gamma distribution
Mean and Variance
95.8 The Beta Distribution
- When a random variables takes on values on the
interval 0,1
Mean and Variance
105.9 Weibull Distribution
Mean and Variance
115.10 Joint distribution
- Experiments are conduced where two or more random
variables are observed simultaneously in order to
determine not only their individual behavior but
also the degree of relationship between them.
12Two discrete random variables
The probability that X1 takes value x1 and X2
will take the value x2
EX.
13Marginal probability distributions
EX.
14Conditional Probability distribution
The conditional probability of X1 given that
X2x2
If two random variables are independent
15EX.
- With reference to the previous example, find the
conditional probability distribution of X1, given
that X21. Are X1 and X2 independent? - Solution.
Hence, it is dependent
16Continuous variables
- If are k continuous random
variables, we refer to as the
joint probability density of these random
variables
17EX.
Find the probability that the first random
variable between 1 and 2 and the second random
variable between 2 and 3
18Marginal density
Example of previous
19Distribution function
20Independent
If two random variables are independent iff the
following equation satisfies.
21Properties of Expectation
- Consider a function g(x) of a single random
variable X. For example g(x) 9x/5 32. - If X has probability density f(x), then the mean
or expectation of g(x) is given by
Or
22Properties of Expectation
If a and b are constants
Proof. Both in continuous and discrete case
23Covariance
- Covariance of X1 and X2 to measure
Theorem. When X1 and X2 are independent, their
covariance is 0
245.11 Checking Normal
- Question A data set appears to be generated by a
normal distributed random variable - Collect data from students last 4 numbers of
mobiles
25Simple approach
- Histogram can be checked for lack of symmetry
- A single long tail certainly contradict the
assumption of a normal distribution
26Normal scores plot
- Also called Q-Q plot, normal quantile plot,
- normal order plot, or rankit plot.
- Normal scores an idealized sample from the
standard normal distribution. It consists of the
values of z that divide the axes into equal
probability intervals. For example, n4.
27Steps to construct normal score plot
- 1) order the data from smallest to largest
-
- 2) Obtain the normal scores
- 3) Plot the i-th largest observation, versus i-th
normal score mi, for all i. - Plot
28Normal scores in Minitab
- In minitab, the normal scores are calculated in
different ways - The i-the normal score is
Where is the inverse cumulative
distribution function of the standard normal
29Property of Q-Q plot
- If the data set is assumed to be normal
distribution, then normal score plot will
resemble to a /line through the original.
305.12 Transform observation to near normality
- When the histogram or normal scores plot indicate
that the assumption of a normal distribution is
invalid, transformations of the data can often
improve the agreement with normality.
31Simulation
- Suppose we need to simulate values from the
normal distribution with a specified
The value x can be calculated from the value of a
standard normal variable z
- z can be obtained from the value for a uniform
variable u by numerically solving uF(z) - Box-Muller-Marsaglia method it starts with a
pair of independent variable u1 and u2, and
produces two standard normal variables
32Box-Muller-Marsaglia
It starts with a pair of independent variable u1
and u2, and produces two standard normal
variables
Then
33Simulation from exponential distribution
- Suppose we wish to simulate an observation from
the exponential distribution
The computer would first produce the value u from
the uniform distribution. Then
34 35Population and Sample
- Investigating a physical phenomenon, production
process, or manufactured unit, share some common
characteristics. - Relevant data must be collected.
- Unit the source of each measurement.
- A single entity, usually an object or person
- Population entire collection of units.
36Population and sample
Population
37Key terms
- Population
- All items of interest
- Sample
- Portion of population
- Parameter
- Summary Measure about Population
- Statistic
- Summary Measure about sample
38Examples
39Sample
- Statistical population the set of all
measurement corresponding to each unit in the
entire population of units about which
information is sought. - Sample A sample from a statistical population is
the subset of measurements that are actually
collected in the course of investigation.
40Sample
- Need to be representative of the population
- To be large enough to contain sufficient
information to answer the question about the
population
41Discussion
- P10, Review Exercises 1.2
- A radio-show host announced that she wanted to
know which singer was the favorite among college
students in your school. Listeners were asked to
call and name their favorite singer. Identify the
population, in terms of preferences, and the
sample. - Is the sample likely to be more representative?
- Comment. Also describe how to obtain a sample
that is likely to be more representative.