Random Variables and Probability Distributions

Slides:



Advertisements
Similar presentations
Chapter 2 Multivariate Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
Advertisements

Chapter 2 Concepts of Prob. Theory
1. Frequency Distribution & Relative Frequency Distribution 2. Histogram of Probability Distribution 3. Probability of an Event in Histogram 4. Random.
Chapter 5 Discrete Random Variables and Probability Distributions
Chapter 4 Probability and Probability Distributions
Some Basic Concepts Schaum's Outline of Elements of Statistics I: Descriptive Statistics & Probability Chuck Tappert and Allen Stix School of Computer.
Today Today: More of Chapter 2 Reading: –Assignment #2 is up on the web site – –Please read Chapter 2 –Suggested.
Discrete Random Variables and Probability Distributions
Probability Distributions
Class notes for ISE 201 San Jose State University
Continuous Random Variables and Probability Distributions
Eighth lecture Random Variables.
Eighth lecture Random Variables.
Joint Probability distribution
Probability Distributions: Finite Random Variables.
Chapter6 Jointly Distributed Random Variables
Joint Probability Distributions Leadership in Engineering
Econ 482 Lecture 1 I. Administration: Introduction Syllabus Thursday, Jan 16 th, “Lab” class is from 5-6pm in Savery 117 II. Material: Start of Statistical.
Random Variables and Probability Distributions
Chapter 6: Probability Distributions
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Review and Preview This chapter combines the methods of descriptive statistics presented in.
Chapter 3 Random Variables and Probability Distributions 3.1 Concept of a Random Variable: · In a statistical experiment, it is often very important to.
Theory of Probability Statistics for Business and Economics.
Applied Business Forecasting and Regression Analysis Review lecture 2 Randomness and Probability.
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}.
Chapter Four Random Variables and Their Probability Distributions
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
Essential Statistics Chapter 91 Introducing Probability.
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Review of Statistics I: Probability and Probability Distributions.
President UniversityErwin SitompulPBST 3/1 Dr.-Ing. Erwin Sitompul President University Lecture 3 Probability and Statistics
AP STATISTICS Section 7.1 Random Variables. Objective: To be able to recognize discrete and continuous random variables and calculate probabilities using.
Continuous Random Variables and Probability Distributions
MATH 256 Probability and Random Processes Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3 OKAN UNIVERSITY.
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.
Copyright © Cengage Learning. All rights reserved. 5 Joint Probability Distributions and Random Samples.
Statistics and Probability Theory Lecture 12 Fasih ur Rehman.
3.4 Joint Probability Distributions
Copyright © Cengage Learning. All rights reserved. 8 PROBABILITY DISTRIBUTIONS AND STATISTICS.
Random Variables and Probability Distribution (1)
CHAPTER 10: Introducing Probability
Basic Practice of Statistics - 3rd Edition Introducing Probability
APPENDIX A: A REVIEW OF SOME STATISTICAL CONCEPTS
3 Discrete Random Variables and Probability Distributions
Section 7.3: Probability Distributions for Continuous Random Variables
Discrete Random Variables and Probability Distributions
Unit 5 Section 5-2.
Discrete and Continuous Random Variables
Chapter 4 Probability Concepts
CHAPTER 2 RANDOM VARIABLES.
What is Probability? Quantification of uncertainty.
Probability The term probability refers to indicate the likelihood that some event will happen. For example, ‘there is high probability that it will rain.
Chapter Four Random Variables and Their Probability Distributions
Chapter 16.
Probability distributions
Basic Practice of Statistics - 3rd Edition Introducing Probability
Basic Practice of Statistics - 3rd Edition Introducing Probability
Probability, Statistics
Discrete Distributions
Chapter 2.3 Counting Sample Points Combination In many problems we are interested in the number of ways of selecting r objects from n without regard to.
Discrete Distributions
Random Variables and Probability Distributions
Discrete Distributions.
7.1: Discrete and Continuous Random Variables
Discrete & Continuous Random Variables
Discrete Distributions
Essential Statistics Introducing Probability
Discrete Random Variables and Probability Distributions
Random Variables Binomial and Hypergeometric Probabilities
Basic Practice of Statistics - 5th Edition Introducing Probability
Chapter 11 Probability.
Presentation transcript:

Random Variables and Probability Distributions Chapter 3 Random Variables and Probability Distributions Chapter 3 Random Variables and Probability Distributions

Concept of a Random Variable Chapter 3.1 Concept of a Random Variable Concept of a Random Variable Random variable is a function that associates a real number with each element in the sample space. In other words, random variable is a numerical description of the outcome of an experiment, where each outcome gets assigned a numerical value. A capital letter, say X, is used to denotes a random variable and its corresponding small letter, x in this case, for one of its values.

Concept of a Random Variable Chapter 3.1 Concept of a Random Variable Concept of a Random Variable The sample space giving a detailed description of each possible outcome when three electronic components are tested may be written as One is concerned with the number of defectives that occurs. Thus each point in the sample space will be assigned a numerical value of 0, 1, 2, or 3. Then, the random variable X assumes the value 2 for all elements in the subset 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

Sample Space and Random Variable Chapter 3.1 Concept of a Random Variable Sample Space and Random Variable 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. 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. A random variable is called a discrete random variable if its set of possible outcomes is countable. A random variable is called a continuous random variable if it can take on values on a continuous scale. If X is the random variable assigned to the waiting time, in minute, for a bus at a bus stop, then the random variable X may take on all values of waiting time x, x ≥ 0. In this case, X is a continuous random variable.

Discrete Probability Distributions Chapter 3.2 Discrete Probability Distributions Discrete Probability Distributions Frequently, it is convenient to represent all the probabilities of a random variable X by a formula. Such a formula would necessarily be a function of the numerical values x, denoted by f(x), g(x), r(x), and so forth. For example, 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,

Discrete Probability Distributions Chapter 3.2 Discrete Probability Distributions Discrete Probability Distributions In the experiment of tossing a fair coin twice, the random variable X represents how many times the head turns up. The possible value for x of X and their probability can be summarized as

Discrete Probability Distributions Chapter 3.2 Discrete Probability Distributions Discrete Probability Distributions A shipment of 20 similar laptop computers 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. Let X be a random variable, whose value x are the possible numbers of defective computers purchased by the school.

Discrete Probability Distributions Chapter 3.2 Discrete Probability Distributions Discrete Probability Distributions There are many problems where we may wish to compute the probability that the observed value of a random variable X will be less than or equal to some real number x. The cumulative distribution F(x) of a discrete random variable X with probability distribution f(x) is Example of a probability distribution Example of a cumulative distribution

Continuous Probability Distributions Chapter 3.3 Continuous Probability Distributions Continuous Probability Distributions In case the sample space is continuous, there can be unlimited number of possible value for the samples. Thus, it is more meaningful to deal with an interval rather than a point value of a random variable. For example, it does not make sense to know the probability of selecting person at random who is exactly 164 cm tall. It will be more useful to talk about the probability of selecting a person who is at least 163 cm but not more than 165 cm. We shall concern ourselves now with computing probabilities for various intervals of continuous random variables such as P(a < X < b), P(W ≥ c), P(U ≤ d) and so forth. Note that when X is continuous Probability of a point value is zero

Continuous Probability Distributions Chapter 3.3 Continuous Probability Distributions Continuous Probability Distributions In dealing with continuous variables, the notation commonly used is f(x) and it is usually called the probability density function, or the density function of X. For most practical application, the density functions are continuous and differentiable. Their graphs may take any forms, but since it will be used to represent probabilities, the density function must lie entirely above the x axis to represent positive probability. x f(x) x f(x) x f(x)

Continuous Probability Distributions Chapter 3.3 Continuous Probability Distributions Continuous Probability Distributions A probability density function is constructed so that the area under its curve bounded by the x axis is equal to 1 when computed over the range of X for which f(x) is defined. In the figure below, 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.

Continuous Probability Distributions Chapter 3.3 Continuous Probability Distributions Continuous Probability Distributions The function f(x) is a probability density function for the continuous random variable X, defined over the set of real numbers R if

Continuous Probability Distributions Chapter 3.3 Continuous Probability Distributions Continuous Probability Distributions Suppose that the error in the reaction temperature, in °C, for a controlled laboratory experiment is a continuous random variable X having the probability density function Verify whether Find P(0 < X ≤ 1)

Continuous Probability Distributions Chapter 3.3 Continuous Probability Distributions Continuous Probability Distributions The cumulative distribution F(x) of a continuous random variable X with density function f(x) is For the density function in the last example, find F(x) and use it to evaluate P(0 < X ≤ 1).

Joint Probability Distributions Chapter 3.4 Joint Probability Distributions Joint Probability Distributions If X and Y are two discrete random variables, the probability distribution for their simultaneous occurrence can be represented by a function with values f(x, y) for any pair of values (x, y) within the range of the random variables X and Y. Such function is referred to as the joint probability distribution of X and Y. The function f(x, y) is a joint probability density function or joint probability distribution function of the discrete random variables X and Y if For any region A in the xy plane,

Joint Probability Distributions Chapter 3.4 Joint Probability Distributions Joint Probability Distributions Two ballpoint pens are selected at random from a box that contains 3 blue pens, 2 red pens, and 3 green pens. If X is the number of blue pens selected and Y is the number of red pens selected, find the joint probability function f(x, y) P[(X, Y)  A], where A is the region {(x, y)|x + y ≤ 1}

Joint Probability Distributions Chapter 3.4 Joint Probability Distributions Joint Probability Distributions The function f(x, y) is a joint probability density function of the continuous random variables X and Y if For any region A in the xy plane.

Joint Probability Distributions Chapter 3.4 Joint Probability Distributions Joint Probability Distributions A privately owned business operates both a drive-in facility and a walk-in facility. On a randomly selected day, let X and Y, respectively, be the proportions of the time that the drive-in and the walk-in facilities are in use, and suppose that the joint density function of these random variables is Verify that f(x, y) is a joint density function. Find P[(X, Y)  A], where A is {(x, y)|0 < x < 1/2, 1/4 < y < 1/2}.

Joint Probability Distributions Chapter 3.4 Joint Probability Distributions Joint Probability Distributions Find P[(X, Y)  A], where A is {(x, y)|0 < x < 1/2, 1/4 < y < 1/2}.

Marginal Probability Distributions Chapter 3.4 Joint Probability Distributions Marginal Probability Distributions The marginal probability distribution functions of X alone and of Y alone are for the discrete case, and for the continuous case. The term marginal is used here because, in discrete case, the values of g(x) and h(y) are just the marginal totals of the respective columns and rows when the values of f(x, y) are displayed in a rectangular table.

Marginal Probability Distributions Chapter 3.4 Joint Probability Distributions Marginal Probability Distributions Show that the column and row totals from the “ballpoint pens” example give the marginal distribution of X alone and of Y alone. It is found that the values of g(x) are just the column totals of the table above. In similar manner we could show that the values of h(y) are given by the row totals.

Marginal Probability Distributions Chapter 3.4 Joint Probability Distributions Marginal Probability Distributions Find f(x) and h(y) for the joint density function of the “drive-in walk-in facility” example.

Conditional Probability Distributions Chapter 3.4 Joint Probability Distributions Conditional Probability Distributions Let X and Y be two random variables, discrete or continuous. The conditional probability distribution function of the random variable Y, given than X = x, is Similarly, the conditional distribution of the random variable X, given that Y = y, is

Conditional Probability Distributions Chapter 3.4 Joint Probability Distributions Conditional Probability Distributions If one wished to find the probability that the discrete random variable X falls between a and b when it is known that the discrete variable Y = y, we evaluate where the summation extends over all available values of X between a and b. When X and Y are continuous, we can find the probability that X lies between a and b by evaluating

Conditional Probability Distributions Chapter 3.4 Joint Probability Distributions Conditional Probability Distributions Referring back to the “ballpoint pens” example, find the conditional distribution of X, given that Y = 1, and use it to determine P(X = 0 | Y = 1).

Conditional Probability Distributions Chapter 3.4 Joint Probability Distributions Conditional Probability Distributions Given the joint density function find g(x), h(y), f(x|y), and evaluate P(1/4 < X < 1/2|Y = 1/3).

Statistical Independence Chapter 3.4 Joint Probability Distributions Statistical Independence Let X and Y be two random variables, discrete or continuous, with joint probability distribution f(x, y) and marginal distributions g(x) and h(y), respectively. The random variables X and Y are said to be statistically independent if and only if for all (x, y) within their range.

Statistical Independence Chapter 3.4 Joint Probability Distributions Statistical Independence Consider the following joint probability density function of random variables X and Y. Find the marginal density functions of X and Y Are X and Y statistically independent? Find P(X > 2|Y = 2)

Statistical Independence Chapter 3.4 Joint Probability Distributions Statistical Independence Are X and Y statistically independent? X and Y are not statistically independent Find P(X > 2|Y = 2)

Statistical Independence Chapter 3.4 Joint Probability Distributions Statistical Independence Let X1, X2, ..., Xn be n random variables, discrete or continuous, with joint probability distribution f(x1, x2, ..., xn) and marginal distributions f1(x1), f2(x2), ..., fn(xn), respectively. The random variables X1, X2, ..., Xn are said to be mutually statistically independent if and only if for all (x1, x2, ..., xn)) within their range.

Statistical Independence Chapter 3.4 Joint Probability Distributions Statistical Independence Suppose that the shelf life, in years, of a certain perishable food product packaged in cardboard containers is a random variable whose probability density function is given by Let X1, X2, and X3 represent the shelf lives for three of these containers selected independently and find P(X1<2, 1<X2<3, X3>2)

Probability and Statistics Homework 3A A game is played with the rule that a counter will move forward one, two, or four places according to whether the scores on the two dice rolled differ by three or more, by one or two, or are equal. Here we define a random variable, M, the number of places moved, which can take the value 1, 2, or 4. Determine the probability distribution of M. (Sou.04.E1 s.2) Let the random variable X denote the time until a computer server connects to your notebook (in milliseconds), and let Y denote the time until the server authorizes you as a valid user (in milliseconds). Each of these random variables measures the wait from a common starting time. Assume that the joint probability density function for X and Y is Show that X and Y are independent. (Mo.E5.20) Determine P(X > 1000, Y < 1000).

Probability and Statistics Homework 3B A player throws a dice whose face are numbered 1 to 6. If the player obtains a six, he throws the dice a second time, and in this case, his score is the sum of 6 and the second number; otherwise his score is the number obtained from the first throw only. The player cannot throw more than two times. Let X be the random variable denoting the player’s score. Write down the probability distribution of X and the cumulative distribution F(x) of X. (Sou.04.4.5.N7 s.12) Determine the probability that the sum of two successive scores is 8 or more. The joint probability density function for the number of minutes waiting to catch the first fish, X, and the number of minutes waiting to catch the second fish, Y, is given below. Determine the probability of: waiting 3 minutes to catch the first fish and 3 minutes to catch the second fish. waiting 2 minutes to catch the first fish. waiting at least two minutes to catch the first fish. waiting 2 minutes to catch the second fish, after catching the first fish within 1 minute. (Sou.04.4.5.N7 s.12)