Eighth lecture Random Variables.

Slides:



Advertisements
Similar presentations
CS433: Modeling and Simulation
Advertisements

DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS
Chapter 4 Mathematical Expectation.
Chapter 5.1 & 5.2: Random Variables and Probability Mass Functions
Chapter 2 Discrete Random Variables
Use of moment generating functions. Definition Let X denote a random variable with probability density function f(x) if continuous (probability mass function.
Introduction to Probability and Statistics
Probability Distributions
Random Variables A Random Variable assigns a numerical value to all possible outcomes of a random experiment We do not consider the actual events but we.
Random Variable (RV) A function that assigns a numerical value to each outcome of an experiment. Notation: X, Y, Z, etc Observed values: x, y, z, etc.
Eighth lecture Random Variables.
Chapter 5 Discrete Random Variables and Probability Distributions
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Five Discrete Probability Distributions GOALS When you have completed.
4.1 Mathematical Expectation
Random Variables A random variable A variable (usually x ) that has a single numerical value (determined by chance) for each outcome of an experiment A.
Random Variables and Probability Distributions
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Chapter 7: Random Variables
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
Chapter 3 Random Variables and Probability Distributions 3.1 Concept of a Random Variable: · In a statistical experiment, it is often very important to.
1 Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND STATISTICS FOR SCIENTISTS AND ENGINEERS Systems.
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted by.
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS MADAM ROHANA BINTI ABDUL HAMID.
1 Lecture 4. 2 Random Variables (Discrete) Real-valued functions defined on a sample space are random vars. determined by outcome of experiment, we can.
Random Variables A random variable is simply a real-valued function defined on the sample space of an experiment. Example. Three fair coins are flipped.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted by.
Chapter Four Random Variables and Their Probability Distributions
2.1 Introduction In an experiment of chance, outcomes occur randomly. We often summarize the outcome from a random experiment by a simple number. Definition.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted.
One Random Variable Random Process.
CS433 Modeling and Simulation Lecture 03 – Part 01 Probability Review 1 Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University
1 Continuous Probability Distributions Continuous Random Variables & Probability Distributions Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering.
4.1 Probability Distributions Important Concepts –Random Variables –Probability Distribution –Mean (or Expected Value) of a Random Variable –Variance and.
EQT 272 PROBABILITY AND STATISTICS
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Review of Chapter
PROBABILITY AND STATISTICS WEEK 4 Onur Doğan. Random Variable Random Variable. Let S be the sample space for an experiment. A real-valued function that.
Random Variables Example:
President UniversityErwin SitompulPBST 3/1 Dr.-Ing. Erwin Sitompul President University Lecture 3 Probability and Statistics
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted.
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
EQT 272 PROBABILITY AND STATISTICS
MATH 256 Probability and Random Processes Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3 OKAN UNIVERSITY.
1By ILTAF MEHDI, IT Lecturer, MIHE, Kabul CHAPTER_NO : 05 Random Variables.
The Mean of a Discrete Random Variable Lesson
President UniversityErwin SitompulPBST 4/1 Dr.-Ing. Erwin Sitompul President University Lecture 4 Probability and Statistics
Statistics and Probability Theory Lecture 12 Fasih ur Rehman.
Probability Distribution. Probability Distributions: Overview To understand probability distributions, it is important to understand variables and random.
1 Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND STATISTICS FOR SCIENTISTS AND ENGINEERS Systems.
1 Chapter 4 Mathematical Expectation  4.1 Mean of Random Variables  4.2 Variance and Covariance  4.3 Means and Variances of Linear Combinations of Random.
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
Section 7.3. Why we need Bayes?  How to assess the probability that a particular event occurs on the basis of partial evidence.  The probability p(F)
Probability Distributions  A variable (A, B, x, y, etc.) can take any of a specified set of values.  When the value of a variable is the outcome of a.
Random Variables and Probability Distribution (1)
ONE DIMENSIONAL RANDOM VARIABLES
Section 7.3: Probability Distributions for Continuous Random Variables
Chapter 5 - Discrete Probability Distributions
EQT 272 PROBABILITY AND STATISTICS
CHAPTER 2 RANDOM VARIABLES.
Chapter 2 Discrete Random Variables
Chapter Four Random Variables and Their Probability Distributions
Chapter. 5_Probability Distributions
Chapter 4: Mathematical Expectation:
Random Variables and Probability Distributions
Tutorial 7 Probability and Calculus
Random Variables and Probability Distributions
Mathematical Expectation
Presentation transcript:

Eighth lecture Random Variables

Random Variables w Consider the experiment of tossing a coin twice. . If we are interested in the number of heads that show on the top face, describe the sample space. Solution: S={ HH , HT , TH , TT } 2 1 1 0 w S X(w) R Random Variables

Random Variables Definition (1): A random variable is a function that associates a real number with each element in the sample space. Remark: We shall use a capital letter, say X, to denote a random variable and its corresponding small letter, x in this case, for one of its values. Random Variables

Random Variables Example (1): Two balls are drawn in succession without replacement from an urn containing 4 red balls and 3 black balls. The possible outcomes and the values y of the random variable Y, where Y is the number of red balls, are y Sample Space 2 RR 1 RB BR BB Random Variables

Random Variables Example (2): Solution: A stockroom clerk returns three safety helmets at random to three steel mill employees who had previously checked them. If Smith, Jones, and Brown, in that order, receive one of the three hats, list the sample points for the possible orders of returning the helmets, and find the value m of the random variable M that represents the number of correct matches. Solution: If S, J and B stand for Smith’s, Jones’s, and Brown’s helmets, respectively, then the possible arrangements in which the helmets ma be returned and the number of correct matches are y Sample Space 3 SJB 1 SBJ BJS JSB JBS BSJ Random Variables

Random Variables Example (3): Interest centers around the proportion of people who respond to a certain mail order solicitation. Let X be that proportion. X is a random variable that takes on all values x for which 0 ≤ x ≤ 1. Example (4): Let X be the random variable defined by the waiting time, in hours, between successive speeders spotted by a rader unit. The random variable X takes on all values x for which x≥ 0. Random Variables

Random Variables Definition (2): If a sample space contains a finite number of possibilities or an unending sequence with as many elements as there are whole numbers , it is called a discrete sample space. Definition (3): If a sample space contains an infinite number of possibilities equal to the number of points on a line segment, it is called a continuous sample space. Random Variables

Random Variables Types of random variables: Discrete random variable. A random variable is called a discrete random variable if its set of possible outcomes is countable. Continuous random variable. A random variable is called a continuous random variable when can take on values on a continuous scale . Example (5): Classify the following random variables as discrete or continuous: X: the number of automobile accidents per year in Virginia. Y: the length of time to play 18 holes of golf. M: the amount of milk produced yearly by a particular cow. N: the number of eggs laid each month by a hen. P: the number of building permits issued each month in a certain city. Q: the weight of grain produced per acre. Random Variables

Random Variables Discrete Probability Distributions: Definition (4): The set of ordered pairs (x, f(x)) is a probability function, probability mass function, or probability distribution of the discrete random variable X if, for each possible outcome x, Example(6): Determine the value c so that each of the following function can serve as a probability distribution of the discrete random variable X: f(x)=c(x2+4), for x= 0,1,2,3. Random Variables

Random Variables Example(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 elements of the sample space S for the three tosses of the coin and to each sample points assign a value w of W. Example(8): Find a formula for the probability distribution of the random variable X representing the outcome when a single die is rolled once. Random Variables

Random Variables Definition (5): The cumulative distribution function F(x) of a discrete random variable X with probability distribution f(x) is Example(9): If : Prove that f(x) is a probability mass function? Find the cumulative distribution function of the random variable X. Random Variables

Random Variables Continuous Probability Distributions: A continuous random variable has a probability of zero of assuming exactly any of its values. Its probability distribution cannot be given in tabular form, it can be stated as a formula f(x), is usually called the probability density function or the density function of X. A probability density function is constructed so that the area under its curve bounded by the x axis is equal 1 when computed over the range of X for which f(x) is defined. The probability that X assumes a value between a and b is equal to the shaded area under the density function between the ordinates at x=a and x=b and from integral calculus is given f(x) a b x Random Variables

Random Variables Definition (6): The function f(x) is a probability density function for the continuous random variable X, defined over the set of real number R, if Example(10): Suppose that the error in the reaction temperature, in oC, for controlled laboratory experiment is a continuous random variable X having the probability density function Verify condition (2) of Definition(6). Find P(0<X≤1) Random Variables

Random Variables Definition (7): The cumulative distribution function F(x) of a continuous random variable X with density function f(x) is As an immediate consequence of Definition (7) one can write the two results, If the derivative exists. Random Variables

Random Variables Example(11): For the density function of Example (10) find F(x) and use it to evaluate P(0<X≤1) Random Variables

Random Variables Example(12): The waiting time, in hours, between successive speeders spotted by a radar unit is a continuous random variable with cumulative distribution function Find the probability of waiting less than 12 minutes between successive speeders (a)Using the cumulative distribution function of X; (b) Using the probability density function of X. Random Variables

Random Variables Definition(8): Let X a random variable with probability distribution f(x). The mean or expected value of X is If X is discrete, and If X is continuous. Example (13): A lot containing 7 components is sampled by a quality inspector; the lot contains 4 good components and 3 defective components. A sample of 3 is taken by the inspector. Find the expected value of the number of good components in this sample. Random Variables

Random Variables Example(14): Let X be the random variable that denotes the life in hours of a certain electronic device. The probability density function is Find the expected life of this type of device. Random Variables

Random Variables Definition(9): Let X be a random variable with probability distribution f(x). The expected value of the random variable g(x) is If X is discrete, and If X is continuous. Random Variables

Random Variables 9 8 7 6 5 4 x 1/6 1/4 1/12 P(X=x) Example (15): Suppose that the number of cars X that pass through a car wash between 4 p.m. and 5 p.m. on any sunny Friday has the following probability distribution: Let g(X)=2X-1 represent the amount of money in dollars, paid to the attendant by the manager. Find the attendant’s expected earning for this particular time period. 9 8 7 6 5 4 x 1/6 1/4 1/12 P(X=x) Random Variables

Random Variables Definition(8): Let X a random variable with probability distribution f(x) and mean m. The variance of X is if X is discrete, and if X is continuous. The positive square root of the variance, s, is called standard deviation of X. Random Variables

Random Variables 9 8 7 6 5 4 x 1/6 1/4 1/12 P(X=x) Example(16): Suppose that the number of cars X that pass through a car wash between 4 p.m. and 5 p.m. on any sunny Friday has the following probability distribution: Find the variance of X. 9 8 7 6 5 4 x 1/6 1/4 1/12 P(X=x) Random Variables

Random Variables Theorem(1): The variance of a random variable X is Example(16): Use Theorem (1) to find the variance in Example (15). Example(17): The weekly demand for Pepsi, in thousand of liters, from a local chain of efficiency stores, is a continuous random variable X having the probability density Find the mean and the variance of X. Random Variables

Some prosperities of means and variance of random variables: Theorem(2): If a and b are conestants, then E(aX+b)=aE(X)+b Corollary(1): Setting a=0, we see that E(b)=b Corollary(2): Setting b=0, we see that E(aX)=aE(X) Theorem(3): If a and b are conestants, then s2aX+b=a2s2X Corollary(1): Setting a=1, we see that s2X+b=s2X Corollary(2): Setting b=0, we see that s2aX=a2s2X Random Variables

Random Variables 9 8 7 6 5 4 x 1/6 1/4 1/12 P(X=x) Example(18): Use the result above to Find the mean of 2X-1 in Example(18). 9 8 7 6 5 4 x 1/6 1/4 1/12 P(X=x) Random Variables