






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







1.1 A random variable and its realization x is a random variable that takes different possible values.
Example: x is the concentration of particulate matter concentration in Chapel Hill on July 6, 1988.
collecting particulate matter dust in a filter and sending the filter to a lab for analysis.
1.2 The cdf of a random variable
Then the cumulative density function (cdf) of a random variable x is defined as
Important properties: Fx(- ∞ )=0 why? Fx( ∞ )=1 why?
Proof: b > a P[x<b]= P[x<a]+ P[a≤x<b] ≥ P[x<a] Fx(b) ≥ Fx(a)
1.4 The expected value of a random variable The expected value of g(x) is E[g(x)] = d^ ^ g (^ ) fx (^ ) Examples The mean is the expected value of x mx = E [ x ]= d ^ fx (^ ) The variance is the expected value of ( x - mx ) 2 varx = E [( x - mx ) 2 ]= (^) (^ ^ ) ( ) ^2 d mx fx The expected value of ( x - mx ) 4 is E [( x - mx ) 4 ]= (^) (^ ^ ) ( ) ^4 d mx fx
1.5 Exercises Let (^) ^ ^ 0 otherwise(o/w) f ( ) k^ if [a,b] x ^
(^ )^1 d^ ^^ fx^ ^ …^ ^ k=1/(b-a)
E [ x ]= d ^^ fx (^ )= …^ =^ (a+b)/
2.4 The marginal and conditional pdf The marginal pdf of fxx’( ’) with respect to is fx( )= (^)
d fxx '(, ')
( ') ( , ' ) ' , ' x x x f f =
' , ' x x x x
2.5 The expected value E[g(x,x’)]= d^ ^ d^ ' g (^ ,^ ') fx (^ ,^ ') Examples: The expected value of x is mx = E [ x ]= (^) d^ ^ d '^ fxx '(,^ ') The expected value of x’ is mx’ = E [ x’ ]= (^) d d ' ' fxx '(, ') The variance of x is E [( x - mx ) 2 ]= (^) '^ ( ^ ) '( , ') 2 d d mx fxx The variance of x’ is E [( x’ - mx’ ) 2 ]= (^) d d ' ( ' mx ' )^2 fxx '(, ') The covariance between x and x’ is E [( x - mx )( x’ - mx’ )]= (^) d d '( mx )( ' mx ') fxx '(, ')
(^) (^) ^ 0 otherwise (^1) if a b ( ) 1 ( ) ( , )^2 b a x x y b a b a d f d f
(^) (^) ^ 0 otherwise (^1) if a b ( ) 1 ( ) ( , )^2 b fy d fx y ^ a^ d^ b a b a^
(^) 0 otherwise (^1) if a b and a b ( ) ( , ) | (^ |^ ) , b a f f f y y x y x y
Exercises on Conditional probability using discrete variables Let a be a random variable taking values a 1 , a 2 , …, an. Let b be a random variable taking values b 1 , b 2 , …, bm. Let P[ ai ] represent the probability that a = ai. Let P[ bj ] represent the probability that b = bj. Let P[ ai , bj ] represent the probabilities that a = ai AND b = bj Then the probability P[ ai | bj ] that a = ai GIVEN that b = bj is P[ ai | bj ] = P[ ai , bj ] / P[ bj ] Example 1: Consider the case where a takes values a 1 or a 2 , and b takes values b 1 or b 2. In an experiment we record over 1000 trials the values for a and b, and we obtain the following distribution b 1 b 2 a 1 100 400 a 2 100 400 Number of trials = P[ a 1 ]= P[ a 2 ]= P[ b 1 ]= P[ b 2 ]= P[ a 1 , b 1 ]= P[ a 1 , b 2 ]= P[ a 1 | b 1 ]= P[ a 1 | b 2 ]=