Chapter Four Random Variables and Their Probability Distributions

Slides:



Advertisements
Similar presentations
Chapter 5.1 & 5.2: Random Variables and Probability Mass Functions
Advertisements

Introduction to stochastic process
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Discrete random variables Probability mass function Distribution function (Secs )
Today Today: More of Chapter 2 Reading: –Assignment #2 is up on the web site – –Please read Chapter 2 –Suggested.
Probability Distributions Finite Random Variables.
Probability Distributions
Class notes for ISE 201 San Jose State University
Probability Distributions Random Variables: Finite and Continuous Distribution Functions Expected value April 3 – 10, 2003.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Eighth lecture Random Variables.
Probability Distributions: Finite Random Variables.
Chapter6 Jointly Distributed Random Variables
Discrete Probability Distributions A sample space can be difficult to describe and work with if its elements are not numeric.A sample space can be difficult.
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 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.
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.
Chapter 5.1 Probability Distributions.  A variable is defined as a characteristic or attribute that can assume different values.  Recall that a variable.
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}.
Random Variables an important concept in probability.
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 5 – Probability Mass Function Farinaz Koushanfar ECE Dept., Rice University Sept 8, 2009.
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.
1 Continuous Probability Distributions Continuous Random Variables & Probability Distributions Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering.
EQT 272 PROBABILITY AND STATISTICS
LECTURE 17 THURSDAY, 22 OCTOBER STA 291 Fall
Random Variables an important concept in probability.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Probability (outcome k) = Relative Frequency of k
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Review of Statistics I: Probability and Probability Distributions.
Chapter 2: Random Variable and Probability Distributions Yang Zhenlin.
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.
President UniversityErwin SitompulPBST 3/1 Dr.-Ing. Erwin Sitompul President University Lecture 3 Probability and Statistics
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:
AP STATISTICS Section 7.1 Random Variables. Objective: To be able to recognize discrete and continuous random variables and calculate probabilities using.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
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)
TELECOMMUNICATIONS Dr. Hugh Blanton ENTC 4307/ENTC 5307.
EQT 272 PROBABILITY AND STATISTICS
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
AP Stats: Warm-up Complete the 6.3 “quiz” with the person sitting next to you as your warm-up. We will be starting our intro to Chapter 7 today: Discrete.
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.
Lesson 99 - Continuous Random Variables HL Math - Santowski.
Random Variables By: 1.
Random Variables and Probability Distribution (1)
Probability Distribution for Discrete Random Variables
APPENDIX A: A REVIEW OF SOME STATISTICAL CONCEPTS
MAT 446 Supplementary Note for Ch 3
ONE DIMENSIONAL RANDOM VARIABLES
3 Discrete Random Variables and Probability Distributions
ECE 313 Probability with Engineering Applications Lecture 7
Discrete Random Variables and Probability Distributions
Unit 5 Section 5-2.
Discrete and Continuous Random Variables
EQT 272 PROBABILITY AND STATISTICS
CHAPTER 2 RANDOM VARIABLES.
C4: DISCRETE RANDOM VARIABLES
Cumulative distribution functions and expected values
Chapter 4 Continuous Random Variables and Probability Distributions
Chapter. 5_Probability Distributions
ASV Chapters 1 - Sample Spaces and Probabilities
Random Variables and Probability Distributions
RANDOM VARIABLES, EXPECTATIONS, VARIANCES ETC.
M248: Analyzing data Block A UNIT A3 Modeling Variation.
Experiments, Outcomes, Events and Random Variables: A Revisit
Random Variables and Probability Distributions
Presentation transcript:

Chapter Four Random Variables and Their Probability Distributions STAT 111 Chapter Four Random Variables and Their Probability Distributions

Random Variables In the previous chapter, we introduced properties of a set function P defined on a sample space (S,F).In this chapter, we define random variables and discuss some of its properties. Definition A random variable is a function whose domain is a sample space and whose range is a set of real numbers. Random variables will be represented by capital letters X, Y, Z, etc., whereas, x,y,z will denote particular values a random variable may assume. Mathematically, a random variable X is a mapping X: S → R where the domain S is a sample space and R is the set of real numbers. It should be noted that the fundamental difference between a random variable and a real-valued function of a real variable is the associated notion of a probability distribution. Also, the name R.V(random variable) and not a function because the R.V is developed long before the term function is introduced.

Example 1 Suppose that a coin is tossed twice, let X represent the number of heads which can come up. Find the possible values of X. Solution X= number of heads Possible values x=0,1,2 (the values in the range, ordered, no repetition). (H,H) (H,T) (T,H) (T,T) 1 2

Note Random variables may be given by describing the quantity of interest, for example, in the case of X in the preceding example, we let X represent the number of heads which can come up. From this the functional relationship between sample space elements and real numbers may be determined. It should be noted that many other random variables could also be defined on this sample space, for example the square of the number of heads, the number of heads minus the number of tails, etc.

Discrete Distributions Recall that a set of elements is Countably infinite if the elements of the set can be put into one-to-one Correspondence with the positive integers Discrete Distributions It is said that a random variable X has a discrete distribution if X can take only a finite number n of different values x1,...,xn or, countably infinite number of different values x1, x2,…. Examples of discrete random variables are; the number of bacteria per unit area in the study of drug control on bacterial growth, the number of defective television sets in a shipment of 100.Indeed, discrete random variables most often represent counts associated with real phenomena. If X can take an infinite number of possibilities equal to the number of points on a line segment, then X has a continuous distribution. Definition: If a random variable X has a discrete distribution, the probability mass function (abbreviated p.m.f.) of X is defined as the function f such that for any real number x, f(x) = P(X = x) and f(x)=0, for any point x which is not one of the possible values of X. The expression (X= x) can be read, the set of all points in S assigned the value x by the random variable X, and P(X=x) is defined to be the sum of the probabilities of all sample points in S that are assigned the value x.

Probability mass function (p.m.f.) Properties of p.m.f. f(x) is a probability mass function iff It is often instructive to present the probability mass function in graphical format by plotting f(x) on the y-axis against X; on the x-axis. Before presenting several examples of p.m.f, we would like to point out that the p.m.f. of X is often called by a variety of other names. Among these are the following: 1. Distribution of the random variable X 2. Probability function 3. Discrete density function.

Example 2 Determine whether the following can be probability mass function and explain your answers. 1. ƒ (x) =1/5 , x = 0,1,2,3,4,5

Example 3 (H,H) (H,T) (T,H) (T,T) -2 2 Suppose that a pair of fair coins is tossed and let the random variable X denote the number of heads minus the number of tails. 1. Obtain the probability distribution for X X=number of H - number of T, S= {HH,HT,TH,TT} The probability distribution for X sum 2 -2 x 1 1/4 1/2 f(x)

Continued Example 3 2. Construct a graph for this probability distribution sum 2 -2 x 1 1/4 1/2 f(x) -2

Continued Example 3 3. Find P(X=1), f(-2), P(X ≤ 2),P(-2≤X<2),P(X<0) P(X=1)=f(1)=0 f(-2)=1/4 P(X≤ 2)=P(X= - 2)+P(X=0)+P(X=2)=1/4+1/2+1/4=1 P(-2≤X<2)=P(X= -2)+P(X=0)=1/4+1/2=3/4 P(X<0)=P(X= -2)=1/4 sum 2 -2 x 1 1/4 1/2 f(x)

Example 4 Find the value of k if Solution 0.2+k+0.5=1 k=0.3 1 -1 x 0.5 -1 x 0.5 k 0.2 f(x) 0.2+k+0.5=1 k=0.3

Example 5 A shipment of 7 television sets contains 2 defectives. 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 for X. Solution: X ≡ number of defective possible values of x=0,1,2 1 x 1/7 4/7 2/7 f(x)

Cumulative Distribution Functions The cumulative distribution function (abbreviated c.d.f.), or more simply the distribution function F of the random variable X, is defined for all real numbers x, -∞ <x < ∞ as F (x)= P( X ≤ x) In words, F(x) denotes the probability that the random variable X takes on a value that is less than or equal to x. Some properties of the c.d.f F are 0≤F(x)≤1 F is nondecreasing function; that is, if x < y , then F (x) ≤ F ( y) lim x → -∞ F ( x ) = 0 i.e. F(x) = 0 for every x that is less than the smallest value in S limx → ∞ F ( x ) = 1 i.e. F(x)= 1 for every x that is grater than the largest x values in S. F is right continuous. That is, for any x and any decreasing sequence xn ,n ≥ 1, that converges to x, limx → ∞ F (xn) = F( x ) Note: For a discrete random variable X, the graph of F(x) will have a jump at every possible value of X and will be flat between possible values. Such a graph is called a step function.

Example The probability mass function of the random variable X is given as Find the distribution function F(x) and graph this distribution function. Solution: 3 2 1 x 1/6 1/3 1/2 f(x) Graph of F(x) (step function)

Cumulative distribution function All probability questions about X can be answered in terms of the c.d.f. For example, P(X≤ a)=F (a) P(X=a)=P( X≤ a) -P (X< a) =P(X≤ a )-P(X≤ a-1) =1- F(a) - F (a-1) P(X>a)=1- P(X≤ a)=1 - F(a) P(X≥ a)=1- P(X<a)=1- P(X≤ a -1)= 1-F(a-1) P(X<a)=P(X≤ a - 1)=F (a -1) P(a <X ≤ b)=F(b)-F(a)

All probabilities in term of F(a) In summary, all probabilities in term of F(a) 1. P(a<X≤b) = F (b) – F (a ) 2. P(a≤ X≤ b) = P(a-1<X ≤ b) = F(b) –F (a-1) 3. P(a < X < b) = P(a < X≤ b-1)= F (b-1) – F (a ) 4. P(a≤ X< b) = P(a-1<X ≤ b-1) =F (b-1) – F (a-1 ) 5. P(X = a) = F(a) – F (a-1) 6. P(X ≤ a ) = F (a ) 7. P (X < a ) = P (X ≤ a – 1 ) = F ( a – 1 ) 8. P (X > a ) = 1 –P (X ≤ a ) = 1 – F ( a ) 9. P (X ≥ a ) = 1 – P (X < a ) = 1 – P ( X ≤ a – 1 ) = 1 F ( a – 1 )

Example 1. Determine the p .m .f. The probability mass function is The distribution function of the random variable X is given by 1. Determine the p .m .f. The probability mass function is 2. Compute P(X< 0) =0 P (X = 2 ) =F(2)-F(1)=0.92-0.75=0.17 P( X ≤ 5) =F(5)=1 P (1/2 < X ≤ 4) =F(4)-F(1/2)=1-0.25=0.75 Sum 3 2 1 x 0.08 0.17 0.5 0.25 f(x) Or simply f(2)=0.17