1. The document discusses concepts related to random variables including discrete and continuous random variables. It provides examples of classifying random variables as discrete or continuous and discusses probability distributions for discrete and continuous random variables.
2. Examples are provided for constructing probability distribution tables for discrete random variables and calculating probabilities. Formulas are given for probability density functions of continuous random variables and examples shown of calculating probabilities.
3. Overall the document provides an overview of key concepts for random variables including the difference between discrete and continuous, how to represent probabilities through tables or formulas, and examples of calculating probabilities for different situations.
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
429 views
Random Variables
1. The document discusses concepts related to random variables including discrete and continuous random variables. It provides examples of classifying random variables as discrete or continuous and discusses probability distributions for discrete and continuous random variables.
2. Examples are provided for constructing probability distribution tables for discrete random variables and calculating probabilities. Formulas are given for probability density functions of continuous random variables and examples shown of calculating probabilities.
3. Overall the document provides an overview of key concepts for random variables including the difference between discrete and continuous, how to represent probabilities through tables or formulas, and examples of calculating probabilities for different situations.
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 19
CONCEPT OF A RANDOM VARIABLE
RANDOM VARIABLE - is a function whose value is a real number
determined by each element in the sample space.
Two Types of Random Variables
•Discrete Random Variable is a random variable where the sample space contains a finite number of possibilities or an unending sequence with as many elements as there are whole numbers.
•Continuous Random Variable is a random variable
where the sample space contains an infinite number of possibilities equal to the number of points on a line segment. Classify the following Random Variables as discrete or continuous.
1. The number of automobile accidents in Cebu.
2. The length and time to play 9-ball billiards game 3. The amount of milk produce by a particular cow 4. The number of eggs laid each month by 1 hen 5. The number enrollees in Adamson University in 1 semester 6. The weight of rice in lbs. produced per year Discrete Probability Distributions
A table or formula listing all possible values that a
discrete random variable can take on along with associated probabilities The function f(x) is a probability function or a probability distribution of the discrete random variable X if, for each possible outcome x,
1. f ( x) 0. 2. f ( x) 1. x
3. P( X x) f ( x). Continuous Probability Distributions
The function with values f(x) is called a Probability
Density Function for the continuous random variable x if the total area under its curve and above x - axis is equal to 1 The function f(x) is a probability density function for the continuous random variable X, defined over the set of real numbers R, if 1. f ( x) 0 for all x. 2. f ( x) dx 1. b 3. P( a X b) f ( x) dx. a Specific values of Specific values of random variable is random variable is denoted by x denoted by x Also called probability Also called probability density function f(x) mass function f(x) P (x=x) = 0 P (X=x) = f(x) Can be represented as Can be represented in graph or formula table or list P (a x b)= f(x)dx ≥0 where f(x) ≥ 0 P(x=x) = f(x) ≥ 0 P(-∞<x<∞)=f(x)dx f (x) = P (s) = 1 P(s) = 1
Discrete Random Continuous Random
Variable Variable 1. The experiment is flipping a coin twice. If the random variable is the number of heads on two flips. Make a probability distribution table.
2. Rolling a dice twice. If the random variable is the number of
dots, Make a probability distribution table.
3. A coin is tossed three times. Let X denote the number of tails
that come up. Make a probability distribution table 4. Find the probability distribution of boys and girls in families with 3 children, assuming equal probability for boys and girls. The random variable X represents the number of boy in the family. EXPRESS YOUR ANSWER IN FORMULA AND TABULAR FORM
5. Suppose Nancy has classes 3 days a week. She attends
classes 3 days a week 80% of the time, 2 days 15% of the time, 1 day 4% of the time and no days 1% of the time. If X is the number of classes she attends In a week, Make a probability distribution table 6. A salesman schedules 5 calls a day. If X is the number of sales made in 1 day, then 6-x / 15 if x=1,2,3,4,5 f(x) = 0 otherwise
A. Is f(x) a discrete probability distribution?
B. Find the probability that the salesman makes 1. Only one sale a day 2. At least 2 sales a day
7. Let W be a random variable giving the number of Heads
minus the number of tails in three tosses of a coin. List the element of the sample space for the three tosses of the coin and each sample point assign a value w of W 8. Find the probability distribution for the number of JAZZ records when 4 records are selected at random from a collection consisting of 5 Jazz, 2 Classical and 4 Polka records. Express your answer by means of formula.
9. A shipment of 8 similar microcomputers to a retail
outlet contains 3 that are defective. If a school makes a random purchase of 2 of these computers find the probability distribution for the number of defectives. 10. Two cards are drawn successively without replacement from a shuffled deck of cards. Make a probability distribution table where random variable X represents the number of aces.
11. Determine the value c so that each of the following
functions can serve as a probability distribution of the discrete random variable X: a) f(x) = c(x2 + 4), for x = 0,1,2,3; b) f(x) = c (2Cx 3C3-x) for x = 0,1,2. 12. A shipment of 7 television sets contains 2 defective sets. A hotel makes a random purchase of; 3 of the sets. If x is the number of defective sets purchased by the hotel, find the probability distribution of X.
13. From a box containing 4 black balls and 2 green
balls, 3 balls are drawn in succession, each ball being replaced in the box before the next draw is made. Find the probability distribution for the number of green balls. Continuous Probability Probability Density Function For each value x in the range of a continuous random variable X we can define the value of the probability density function f(x) in such a way that P(a < X < b) = the integral of f(x) from a to b. I.e., the probability that X falls between two points is the area under f(x) between the two points. The density function follows the rules that 0 <= f(x) <= 1, the integral of f(x) from - infinity to +infinity = 1, and P(a < X < b) = integral of f(x) from a to b. The cumulative distribution function F(x) associated with X is defined for all real numbers as F(x) = the integral of f(t) from -infinity to x. A continuous random variable is a random variable where the data can take infinitely many values. For example, a random variable measuring the time taken for something to be done is continuous since there are an infinite number of possible times that can be taken.
For any continuous random variable with probability density
function f(x), we have that: Example: 1. A continuous random variable X that can assume values between x=1 and x=4 has a density function given by f(x)= 1/3 a) Show that the area under curve is equal to 1 b) Find P (1.5 < X < 3) c) Find P ( X ≥ 2.2) Example: 2. Suppose that the error in the reaction temperature in °C, for a controlled laboratory experiment is a continuous random variable having the probability density function 2 given by f(x)= X / 3 for -1 < x < 2 and 0 for elsewhere a) Show that the area under curve is equal to 1 b) Find P (0< X ≤ 1) Example: 4. Let X be the random variable that denotes the life in hours of a certain electronic device the probability density 3 function is f(x)= 20,000/ x for x >100 and 0 for elsewhere a) Find P( X> 200) b) Find P( X < 150) Example: 5. The IE’s of Metropolitan Construction company has been able to set up the probability density function of the time in weeks to complete a small contract. The contract completion time is 7 weeks the pdf: x/10 – 1/8 for 2 x < 6 f(x)= 5/8 – x/16 for 6 ≤ x ≤ 10 0 for elsewhere
a) What percent of the time does the company fail to
comply with the contract? b) What is the probability that a small contract will be finished within 5 to 12 weeks?