# Practice Midterm Welcome to Pstat5E: Statistics with Economics and Business Applications Yuedong Wang Solution to Practice Midterm Exam.

## Presentation on theme: "Practice Midterm Welcome to Pstat5E: Statistics with Economics and Business Applications Yuedong Wang Solution to Practice Midterm Exam."— Presentation transcript:

Practice Midterm Welcome to Pstat5E: Statistics with Economics and Business Applications Yuedong Wang Solution to Practice Midterm Exam

Practice Midterm 1. The probability distribution of a discrete random variable X is shown in the following table: (a) Find the missing value p. (b) FindP(X<2). (c) Find mean and variance of the random variable X. x12345 P(X=x).2.3p.1.2

Practice Midterm Solution: (a).2+.3+p+.1+.2=1 p=.2 (b) P(X<2) = P(X=1) =.2 (c) mean = 1 x.2+ 2 x.3 + 3 x.2 + 4 x.1 + 5 x.2 = 2.8 variance = (1-2.8) 2 x.2 + (2-2.8) 2 x.3 + (3-2.8) 2 x.2 + (4-2.8) 2 x.1 + (5-2.8) 2 x.2 = 1.96

Practice Midterm 2. The following are ages of 5 UCSB students, randomly selected from those who have lunch in the UCen: 21, 18, 19, 31, 22 (i) Find mean, median and inter-quartile range. (ii) Construct box plot. (iii) What percentage of the students are teenagers?

Practice Midterm Solution: (i)mean=(21+18+19+31+22)/5=22.2 sort observations: 18, 19, 21, 22, 31.5(n+1)=3 median=21.25(n+1)=1.5 Q 1 =(18+19)/2=18.5.75(n+1)=4.5 Q 3 =(22+31)/2=26.5 IQR=Q 3 -Q 1 =26.5-18.5=8

Practice Midterm (ii) Lower fence=18.5-1.5*8=6.5 Upper fence=26.5+1.5*8=38.5 18.526.531 2118 (iii) Percentage of teenagers=2/5=40%

Practice Midterm 3. When I play soccer, one outcome of interest is the result of the game. The possibilities are that my team wins, loses, or ties. Another outcome of interest is whether or not I score (at least one goal). You are given the following probabilities: the probability that I score and my team wins is.3; the probability that I score and my team loses is.15; the probability that my team wins is.4; the probability that my team loses is.5; the probability that I score is.5. (i) Given that my team wins, what is the probability that I score? (ii) Given that I score, what is the probability that my team wins? (iii) What is the probability that my team loses or I do not score? (iv) What is the probability that I do not score and my team ties?

Practice Midterm Solution: Define events W: my team wins, L: my team loses, T: my team ties S: I score, N: I do not score. Then P(W)=.4, P(L)=.5, P(S)=.5, P(SW)=.3, P(SL)=.15 P(N)=1-P(S)=.5, P(T)=1-P(W)-P(L)=.1 (i)P(S|W) = P(SW)/P(W) =.3/.4 =.75 (ii)P(W|S) = P(SW)/P(S) =.3/.5 =.6

Practice Midterm Solution:

Practice Midterm 4. The menu at the Coffee Garden at 900 East and 900 South in Salt Lake City has included a scrumptious selection of quiche for about 10 years. The recipe calls for four fresh eggs for each quiche. A Salt Lake County Health Department Inspector paid a visit recently and pointed out that research by the Food and Drug Administration indicates that one in four eggs carries salmonella bacterium, so restaurants should never use more than three eggs when preparing quiche. The manager on duty wondered aloud if simply throwing out three eggs from each dozen and using the remaining nine in four-egg-quiches would serve the same purpose. The inspector wasn't sure, but she said she would research it. Salt Lake Tribune, 11 October 2002.

Practice Midterm (a) What is the probability that (i) of 4 randomly selected eggs, at least one carries salmonella bacterium? (ii) of 3 randomly selected eggs, at least one carries salmonella bacterium? (b) How many eggs would you expect to carry salmonella bacterium our of (i) 3 randomly selected eggs? (ii) 4 randomly selected eggs?

Practice Midterm Solution:

Practice Midterm 5. Tom and Dick took the same class. The final scores for the class were normally distributed with mean 75 and standard deviation 10. Tom's score was 60 and Dick's score is better than 80%, but worse than 20% of all scores. (i) What is Dick's score? (ii) What proportion of scores is better than Toms?

Practice Midterm Solution:

Download ppt "Practice Midterm Welcome to Pstat5E: Statistics with Economics and Business Applications Yuedong Wang Solution to Practice Midterm Exam."

Similar presentations