Uploaded by luneyang2001

Chap1

advertisement
Chap 1 Continuous random variables
1.1 Piecewise definition of a probability density function
Use probability density function(PDF) to find probabilities
!
๐‘ƒ(๐‘Ž ≤ ๐‘ฅ ≤ ๐‘) = ) ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ
"
To find the mean, variance, median, percentile, mode from a given PDF
#$
)
๐‘“(๐‘ฅ)๐‘‘๐‘ฅ = 1
%$
The expectation and variance of a function of X
For a discrete random variable, X, in which the value xi occurs with probability pi, the
expectation and variance of a function g(X) are given by
๐ธ.๐‘”(๐‘‹)1 = 2 ๐‘”(๐‘ฅ& )๐‘&
๐‘‰๐‘Ž๐‘Ÿ.๐‘”(๐‘‹)1 = 2{(๐‘”(๐‘ฅ& ))' ๐‘& } − {๐ธ(๐‘”(๐‘‹))}'
The equivalent results for a continuous random variable, X, with PDF f(x) are:
๐ธ.๐‘”(๐‘‹)1 =
) ๐‘”(๐‘ฅ)๐‘“(๐‘ฅ)๐‘‘๐‘ฅ
())
*")+,./ 1
๐‘‰๐‘Ž๐‘Ÿ.๐‘”(๐‘‹)1 =
) (๐‘”(๐‘ฅ))' ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ − {๐ธ.๐‘”(๐‘‹)1}'
())
*")+,./ 1
Can think of the function g(X) as a new variable.
1.3 The cumulative distribution function
The function giving ๐‘ƒ(๐‘‹ ≤ ๐‘ฅ) is called the cumulative distribution function (CDF), and it
is usually denoted by F(x). The best method of obtaining the cumulative distribution function
is to use indefinite integration.
Change PDF to CDF
1
๐น(๐‘ฅ) = ๐‘ƒ(๐‘‹ ≤ ๐‘ฅ) = ) ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ
%$
Change CDF to PDF:
๐‘“(๐‘ฅ) =
๐‘‘
๐น(๐‘ฅ)
๐‘‘๐‘ฅ
To find the median:
๐น(๐‘š) = 0.5, ๐‘ ๐‘œ ๐‘กโ„Ž๐‘Ž๐‘ก, ๐‘š = ?
Notes: pay attention to the range of the variables.
Example:
The continuous random variable X has PDF f(x) given by
๐‘“(๐‘ฅ) = E
0.2,
0,
๐‘“๐‘œ๐‘Ÿ 3 ≤ ๐‘ฅ ≤ 8
๐‘œ๐‘กโ„Ž๐‘’๐‘Ÿ๐‘ค๐‘–๐‘ ๐‘’
The continuous random variable Y is given by ๐‘Œ = 5๐‘‹ ' .
(i) Find H(y) where H(y) is the cumulative distribution function of Y.
(ii) Find h(y).
(iii) Find P(Y<100).
(iv) State the median value of X.
(v) Use H(y) to find the median value of Y, showing your working.
(vi) Show that you can use the equation Y = 5X 2 to find the median value of Y from that of
X.
(vii) Write down the value of E(X) and find E(Y ). Can you use the equation ๐‘Œ = 5๐‘‹ ' to
find the mean value of Y from that of X?
Key points:
#$
1. ∫%$ ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ = 1
2. ๐‘“(๐‘ฅ) ≥ 0,
๐‘“๐‘œ๐‘Ÿ ๐‘Ž๐‘™๐‘™ ๐‘ฅ
2
3. ๐‘ƒ(๐‘ ≤ ๐‘ฅ ≤ ๐‘‘) = ∫3 ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ
4. E(๐‘ฅ) = ∫ ๐‘ฅ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ
5. Var(๐‘ฅ) = ∫ ๐‘ฅ ' ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ − [๐ธ(๐‘‹)]'
4
4
6. the median m of X is the value for which: ∫%$ ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ and ∫%$ ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ = 0.5
7. the mode of X is the value for which f(x) has its greatest magnitude
8. A probability density function may be defined piecewise.
9. If g[X] is a function of X then the expectation and variance of X are:
๐ธ.๐‘”(๐‘‹)1 = ) ๐‘“(๐‘ฅ)๐‘”(๐‘ฅ)๐‘‘๐‘ฅ
๐‘‰๐‘Ž๐‘Ÿ.๐‘”(๐‘‹)1 = )(๐‘”(๐‘ฅ))' ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ − (๐ธ.๐‘”(๐‘‹)1)'
10. If f(x) is the probability density function of X then the cumulative distribution function
(CDF) of X is F(x) where:
1
(i) ๐น(๐‘ฅ) = ∫" ๐‘“(๐‘ข)๐‘‘๐‘ข where the constant a is the lower limit of X
2
(ii) ๐‘“(๐‘ฅ) = 21 ๐น(๐‘ฅ)
(iii) for the median, m, F(m)=0.5
11. Given that f(x) is the probability density function of X, you can find that of a related
variable.
To do this you need first to find the cumulative distribution function of X and use this to find
that of Y. You can then differentiate the cumulative distribution function of Y to find f(y), the
probability density function of Y.
Download