LEGACY CONTENT. If you are looking for Voteview.com, PLEASE CLICK HERE

This site is an archived version of Voteview.com archived from University of Georgia on May 23, 2017. This point-in-time capture includes all files publicly linked on Voteview.com at that time. We provide access to this content as a service to ensure that past users of Voteview.com have access to historical files. This content will remain online until at least January 1st, 2018. UCLA provides no warranty or guarantee of access to these files.

45-733 PROBABILITY AND STATISTICS I Midterm Examination Answers



Probability and Statistics                      Name__________________________
Spring 2000 Flex-Mode and Flex-Time 45-733
Midterm
Keith Poole

(10 Points)

1. Suppose we have the bivariate discrete probability distribution

                           æ c(4y - 2x)  x = 0, 1, 2
                  f(x,y) = ç             y = 1, 2
                           è      0 otherwise
  1. Find c.

    
                                  y
                               1    2
                             ----------
                           0 | 4    8 | 12 
                             |        |
                        x  1 | 2    6 |  8 
                             |        |
                           2 | 0    4 |  4 
                             |        |
                             ----------
                               6   18 | 24 
    
    Therefore, c = 1/24

  2. Find f1(x) and f2(y)

    
                               æ 12/24  x = 0
                               ç 
                               ç  8/24  x = 1      
                       f1(x) = ç  
                               ç  4/24  x = 2
                               ç  
                               è   0 otherwise
    
                               æ  6/24  y = 1
                               ç 
                       f2(y) = ç 18/24  y = 2
                               ç 
                               è   0 otherwise
    


  3. Are X, Y independent?

    NO. Clearly f(x,y) ¹ f1(x)f2(y)


Probability and Statistics                      Name__________________________
Spring 2000 Flex-Mode and Flex-Time 45-733
Midterm
Keith Poole

(10 Points)

2. You draw 5 cards randomly without replacement from a deck of 52 playing cards. What is the probability that there are 2 cards from one suit and 1 card each from three suits (e.g., ©© § ¨ ª )?


                         æ4öæ13öæ13öæ13öæ13ö
                         ç ÷ç  ÷ç  ÷ç  ÷ç  ÷
                         è1øè 2øè 1øè 1øè 1ø
                 P(E) = -------------------
                               æ52ö
                               ç  ÷
                               è 5ø



Probability and Statistics                      Name__________________________
Spring 2000 Flex-Mode and Flex-Time 45-733
Midterm
Keith Poole

(10 Points)

3. Suppose we have the continuous probability distribution:

                           æ c/x4  1 < x < 2
                    f(x) = ç            
                           è   0 otherwise
  1. Find c.

    cò12 1/x4dx = c[-1/(3x3)]|12 = c(7/24)
    Hence, c = 24/7

  2. Find VAR(X).
    E(x) = 24/7ò12 x/x4dx = 24/7ò12 1/x3dx = (24/7)[-1/(2x2)]|12 = (9/7)
    E(x2) = 24/7ò12 x2/x4dx = 24/7ò12 1/x2dx = (24/7)[-1/x]|12 = (12/7)
    VAR(X) = 12/7 - (9/7)2 = 3/49




Probability and Statistics                      Name__________________________
Spring 2000 Flex-Mode and Flex-Time 45-733
Midterm
Keith Poole

(10 Points)

4. Suppose we have the bivariate continuous probability function

                           æ c(2x2 - y)  0 < x < 1
                  f(x,y) = ç            -1 < y < 0
                           è 0 otherwise
  1. Find c.

    cò-10 ò01 (2x2 - y)dxdy = cò-10 {[2x3/3 - xy]|01}dy = cò-10 (2/3 - y)dy = c[(2/3)y - y2/2]|-10 = c(7/6)
    Hence, c = 6/7

  2. Find E(X) and E(Y)
    E(x) = 6/7ò01 ò-10 x(2x2 - y)dydx = 6/7ò01 [(2x3y - xy2/2)|-10]dx = 6/7ò01 (2x3 + x/2)dx = (6/7)[2x4/4 + x2/4]|01 = (6/7)(3/4) = 9/14
    E(y) = 6/7ò01 ò-10 y(2x2 - y)dydx = 6/7ò01 [(2x2y2/2 - y3/3)|-10]dx = -6/7ò01 (x2 + 1/3)dx = -(6/7)[x3/3 + x/3]|01 = -(6/7)(2/3) = -4/7




Probability and Statistics                      Name__________________________
Spring 2000 Flex-Mode and Flex-Time 45-733
Midterm
Keith Poole

(10 Points)

5. Suppose we have two urns. In the first urn there are 12 Red and 18 Black balls. In the second urn there are 15 Red and 15 Black balls. One ball is drawn randomly without replacement from each urn. Let Y equal the number of red balls drawn from the two urns.
  1. What is the probability distribution of Y.

    
    
                               æ (18/30)(15/30) =                   9/30  y = 0
                               ç 
                               ç (12/30)(15/30) + (18/30)(15/30) = 15/30  y = 1 
                        f(y) = ç
                               ç (12/30)(15/30) =                   6/30  y = 2
                               ç 
                               è   0 otherwise
    


  2. What is VAR(Y).

    E(X) = åi=1,3 xif(xi) = 0*(9/30) + 1*(15/30) + 2*(6/30) = 27/30
    E(X2) = åi=1,3 xi2f(xi) = 0*(9/30) + 1*(15/30) + 4*(6/30) = 39/30
    VAR(Y) = 39/30 - (27/30)2


Probability and Statistics                      Name__________________________
Spring 2000 Flex-Mode and Flex-Time 45-733
Midterm
Keith Poole

(10 Points)

6. Suppose we have a discrete bivariate probability distribution

                           æ c(2x + y2)  x = 1, 2, 3
                  f(x,y) = ç             y = 1, 2, 3
                           è      0 otherwise
  1. Find c.

    
                                   y
                               1   2   3
                             ------------
                           1 | 3   6  11 |20 
                             |           |
                        x  2 | 5   8  13 |26 
                             |           |
                           3 | 7  10  15 |32
                             |           |
                             ---------------
                              15  24  39 |78
    

    Hence, c = 1/78

  2. Find P(X > 1 | Y £ 2)

    P(X > 1 | Y £ 2) = P(X > 1 Ç Y £ 2)/ P( Y £ 2) = (30/78)/(39/78) = 30/39



Probability and Statistics                      Name__________________________
Spring 2000 Flex-Mode and Flex-Time 45-733
Midterm
Keith Poole

(10 Points)

7. An urn contains 6 red, 4 white, and 5 blue balls. Three balls are randomly drawn without replacement from the urn. Find the probability that all 3 of the removed balls are blue if it is known that at least 1 of the removed balls is blue.

P(3 are Blue | At Least 1 is Blue) = P(X = 3 | X ³ 1 ) = P(X = 3 Ç X ³ 1 )/ P(X ³ 1 ) =
P(X = 3)/P(X ³ 1 )


                             æ5ö
                             ç ÷
                             è3ø
                 P(X = 3) = -----
                             æ15ö
                             ç  ÷
                             è 3ø

                                     æ10ö
                                     ç  ÷
                                     è 3ø
      P(X ³ 1) = 1 - P(X = 0) = 1 - -----
                                     æ15ö
                                     ç  ÷
                                     è 3ø

                              æ5ö
                              ç ÷
                              è3ø
      P(X = 3)/P(X ³ 1 ) = ----------
                           æ15ö   æ10ö
                           ç  ÷ - ç  ÷
                           è 3ø   è 3ø



Probability and Statistics                      Name__________________________
Spring 2000 Flex-Mode and Flex-Time 45-733
Midterm
Keith Poole

(10 Points)

8. A test for a particular form of cancer is 99.9% accurate in that if the person being tested has the disease the test will detect it with probability .999. If the person does not have the disease the test will report that the person has the disease with probability .6. The proportion of the population that has the disease is .01. If a person is chosen randomly from the population and the test indicates that she has the disease, what is the probability that in fact she does have the disease.

Let A = "positive result" and D = "Disease"

P(A|D) = 0.999
P(Ac|D) = 0.001
P(A|Dc) = 0.6
P(Ac|Dc) = 0.4
P(D) = 0.01
P(Dc) = 0.99

Hence, P(D|A) = [P(D)P(A|D)]/[P(D)P(A|D) + P(Dc)P(A|Dc)] =
[.01*.999]/[.01*.999 + .99*.6]



Probability and Statistics                      Name__________________________
Spring 2000 Flex-Mode and Flex-Time 45-733
Midterm
Keith Poole

(10 Points)

9. Suppose we have the bivariate continuous probability distribution

                           æ c(x2 + y)  0 < x < 1
                  f(x,y) = ç            1 < y < 2
                           è 0 otherwise
  1. Find c.

    cò12 ò01 (x2 + y)dxdy = cò12 {[x3/3 + xy]|01}dy = cò12 (1/3 + y)dy = c[y/3 + y2/2]|12 = c(11/6)
    Hence, c = 6/11

  2. Are X and Y Independent?

    f1(x) = 6/11ò12 (x2 + y)dy = 6/11(x2 + 3/2)
    f2(y) = 6/11ò01 (x2 + y)dx = 6/11(1/3 + y)

    Clearly, X and Y are not independent.



Probability and Statistics                      Name__________________________
Spring 2000 Flex-Mode and Flex-Time 45-733
Midterm
Keith Poole

(10 Points)

10. Suppose we have the probability distribution


                           æ .10 x = 0
                           ç
                           ç .25 x = 2
                           ç
                    f(x) = ç .35 x = 4
                           ç
                           ç .30 x = 8
                           ç
                           è  0 otherwise
  1. Find F(X)

    
                             æ  0   x < 0
                             ç
                             ç .10  0 £ x < 2
                             ç
                      F(x) = ç .35  2 £ x < 4
                             ç
                             ç .70  4 £ x < 8
                             ç
                             è  1   x ³ 8
    
  2. What is P(3 < X < 9).

    .65