Docsity

Probability Distribution of a Random Variable Module, Lecture notes of Mathematics

Partial preview of the text

Download Probability Distribution of a Random Variable Module and more Lecture notes Mathematics in PDF only on Docsity!

MATHEMATICS

(STATISTICS AND PROBABILITY)

Probability Distribution of a Random Variable

DAISY RODRIGUEZ ACAS

ILIGAN CITY NATIONAL HIGH SHOOL (SENIOR HIGH SHOOL DEPARTMENT)

MODULE OVERVIEW This module on Statistics and Probability is an instructional material designed to facilitate and enhance the teaching-learning process in Inferential Statistics intended for Senior High School students. Furthermore, it aims to supplement and strengthen knowledge and skills both required and acquired in this course. This module consists the basic concepts/theories/principles and applications of Inferential Statistics. At the end of each lesson are exercises that include practical applications of the statistical principles. Statistics and Probability was prepared primarily to address the perennial need in the one-semester course in Inferential Statistics that is the inadequacy of instructional materials in statistics. This module was prepared with the hope that concepts in inferential statistics will be easy to comprehend. Every basic concept and method is therefore fully explained in language that is easy to understand. To emphasize applications, the explanations are supplemented with various examples and exercises.

Multiple Choice: Choose the letter that you think the best answer to each of the following questions. Write the letter of your choice on the space provided. ______ 1. Which of the following is a discrete random variable? a. the average amount of electricity consumed b. the number of persons eating seafood in a restaurant c. the percentage of the students who passed the exam d. the average weight of female athletes ______ 2. If a pair of dice is rolled, which is not a possible value of the random variable for the sum of the points on the upturned faces of the dice? a. 1 b. 4 c. 7 d. 11 ______ 3. A pair of dice is rolled. Let Y be the random variable denoting the sum of the points on the upturned faces of the dice. Find the values of the random variable Y. a. 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 and 12 c. 1, 3, 5, 7, 9 and 11 b. 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 and 12 d. 2, 4, 6, 8, 10 and 12 ______ 4. The following are continuous random variable except _______. a. weight of persons c. income/money b. height of a person d. number of heads in 3 tosses of a fair coin ______ 5. A function whose value is a real number determined by each element in the sample space – the set of all possible outcomes of an experiment. a. random variable c. density function b. probability distribution d. histogram ______ 6. The sample space of rolling a die and tossing a coin simultaneously.

a. S ={^1 H^ ,^2 T^ ,^3 H^ ,^^4 T^ ,^5 H^ ,^^6 T^ }
b. S ={^1 H^ ,^1 T^ ,^^2 H^ ,^2 T^ ,^^3 H^ ,^3 T^ ,^^4 H^ ,^^4 T^ ,^5 H^ ,^5 T^ ,^6 H^ ,^^6 T^ }^ answer
c. S ={^1 H^ ,^2 H^ ,^^3 H^ ,^^4 T^ ,^^5 T^ ,^^6 T^ }
d. S ={^1 T^ ,^^2 T^ ,^^3 T^ ,^^4 H^ ,^^5 H^ ,^6 H^ , }

______ 7. Which formula gives the probability distribution shown by the table? X 1 3 5 P(X) 1 6 1 3 1 2 a. P ( X )= X + 1 (^12) b. P ( X )= X (^6) c. P ( X )= X + 2 (^18) d. P ( X )= 1 6 ______ 8. If P ( X )= X (^6) , what are the possible values of X for it to be a probability distribution? a. 1, 2, 3 b. 0, 2, 3 c. 2, 3, 4 d. 1, 1, 2 ______ 9. What makes the distribution below a probability distribution? a. The random variable is equally distributed. b. The sum of all values of P(x) is equal to one. PRE-TEST. X 0 2 4 6 8 P(X) 16 61 13 16 61

c. The values of a probability distribution are probabilities. d. The values of the P(x) are numbers on the interval from 0 to 1. ______ 10. Four coins are tossed. Let Y be the random variable representing the number of heads that occur. The probability distribution of the random variable Y is _______.

a.
b.
c.
d.

y = of heads^0 1 2 3 P(x) 4/16 6/16 1/16 4/16 1/ y = of heads 0 1 2 3 4 P(x) 1/16 4/16 6/16 4/16 1/ y = of heads 0 1 2 3 4 P(x) 6/16 4/16 1/16 4/16 1/ y = of heads 0 1 2 3 4 P(x) 1/16 4/16 1/16 4/16 6/

PROBABILITY DISTRIBUTION OF A RANDOM VARIABLE LESSON 1: RANDOM VARIABLE CODE: M11/12SP-IIIa-1, M11/12SP-IIIa-2 and M11/12SP-IIIa- OBJECTIVES: In this lesson, the students will be able to define and illustrate a random variable, find the possible values of a random variable and distinguish between a discrete and a continuous random variable. DISCUSSION: Probability distributions play an important role in the application of Statistics. They are used to model the behavior of many variables of interest. What do you know about me? Directions: Working in groups, determine the sample space illustrated in each situation below. a. Among the applicants of an immersion, there are only two vacant positions. Three males and two female applicants qualify for the final interview. Because of scheduling problems, only two applicants can be interviewed immediately. The personnel manager selects these two by assigning a numbered ticket to each applicant, and then randomly drawing two tickets. b. An experiment consists of asking 2 parents if they are in favor of two more years in the K-12 curriculum. Using “ N ” for no , “ Y ” for yes and “ U ” for undecided. c. A farmer has three fields, each of which must be planted with rice or corn. He does not plant the same crop in all three fields. Generating a tree diagram, list all the elements of the sample space S. Activity 1.

Definition ( Random Variable ) A random variable is a function whose value is a real number determined by each element in the sample space – the set of all possible outcomes of an experiment and is denoted by S. The variables that are measured in most scientific studies, whose values occur by chance, are called to be “random variables”. These are assumed to follow a probability distribution when used in a statistical analysis. Do you still remember me? Directions: List the sample space of the following experiments. Experiment Sample Space

  1. Tossing three coins.
  2. Rolling a die and tossing a coin simultaneously.
  3. Drawing a spade from a deck of cards.
  4. Getting a defective item when two items are randomly selected from a box of two defective and three non-defective items.
  5. Drawing a card greater than 7 from a deck of cards. Remark: Capital letters like X^ , Y^ , or Z^ are used to denote a random variable. Examples:
  6. A coin is tossed 3 times. Let X^ be the random variable denoting the number of heads. Find the values of the random variable X^. Solution: To do this, first identify all the possible outcomes of the given statistical experiment. Determine the specific random variable defined in the problem i.e. Outcomes TTT TTH THT THH HTT HTH HHT HHH x = no. of heads 0 1 1 2 1 2 2 3 Therefore, the possible values of the random variable X^ are 0, 1, 2 &

Activity 2.

3. Four coins are tossed. Let Y^ be the random variable representing the number of heads that occur. Find the values of the random variable Y (^). 4. A shipment of five computers contains that are slightly defective. If a retailer receives three of these computers at random, list the elements of the sample space S using the letters D and N for defective and non- defective computers, respectively. To each sample point, assign a value x of the random variable X^ representing the number of computers purchased by the retailer which are slightly defective. Definition ( Discrete/Continuous Random Variable ) If a random variable takes only a finite number of values or if the set of possible outcomes is countable, then it is called discrete random variable. Otherwise, if it takes on any value in a continuous scale then it is called continuous random variable. Some examples of discrete random variables : 1. Number of hearts drawn from a deck of playing cards. 2. Number of heads in 3 tosses of a fair coin. 3. Number of persons in a city objecting to a new ordinance Some examples of continuous random variable :

  1. Weight of persons
  2. Height of a person
  3. Percentage of the students who passed the exam
  4. Income/Money Can you classify me? Directions: Classify the following random variables as discrete or continuous.
  5. The number of defective computers produced by a manufacturer in a certain school Activity 4.
  1. The weight of newborns each year in a hospital
  2. The number of siblings in a family of a region
  3. The amount of paint utilized in a classroom building project of ICNHS
  4. The number of dropout in a school district for a period of 10 years
  5. The speed of a car
  6. The number of female athletes of the Sports track
  7. The time needed to finish the test
  8. The amount of sugar in a cup of coffee
  9. The number of people who are playing LOTTO each day
  10. The number of accidents per year at an intersection
  11. The number of voters favoring a candidate
  12. The number of patient arrivals per hour at a medical clinic
  13. The average amount of electricity consumed per household per month
  14. The number of deaths per year attributed to lung cancer LESSON 2: DISCRETE PROBABILITY DISTRIBUTION CODE: M11/12SP-IIIa-4, M11/12SP-IIIa-5 and M11/12SP-IIIa- OBJECTIVES: In this lesson, the students will be able to define and illustrate a probability distribution for a discrete random variable and its properties, construct the probability mass function of a discrete random variable and its corresponding histogram and compute probabilities corresponding to a given random variable. DISCUSSION: A discrete random variable has a corresponding probability distribution that is called to be a discrete probability distribution. What is my probability? Directions: Find the probability of the following events. Activity 1.

tabular form and the equation form. For the tabular form, it includes all the possible outcomes, the random variable and the probability i.e. Outcomes TTT^ TTH^ THT^ THH^ HTT^ HTH^ HHT^ HHH X = (^) number of heads 0 1 1 2 1 2 2 3 Thus, X = number of heads 0 1 2 3 P ( X ) 1 / 8 3 / 8 3 / 8 1 / 8 For the equation form,

P ( X )=
1 / 8 , if x = 0
3 / 8 , if x = 1
3 / 8 , if x = 2
1 / 8 , if x = 3

. The histogram for this probability distribution is illustrated below:

  1. List the possible values of the following random variables. Find the probability distribution or the probability mass function of discrete random variable. Make a histogram for each probability distribution below. a. Let Y^ be the random variable denoting the sum of the points on the upturned faces of the dice when a pair of dice is rolled. Solution: Using the tabular form, the probability distribution or the probability mass function of the discrete random variable Y^ is 0 1 2 3 0 0 1/ 1/ 1/ 1/ 2/ 1/ 2/ NUMBER OF HEADS PROBABILITY p(x)

Y = (^) sum of the points on the upturned faces 2 3 4 5 6 7 8 9 10 11 12

P ( Y )

1 / 36 1 / 18 1 / 12 1 / 9 5 / 36 1/2 5 /^36 1 / 9 1 / 12 1 / 18 1 / 36 Below is the histogram of the table: b. Let Z^ be the random variable denoting the number of heads when a coin is tossed five times. Solution: The probability distribution or the probability mass function of the discrete random variable Z^ is Z = (^) number of heads 5 4 3 2 1 0 P ( Z ) 1 / 32 5 / 32 5 / 16 5 / 16 5 / 32 1 / 32 2 3 4 5 6 7 8 9 10 11 12 0 1/ 1/ 3/ 2/ 1/ 3/ 7/ 4/ 9/ SUM OF THE POINTS P(Y)

P(X ) 1 4 1 8 1 4 1 8 Can you construct me? Directions: Construct the probability distribution for the random variables described in each of the following situations. Draw the corresponding histogram for each probability distribution.

1. Suppose three cell phones are tested at random where D represent the defective cell phone and N represent the non-defective cell phone. Let X represents the number of defective cell phones that occur. , show the values of the random variable X. 2. Two balls are drawn in succession without replacement from an urn containing 5 red balls and 6 blue balls. Let Z be the random variable representing the number of blue balls. Find the values of the random variable Z. 3. Four coins are tossed. Let Y be the random variable representing the number of heads that occur. Find the values of the random variable Y. 4. A shipment of five computers contains that are slightly defective. If a retailer receives three of these computers at random, list the elements of the sample space S using the letters D and N for defective and non-defective computers, respectively. To each sample point, assign a value x of the random variable X representing the number of computers purchased by the retailer which are slightly defective. Activity 3.

A random variable is a numerical description of the outcome of a statistical experiment. A random variable that may assume only a finite number or an infinite sequence of values is said to be discrete; one that may assume any value in some interval on the real number line is said to be continuous. For instance, a random variable representing the number of automobiles sold at a particular dealership on one day would be discrete, while a random variable representing the weight of a person in kilograms (or pounds) would be continuous. The probability distribution for a random variable describes how the probabilities are distributed over the values of the random variable. For a discrete random variable, x, the probability distribution is defined by a probability mass function, denoted by f(x). This function provides the probability for each value of the random variable. In the development of the probability function for a discrete random variable, two conditions must be satisfied: (1) f(x) must be nonnegative for each value of the random variable, SUMMARY.

a. 1 b. 4 c. 7 d. 11 ______ 6. What makes the distribution below a probability distribution? a. The random variable is equally distributed. b. The sum of all values of P(x) is equal to one. c. The values of a probability distribution are probabilities. d. The values of the P(x) are numbers on the interval from 0 to 1. ______ 7. A function whose value is a real number determined by each element in the sample space – the set of all possible outcomes of an experiment. a. random variable c. density function b. probability distribution d. histogram ______ 8. Which formula gives the probability distribution shown by the table? X 1 3 5 P(X) 1 6 1 3 1 2 a. P ( X )= X + 1 (^12) b. P ( X )= X (^6) c. P ( X )= X + 2 (^18) d. P ( X )= 1 6 ______ 9. Four coins are tossed. Let Y be the random variable representing the number of heads that occur. The probability distribution of the random variable Y is _______. a. b. c. d. ______ 10. If P ( X )= X (^6) , what are the possible values of X for it to be a probability distribution? a. 1, 2, 3 b. 0, 2, 3 c. 2, 3, 4 d. 1, 1, 2 X 0 2 4 6 8 P(X) 1 6 1 6 1 3 1 6 1 6 y = of heads^0 1 2 3 P(x) 4/16 6/16 1/16 4/16 1/ y = of heads^0 1 2 3 P(x) 1/16 4/16 6/16 4/16 1/ y = of heads 0 1 2 3 4 P(x) 6/16 4/16 1/16 4/16 1/ y = of heads^0 1 2 3 P(x) 1/16 4/16 1/16 4/16 6/

POST-TEST ANSWER KEY.

**1. B

  1. A
  2. B
  3. D
  4. A
  5. B
  6. A
  7. A
  8. B 10 .** A