
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Expected Value and Variance: definitions, linearity, standard deviation, Law of the Unconscious Statistician (LOTUS). • Important Discrete Distributions: ...
Typology: Summaries
1 / 40
This page cannot be seen from the preview
Don't miss anything!

































The midterm will be in class on Wednesday, October 12. There is no alternate time for the exam, so please be there and arrive on time! Cell phones must be o↵, so it is a good idea to bring a watch. No books, notes, or calculators are allowed, except that you may bring two sheets of standard-sized paper (8.5” x 11”) with whatever you want written on it (two-sided): notes, theorems, formulas, information about the important distributions, etc.
There will be 4 problems, weighted equally. Many of the parts can be done quickly if you have a good understanding of the ideas covered in class (e.g., seeing if you can use Bayes’ Rule or understand what independence means), and for many you can just write down an answer without needing to simplify. None will require long or messy calculations. They are not arranged in order of increasing di culty. Since it is a short exam, make sure not to spend too long on any one problem.
Suggestions for studying: review all the homeworks and read the solutions, study your lecture notes (and possibly relevant sections from either book), the strategic practice problems, and this handout. Solving practice problems (which means trying hard to work out the details yourself, not just trying for a minute and then looking at the solution!) is extremely important.
4 Some Useful Formulas
(A 1 [ A 2 · · · [ A (^) n ) c^ = A c 1 \ Ac 2 · · · \ Acn (A 1 \ A 2 · · · \ A (^) n ) c^ = A c 1 [ Ac 2 · · · [ Acn
P (Ac^ ) = 1 P (A)
P (A 1 [ A 2 [ · · · [ An ) =
X^ n
i=
P (Ai ), if the Ai are disjoint
P (A 1 [ A 2 [ · · · [ An )
X^ n
i=
P (Ai )
P (A 1 [A 2 [· · ·[An ) =
X^ n
k=
( 1) k+^
i 1 <i 2 <···<i (^) k
P (Ai 1 \ Ai 2 \ · · · \ A (^) i (^) k )
(Inclusion-Exclusion)
P (A 1 \ A 2 \ · · · \ An ) = P (A 1 )P (A 2 |A 1 )P (A 3 |A 1 , A 2 ) · · · P (An |A 1 ,... , A (^) n 1 )
If E 1 , E 2 ,... , E (^) n are a partition of the sample space S (i.e., they are disjoint and their union is all of S) and P (E (^) j ) 6 = 0 for all j, then
X^ n
j=
P (B|E (^) j )P (E (^) j )
Often the denominator P (B) is then expanded by the Law of Total Probability.
Expected value is linear: for any random variables X and Y and constant c,
E(X + Y ) = E(X) + E(Y ) E(cX) = cE(X)
It is not true in general that Var(X + Y ) = Var(X) + Var(Y ). For example, let X be Bernoulli(1/2) and Y = 1 X (note that Y is also Bernoulli(1/2)). Then Var(X) + Var(Y ) = 1/4 + 1/4 = 1/2, but Var(X + Y ) = Var(1) = 0 since X + Y is always equal to the constant 1. (We will see later exactly when the variance of the sum is the sum of the variances.)
Constants come out from variance as the constant squared:
Var(cX) = c 2 Var(X)
The variance of X is defined as E(X EX) 2 , but often it is easier to compute using the following: Var(X) = E(X 2 ) (EX) 2
Let X be a discrete random variable and h be a real-valued function. Then Y = h(X) is a random variable. To compute E(Y ) using the definition of expected value, we would need to first find the PMF of Y , and then use E(Y ) =
y yP^ (Y^ =^ y). The Law of the Unconscious Statistician says we can use the PMF of X directly:
E(h(X)) =
x
h(x)P (X = x),
where the sum is over all possible values of X. Similarly, for X a continuous r.v. with PDF f (^) X , we can find the expected value of Y = h(X) using the PDF of X, without having to find the PDF of Y :
E(h(X)) =