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 Final Examination Answers



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

1. Suppose X has the discrete probability distribution:


                         æ q(1 - q)x  x = 0,1,2, ...
                  f(x) = ç   
                         è   0 otherwise
Find the maximum likelihood estimator for q.

f(x1 , x2 , ... , xn | q) = Pi=1,n q (1 - q)Xi = qn (1 - q) Si=1,nXi

L(x1 , x2 , ... , xn | q) = ln{f(x1 , x2 , ... , xn | q)} = nlnq + (Si=1,nXi) ln(1 - q)

L/ q = n/q - åi=1,nxi/ (1 - q) = 0

         Ù                            _
Hence,   q = n/(n + åi=1,nxi) = 1/(1 + Xn)



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

2. Independent random samples are taken from the output of two machines on a production line to check the weight of the items being manufactured. From the first machine a sample of 36 is taken with a mean weight of 120 grams and an s2 of 4. From the second machine a sample of 64 is taken with a mean weight of 130 grams and an s2 of 5. Assuming that the weights for both machines are normally distributed and the machines operate independently, find 99 percent confidence limits for the difference in the true means.

The Confidence Interval is:
  _    _                                    _   _
P{Xn - Ym - za/2[sx2/n + sy2/m]1/2 < mx - my < Xn - Ym + za/2[sx2/n + sy2/m]1/2} 
= 1 - a

Our confidence limits are:  

120 - 130 ± 2.33[4/36 + 5/64]1/2 = -10 ± 1.0136

(-11.0136, -8.9864)



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

3. Suppose the bivariate continuous distribution of X and Y is:


                           æ (x + y)/8   0 < x < 2
                  f(x,y) = ç             0 < y < 2
                           è      0 otherwise
Find P(X > 1 | Y < 1).

P(X > 1 | Y < 1) = P(X > 1 Ç Y < 1)/P(Y < 1)

P(X > 1 Ç Y < 1) = (1/8)ò12 ò01(x + y)dxdy = (1/8)ò01 [x2/2 + xy]|12dy =
(1/8)ò01 [3/2 + y]dy = (1/8)[3y/2 + y2/2]|01 = 1/4

P(Y < 1) = (1/8)ò02 ò01(x + y)dxdy = (1/8)ò01 [x2/2 + xy]|02dy =
(1/8)ò01 [2 + 2y]dy = (1/8)[2y + y2]|01 = 3/8

Hence: P(X > 1 | Y < 1) = (2/8)/(3/8) = 2/3



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

4. The same examination is given to two classes of students in statistics. The first class of 51 students has a mean score of 75 with an s2 of 100. The second class of 41 students has a mean score of 80 with an s2 of 121. Test the hypothesis that the true mean scores are the same against the hypothesis that the true mean scores are not the same (a = .05). Compute the P-Value of the test using EViews.

H0: m1 - m2 = 0
H1: m1 - m2 ¹ 0
The decision rule for this problem is:
    _    _
If (Xn - Ym)/(s12/n + s22/m)1/2 > za/2 or 
    _    _
   (Xn - Ym)/(s12/n + s22/m)1/2 < -za/2 then Reject Ho:
           _    _
If -za/2 < (Xn - Ym)/(s12/n + s22/m)1/2 < za/2 then Do Not Reject Ho:

   za/2 = 1.96
    _    _
   (Xn - Ym)/(s12/n + s22/m)1/2 = (75 - 80)/[100/51 + 121/41]1/2 = -2.256
-2.256 < -1.96 so Reject H0:

P-Value = .0265 using TDIST(-2.256,90); or
.0241 using CNORM(-2.256)*2



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

5. You are curious about whether or not the claims of a soft-drink maker that their plastic bottles always contain 16oz of soda pop are true. You randomly open 11 bottles and obtain the following measurements (in ounces):

15.2 15.6 15.9 15.5 15.9 15.8 16.0 15.9 16.0 15.6 15.7

Treating this as a sample from a normal distribution, test the hypothesis that the true mean is 16 ounces against the hypothesis that the true mean is less than 16 ounces (a = .01). Compute the P-Value of the test using EViews.

H0: m = 16
H1: m < 16

The decision rule for this problem is:

    _ 
If (Xn - mo)/s/n1/2 < -ta then Reject Ho:    
          _
If -ta < (Xn - mo)/s/n1/2 then Do Not Reject Ho:    

 -t.01,10 = -2.764    
_ (Xn - mo)/s/n1/2 = (15.736 - 16)/.2461/111/2 = -3.5579 Hence, Reject H0: P-Value = .00019

Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

6. Suppose we know that exactly one of the following hypotheses must be true:

        H0:  m = 115
s2 = 400 H1: m = 120
The population sampled has a normal distribution and the sample size is 36. Find a and b for the decision rule:

    _
If  Xn < 118.5 then do not reject H0:
    _
If  Xn > 118.5 then reject H0:

      _                          _
a = P(Xn > 118.5 | m = 115) = P[(Xn - 115)/20/6 > (118.5 - 115)/20/6] =
    P(Z > 1.05) = 1 - F(1.05) = .1469
      _                          _
b = P(Xn < 118.5 | m = 120) = P[(Xn - 120)/20/6 < (118.5 - 120)/20/6] =
    P(Z < -.45) = F(-.45) = .3264



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

7. Suppose that X1 , X2 , and X3 are independently distributed and that X1 ~ N(4, 9), X2 ~ N(3, 10), and X3 ~ N(-2, 9). Find P(3X1 – 5X2 + X3 - 5 > -7).

Let W = 3X1 – 5X2 + X3 - 5

E(W) = 3*4 - 5*3 + 1*(-2) - 5 = -10
VAR(W) = 9*9 + 25*10 + 1*9 = 340

P(W > -7) = P[(W + 10)/3401/2 > (-7 + 10)/3401/2] =
P(Z > .16) = 1 - F(.16) = .4364



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

8. We conduct a survey of Flex-Time and Flex-Mode students who survived Prob-Stat I in 1997 and 1998. For 1997 61 of 82 randomly chosen students said they would rather have 5 root canals than re-take Prob-Stat I. For 1998 73 of 90 randomly chosen students said they would rather have 5 root canals than re-take Prob-Stat I. Do these results indicate a significant difference in the proportions of students who would rather have the root canals between the two years (a = .01). Compute the P-Value of the test using Eviews.


H0: p1 - p2 = 0
H1: p1 - p2 ¹ 0
                       Ù    Ù
                       p1 - p2
     Test:      -------------------------   > za/2  or  < - za/2     Reject H0:
                Ù      Ù        Ù      Ù               
               [p1(1 - p1)/n1 + p2(1 - p2)/n2]1/2

  z.005 = 2.58
  Ù                    Ù
  p1 = 61/82 = .744,   p2 = 73/90 = .811
  Test Statistic = (.744 - .811)/[(.744*.256)/82 + (.811*.189)/90]1/2 = -1.056

Hence, Do Not Reject H0:

P-Value = .291



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(5 Points)

9. Suppose that the proportion of defective SIMMs in a large shipment to our computer manufacturing plant is known to be .009. We take a random sample of 1000 SIMMs. What is the probability that at most 12 are defective but not less than 3 are defective.

l = np = 1000*.009 = 9

P(3 £ l £ 12) = F(12) - F(2) = .876 - .006 = .870



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

10. A large shipment of roller bearings is delivered to your machine shop. You take a random sample of 80 roller bearings and find that 4 are defective. Compute 95 and 99 percent confidence limits for the true proportion of defective roller bearings.

Confidence Limits are:
   Ù        Ù     Ù
   p ± za/2[p(1 - p)/n]1/2
   Ù
   p = 4/80 = .05,  z.025 = 1.96,  z.005 = 2.58

  .05 ± 1.96*[(.05*.95)/80]1/2 = .05 ± .0478 
  so the 95% limits are:  (.0022, .0978)

  .05 ± 2.58*[(.05*.95)/80]1/2 = .05 ± .0629 
  so the 99% limits are:  (-.0129, .1129) or (.0, .1129) since proportions 
         cannot be less than zero.



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

11. You have a very large greenhouse and you grow a very large number of orchids. You are curious about the variability of the heights of your orchids so you take a random sample and obtain the following heights (in inches):

  12.1   12.3   12.8   12.0   11.9   12.5   13.1   12.9   12.7   12.4   12.5
Assume that orchid height is normally distributed. Construct 98 and 99% confidence limits for the true variance.

s2 = .14618

Confidence Limits are:

(n-1)s2/c2 and
(n-1)s2/c1

98% Limits:
c1 = 2.55821
c2 = 23.2093
(10*.14618)/23.2093 = .0630
and (10*.14618)/2.55821 = .5714

99% Limits:
c1 = 2.15585
c2 = 25.1882
(10*.14618)/25.1882 = .0580
and (10*.14618)/2.15585 = .6781




Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

12. Pitt and GSIA students independently take an identical Prob-Stat I final examination. Assume that the scores in both populations are normally distributed. We draw a random sample 7 GSIA students and find their scores to be:

    116   119   125   121   120   118   110
and we draw a random sample of 10 Pitt students and find their scores to be:

    110   111   109   105   100   111   106   111   112   103
Test the null hypothesis that the variances of the two populations are the same against the alternative hypothesis that variances are not the same (a = .01). Compute the P-Value of the test using Eviews.

Ho: s12 = s22
H1: s12 ¹ s22

The decision rule for this problem is:

If s12/s22 > K2 or s12/s22 < K1 Then Reject Ho:

Where P(Fn-1,m-1 > K2) = a/2 and P(Fn-1,m-1 < K1) = a/2 and

s12/s22 ~ Fn-1,m-1 df

K2 = F6,9,.005= 7.13
K1 = 1/F9,6,.005= 1/10.39 = .09625
s12/s22 = 21.619/16.622 = 1.3006

Hence Do Not Reject H0:
The P-Value = P(F6,9 > 1.3006) = .34682

Alternatively, do the upper tail test:

If s12/s22 > K2 Then Reject Ho:

K2 = F6,9,.01= 5.80

and again Do Not Reject H0:




Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

13. In a certain large city here in the U.S. 30% of the people are Republicans, 45% are Democrats, 15% Reform, and 10% are independents. A public opinion poll is taken and it is found that 70% of Republicans, 30% of Democrats, 40% of Reformers, and 50% of Independents favor cutting taxes. If a person is selected at random from the population and it is found that she does not favor cutting taxes, what is the probability that she is a Democrat.


Let A1 = Republican, A2 = Democrat, A3 = Reform, A4 = Independent and
B = Cutting Taxes

P(A1) = .30, P(A2) = .45, P(A3) = .15, P(A4) = .10
P(B | A1) = .7, P(B | A2) = .3, P(B | A3) = .4, P(B | A4) = .5
P(Bc | A1) = .3, P(Bc | A2) = .7, P(Bc | A3) = .6, P(Bc | A4) = .5

P(A2|Bc) = [P(A2)P(Bc|A2)]/ [åj=1,4 P(Aj)P(Bc|Aj)] =
(.45*.7)/(.3*.3 + .45*.7 + .15*.6 + .1*.5) = .315/.545 = .5780



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

14. Suppose we draw 6 cards randomly from a standard deck of 52 playing cards. What is the probability that we get 3 cards from one suit in consecutive order and 3 cards from a second suit in consecutive order (e.g., 3§ , 4§ , 5§ , 10© , J© , Q© ; or Q¨ , K¨ , A¨ , 7ª , 8ª , 9ª ; etc.).

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



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

15. On any given day 200 customers visit our computer store in the mall. The amount spent by each customer is a random variable with a mean of $40 and a standard deviation of $100, and it is independent across customers. What is the probability that our store’s revenue on any given day will be between $7000 and $10,000.

P{[(åi=1,n Xi) - nm]/ sn1/2 £ k} » F(k)

m = 40 and s2 = 1002

Hence: P[7000 < (åi=1,200 Xi) < 10000] =
P{[(7000 - 200*40)/(100*2001/2)] < [(åi=1,200 Xi) - 200*40]/[100*2001/2] < [(10000 - 200*40)/(100*2001/2]} =
P(-.70711 < Z < 1.4142) = F(1.4142) - F(-.70711) = .9213 - .2398 = .6815



Probability and Statistics                      Name__________________________
Spring 1999 Flex-Mode and Flex-Time 45-733
Final Exam
Keith Poole

(10 Points)

16. We have a hydraulic system that has 20 components. Suppose that the probability that any component will fail is .10 and the components fail independently. Given that at least 4 components have failed, what is the probability that at least 5 components have failed.

P[X ³ 5 | X ³ 4] = P[X ³ 5]/ P[X ³ 4] = [1- F(4)]/[1 - F(3)] =
[1 - .957]/[1 - .867] = .043/.133 = .323