For example if x 2 is observed then h1 is declared

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: half, and then flip the selected coin n times. Let X be the number of times heads shows. Compute the pmf, mean, and standard deviation of X. Solution: Let A be the event that the first coin is selected. By the law of total probability, pX (k ) = P {X = k } = P ({X = k }A) + P ({X = k }Ac ) = P (X = k |A)P (A) + P (X = k |Ac )P (Ac ) 1 n k n−k 1 n k n−k = pq + qp . 2k 2k 52 CHAPTER 2. DISCRETE-TYPE RANDOM VARIABLES The two conditional pmfs and the unconditional pmf of X are shown in Figure 2.10 for n = 24 and p = 1/3. Figure 2.10: The pmfs of X for n = 24 and p = 1/3. Top left: conditional pmf of X given the first coin is selected. Top right: conditional pmf of X given the second coin is selected. Bottom: The unconditional pmf of X. The two plots in the top of the figure are the binomial pmf for n = 24 and parameter p = 1/3 and the binomial pmf for n = 24 and the parameter p = 2/3. The bottom plot in the figure shows the resulting pmf of X . The mean of X can be calculated using the l...
View Full Document

This note was uploaded on 02/09/2014 for the course ISYE 2027 taught by Professor Zahrn during the Spring '08 term at Georgia Tech.

Ask a homework question - tutors are online