Unit 1 Random Variables and Probability Distributions
Unit 1 Random Variables and Probability Distributions
5 6 7) 8) 9 wo WU) 2 3 4 5S 6 5 4 3 2 2 3% % % % BW BM % BW Be Real-World Problems Example 4: A radiologist records the number of patients waiting in queue every 8 a.m. for X-ray in a certain hospital for 20 consecutive days. The following are his observations: Ret erry Waiting tara 2 5 3 7 If x is a random variable that pertains to the number of patients waiting in queue for X-ray every 8 a.m. in a certain hospital, construct a probability distribution for the random variable x. Solution: Based on the above observations, the random variable x can take on the values 0, 1, 2, 3, and 4. Using the relative frequency approach in assigning probabilities, we can have the following probability distribution for the random variable X. 7 o 1 2 3 2 5 3 7 2 20 20 20 Sos = Lesson 4: Solving Random Variables ae Learn about It! In the previous lesson, we discussed about probability distributions for a random variable. For any probability distribution the probabilities of each outcome for the random variable should be between 0 and 1, inclusive and that the sum of all the probabilities is equal to 1. Example 1: Given the probability distribution of a discrete random variable X below, find P(X =1). es i 2 i LSolution: na probability distribution for a discrete random variable, the sum of all the probabilities of the outcomes should be equal to 1. That is, 3 PCr) = 1. When we add all the probabilities and equate it to 1, we have the following: PCR = 0) + PO = 1) 4 PO = 2) 4 P= 3) =1 a aii FtPe a4 S4E P=) POD ‘Therefore, the probability that the random variable x is equal to 1s 5 Example 2: Given the probability distribution of a discrete random variable X below, find PO < 10). 7 9 10 13 14 oa 013 0.09 035 0.19 Solution: The notation P(X < 10) means the probability that the random variable X is less than 10. In the given distribution, the random variables take on the values 7, 9, 10, 13, and 14 in which 7 and 9 are the numbers less than 10. So, in order to solve for PCY < 10), we need to add the probability that the random variable X is equal to 7 or 9. That is, P(X < 10) = PO = 7) + POX = 9) P(X < 10) = 0.24 +013 P(X < 10) = 0.37 Therefore, the probability that the random variable X is less than 10 is 0.37. Example 3: Given the probability distribution of a discrete random variable X below, find PKz 1), ° i 2 3 4 EM 024 0.13 0.09 035 2 Solution: In a probability distribution for a discrete random variable, the sum of all the probabilities of the outcomes should be equal to 1. That is, 5 PO) = 1. When we add all the probabilities and equate it to 1, we have the following solutio! 0.24 +013 +009+0.35 + P(X =4) Pu =4) P(X =4) 1— 0.24 — 0.13 — 0.09 — 0.35 19 In order to get P(X = 1), we need to add P(X = 1), P(X = 2), P(X = 3), and P(X = 4) P(X 2 1) = PO = 1) + P(X = 2) + PK = 3) + P(X = 4) PUL > 1) = 0.13 + 0.09 +0.35 + 0.19 PH 21) =0.76 Therefore, the probability that the random variable X is greater than or equal to 1 is 0.76.Another way we can solve for P(X = 1) is to apply the complement of it. Is complement is P(X <1). Therefore, we have P(X > 1) = 1— P(X <1). The P(X <1) is the probability that the random variable is less than 1 which is also the same with P(X = 0) based on the distribution. We can now have the following solution: P=) =1-PHr<) PRS 1) = 1-024 PO >= 0.76 We arrive at the same answer as the one above. Real-World Problems Example 4: The number of students in the library in any given hour is a random variable represented by X. The following is the probability distribution for X. 9 10 1 12 13 0.25 0.35 0.15 10 0.5 Find the probability that in a given hour, a. at least 12 students are in the library? b. at most 11 students are in the library? Solution: a. The phrase “at least 12” means that we are to solve for P(X = 12). PO 12) = P(X = 12) + POX = 13) POL > 12) = 0.10 + 0.15 POS 12) = 0.25 Therefore, the proba in the library is 0.25. ity that in any given hour at least 12 students are b. The phrase “at most 11” means that we are about to get P(X < 11). P(X < 11) = PO =9) + PK = 10) + P= 11), P(X < 11) = 0.25 +0.35 40.15 P(X <11)=0.75 Therefore, the probal In the library is 0.75. ity that in any given hour at most 11 students are LM rotereneat ‘luman, Allen G, mentary sts: Step by Step Approach, New York McGraw Hil oveation 2013 Mathwors, “Random Variable” Accessed September 17,2018, Hrapfmathwor waamconvRandonarabe hm.