Random Variables Section 3.1 A Random Variable: is a function on the outcomes of an experiment; i.e. a function on outcomes in S. For discrete random variables,

Slides:



Advertisements
Similar presentations
Discrete Random Variables and Probability Distributions
Advertisements

DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS
Chapter 5 Discrete Random Variables and Probability Distributions
Chapter 8: Binomial and Geometric Distributions
ฟังก์ชั่นการแจกแจงความน่าจะเป็น แบบไม่ต่อเนื่อง Discrete Probability Distributions.
CHAPTER 13: Binomial Distributions
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 7 Probability.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 6: Random Variables Section 6.3 Binomial and Geometric Random Variables.
Chapter 2 Discrete Random Variables
Chapter 4: Probabilistic features of certain data Distributions Pages
Chapter 4 Discrete Random Variables and Probability Distributions
5.1 Sampling Distributions for Counts and Proportions.
Probability Distributions
Discrete Random Variables and Probability Distributions
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Chapter 5 Discrete Random Variables and Probability Distributions
Slide 1 Statistics Workshop Tutorial 7 Discrete Random Variables Binomial Distributions.
McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited. Adapted by Peter Au, George Brown College.
Chapter 5 Several Discrete Distributions General Objectives: Discrete random variables are used in many practical applications. These random variables.
Copyright © Cengage Learning. All rights reserved. 3.5 Hypergeometric and Negative Binomial Distributions.
CHAPTER 6 Random Variables
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Discrete Random Variables Chapter 4.
1 Overview This chapter will deal with the construction of probability distributions by combining the methods of Chapter 2 with the those of Chapter 4.
Probability Distribution
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Review and Preview This chapter combines the methods of descriptive statistics presented in.
HW adjustment Q70 solve only parts a, b, and d. Q76 is moved to the next homework and added-Q2 is moved to the next homework as well.
The Negative Binomial Distribution An experiment is called a negative binomial experiment if it satisfies the following conditions: 1.The experiment of.
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.
Binomial Probability Distribution
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 6 Random Variables 6.3 Binomial and Geometric.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 5 Discrete Random Variables.
Math b (Discrete) Random Variables, Binomial Distribution.
The Binomial Distribution
4.2 Binomial Distributions
Exam 2: Rules Section 2.1 Bring a cheat sheet. One page 2 sides. Bring a calculator. Bring your book to use the tables in the back.
Discrete Random Variables. Discrete random variables For a discrete random variable X the probability distribution is described by the probability function,
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 6 Random Variables 6.3 Binomial and Geometric.
Chapter 5 Discrete Random Variables Probability Distributions
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
Engineering Probability and Statistics - SE-205 -Chap 3 By S. O. Duffuaa.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
Slide 1 Copyright © 2004 Pearson Education, Inc. Chapter 5 Probability Distributions 5-1 Overview 5-2 Random Variables 5-3 Binomial Probability Distributions.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Chapter 3 Applied Statistics and Probability for Engineers
Ch3.5 Hypergeometric Distribution
Discrete Random Variables and Probability Distributions
Discrete Random Variables
Discrete Probability Distributions
Discrete Random Variables
Random Variables.
CHAPTER 2 RANDOM VARIABLES.
Engineering Probability and Statistics - SE-205 -Chap 3
Chapter 2 Discrete Random Variables
AP Statistics Chapter 16.
Chapter 5 Statistical Models in Simulation
3.4 The Binomial Distribution
Chapter 5 Some Important Discrete Probability Distributions
Simple Random Sample A simple random sample (SRS) of size n consists of n elements from the population chosen in such a way that every set of n elements.
Probability Theory and Specific Distributions (Moore Ch5 and Guan Ch6)
Elementary Statistics
M248: Analyzing data Block A UNIT A3 Modeling Variation.
12/12/ A Binomial Random Variables.
Discrete Probability Distributions
Chapter 11 Probability.
Presentation transcript:

Random Variables Section 3.1 A Random Variable: is a function on the outcomes of an experiment; i.e. a function on outcomes in S. For discrete random variables, we call P(X = x) = P(x) the probability mass function (pmf). From the axioms of probability, we can show that: A CDF, F(x) is defined to be,

Expected values Section 3.3 The expected value E(X) of a discrete random variable is the weighted average or the mean of that random variable, The variance of a discrete random variable is the weighted average of the squared distance from the mean, The standard deviation, Let h(X) be a function, a and b be constants then,

The Binomial Distribution An experiment is called a binomial experiment if it satisfies the following conditions: 1.The experiment of interest here consists of a sequence of n sub-experiments called trials, where n is fixed in advance of the experiment. 2.Each trial can result in one of two outcomes usually denoted by success (S) or failure (F). 3.These trials are independent (outcome of one trial doesn’t affect any of the others). 4.The probability of success, p, is constant from trial to trial Section 3.4

The Binomial Distribution What the above is saying: The experiment consists of a group of n independent Bernoulli sub-experiments, where n is fixed in advance of the experiment and the probability of a success is p. Section 3.4 What we are interested in studying is the number of successes that we may observe in any run of such an experiment.

The Binomial Distribution 0.1 Section 3.4 Example: Each component of the following system (components connected in parallel) has a 0.1 chance of breaking down (crazy enough is called a success). Assuming that none of these components affect the performance of any of the others, construct the associated probability distribution.

As we have seen in studying uncertainty: 1)Identify the experiment of interest and understand it well (including the associated population) 2)Identify the sample space (all possible outcomes) 3)Identify an appropriate random variable that reflects what you are studying (and simple events based on this random variable) 4)Construct the probability distribution associated with the simple events based on the random variable The Binomial Distribution Section 3.4

1)Identify the experiment of interest and understand it well (including the associated population) The Binomial Distribution A binomial experiment! Section 3.4 The experiment consists of a group of n independent Bernoulli sub-experiments, where n is fixed in advance of the experiment and the probability of a success is p.

2)Identify the sample space (all possible outcomes) The Binomial Distribution S = {SSSSS, SSSSF, SSSFS, SSFSS, SFSSS, FSSSS, SSSFF, SSFSF, …, FFFFF} How many possible outcomes? Section 3.4 All equally likely? Find the probability of one of the simple events?

3)Identify an appropriate random variable that reflects what you are studying (and simple events based on this random variable) The Binomial Distribution Section 3.4 What we are interested in studying in these experiments is the number of successes that we may observe in any run of the experiment. So the random variable of interest is: S new = {0, 1, 2, 3, 4, 5}

4)Construct the probability distribution associated with the simple events based on the random variable The Binomial Distribution Section 3.4 X = 0 => no success! In how many different ways can we have zero success? To answer this we need to know if order maters or not! In a Binomial experiment a success is a success no matter where it happens; i.e. order doesn’t matter! Number of ways to get zero successes is? The probability of a zero success is?

4)Construct the probability distribution associated with the simple events based on the random variable The Binomial Distribution Section 3.4 X = 1 => one success! One of those is {SFFFF} In how many different ways can we have one success? Need to count the number of ways in which we can order 5 objects with 1 S and 4 indistinguishable F’s! The probability of this specific simple event is? So, probability of one success is?

The Binomial Distribution Section 3.4 4)Construct the probability distribution associated with the simple events based on the random variable X = 2 => two successes! One of those is {SSFFF} In how many different ways can we have two successes? Need to count the number of ways in which we can order 5 objects with 2 indistinguishable S’s and 3 indistinguishable F’s! The probability of this specific simple event is? So, probability of two successes is?

The Binomial Distribution Section 3.4 4)Construct the probability distribution associated with the simple events based on the random variable X = 3 => three successes! One of those is {SSSFF} X = 4 => four successes! One of those is {SSSSF} X = 5 => five successes! {SSSSS} So, in general for any x, P(X=x) is For any n and any x, P(X=x) is

x012345Sum P(X = x) The Binomial Distribution Section 3.4 4)Construct the probability distribution associated with the simple events based on the random variable The resulting distribution in table format: Found using dbinom(x, n, p) in R Can be found using the CDF given in table A.1 (which you might use in the next exam)

The Binomial Distribution Section 3.4 Notation in association with the binomial experiment: The binomial random variable X = the number of successes (S’s) among n Bernoulli trials or sub- experiments. We say X is distributed Binomial with parameters n and p,

The Binomial Distribution Section 3.4 Notation in association with the binomial experiment: The pmf can become (depending on the book), The CDF can become (also depending on the book),

The Binomial Distribution Section 3.4 The mean, the variance and the standard deviation:

The Binomial Distribution Section 3.4 When to use the binomial distribution? 1.When we have n independent Bernoulli trials 2.When each Bernoulli trial is formed from a sample n of individuals (parts, animals, …) from a population with replacement. 3.When each Bernoulli trial is formed from a sample of n individuals (parts, animals, …) from a population of size N without replacement if n/N < 5%.

The Binomial Distribution Section 3.4 Example: Ten light bulbs were chosen at random from a batch of produced by GE. If we know that 100 of these light bulbs are defective, what is the chance that we will observe 2 or more defectives in this sample? If we sample with replacement.

As we have seen in studying uncertainty: 1)Identify the experiment of interest and understand it well (including the associated population) 2)Identify the sample space (all possible outcomes) 3)Identify an appropriate random variable that reflects what you are studying (and simple events based on this random variable) 4)Construct the probability distribution associated with the simple events based on the random variable The Binomial Distribution Section 3.4

The Binomial Distribution Section 3.4 Example: Ten light bulbs were chosen at random from a batch of produced by GE. If we know that 100 of these light bulbs are defective, what is the chance that we will observe 2 or more defectives in this sample? If we sample without replacement.

The Binomial Distribution Section 3.4 A touch on inference: Say that one day we passed by the factory of the first example and we found that 4 machines (out of the 5) are not working. Do you think that the model (governed by the parameters n = 5 and p = 0.1) is appropriate to describe this system? Why? Or why not? Can you find a better model (i.e. a better value of the parameters) that fits this observed data?

x012345Sum P(X = x) The Binomial Distribution Section 3.4 The resulting distribution in table format:

The Binomial Distribution Section 3.4

The Binomial Distribution Section 3.4

The Binomial Distribution Section 3.4

So this sample either happened by chance with probability , if the model we are using is true, or is best described by a model with p = 0.8. The Binomial Distribution Section 3.4 The likelihood of this data under the current model is and under the new model is So, if the p = 0.1 is not known for sure (it usually is) then, based on our observation, we favor a model with p = 0.8. What kind of implications does this have for the factory?