Probability and Statistics

Similar documents
Binomial Random Variables. Binomial Random Variables

Probability and Statistics for Engineers

Probability Theory. Mohamed I. Riffi. Islamic University of Gaza

4 Random Variables and Distributions

Chapter 3 Discrete Random Variables and Probability Distributions

Probability Distributions for Discrete RV

Chapter 3 Discrete Random Variables and Probability Distributions

Probability Theory and Simulation Methods. April 9th, Lecture 20: Special distributions

6. THE BINOMIAL DISTRIBUTION

Geometric & Negative Binomial Distributions

4.2 Bernoulli Trials and Binomial Distributions

LECTURE CHAPTER 3 DESCRETE RANDOM VARIABLE

Math 14 Lecture Notes Ch. 4.3

Some Discrete Distribution Families

Probability mass function; cumulative distribution function

Chapter 5 Discrete Probability Distributions. Random Variables Discrete Probability Distributions Expected Value and Variance

Binomial Random Variables. Binomial Distribution. Examples of Binomial Random Variables. Binomial Random Variables

Discrete Random Variables and Probability Distributions. Stat 4570/5570 Based on Devore s book (Ed 8)

Discrete Random Variables

Chapter 3 - Lecture 5 The Binomial Probability Distribution

MA : Introductory Probability

STOR Lecture 7. Random Variables - I

1. A player of Monopoly owns properties with respective rents $90, $150, $200, $150. Anyone landing on a given property has to pay the rent.

PROBABILITY AND STATISTICS CHAPTER 4 NOTES DISCRETE PROBABILITY DISTRIBUTIONS

12. THE BINOMIAL DISTRIBUTION

12. THE BINOMIAL DISTRIBUTION

Probability Review. Pages Lecture 1: Probability Theory 1 Main Ideas 2 Trees 4 Additional Examples 5

MAS187/AEF258. University of Newcastle upon Tyne

STA258H5. Al Nosedal and Alison Weir. Winter Al Nosedal and Alison Weir STA258H5 Winter / 41

AP Statistics Test 5

Discrete Random Variables and Probability Distributions

Random Variable: Definition

Probability Distributions II

Multinomial Coefficient : A Generalization of the Binomial Coefficient

Mathematics of Randomness

Bernoulli and Binomial Distributions

8.1 Binomial Distributions


Binomial distribution

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

AP Statistics Ch 8 The Binomial and Geometric Distributions

Chapter 4: Commonly Used Distributions. Statistics for Engineers and Scientists Fourth Edition William Navidi

CIVL Discrete Distributions

Central Limit Theorem 11/08/2005

Lecture 23. STAT 225 Introduction to Probability Models April 4, Whitney Huang Purdue University. Normal approximation to Binomial

Math Week in Review #10. Experiments with two outcomes ( success and failure ) are called Bernoulli or binomial trials.

Econ 250 Fall Due at November 16. Assignment 2: Binomial Distribution, Continuous Random Variables and Sampling

AMS 7 Sampling Distributions, Central limit theorem, Confidence Intervals Lecture 4

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions.

Probability Binomial Distributions. SOCY601 Alan Neustadtl

Commonly Used Distributions

CS 237: Probability in Computing

4-1. Chapter 4. Commonly Used Distributions by The McGraw-Hill Companies, Inc. All rights reserved.

Answer Key: Quiz2-Chapter5: Discrete Probability Distribution

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

The binomial distribution p314

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise.

Normal Distribution. Definition A continuous rv X is said to have a normal distribution with. the pdf of X is

Chapter 8: The Binomial and Geometric Distributions

Chapter 7. Sampling Distributions and the Central Limit Theorem

Chapter 5: Probability models

M3S1 - Binomial Distribution

Mean of a Discrete Random variable. Suppose that X is a discrete random variable whose distribution is : :

5.3 Statistics and Their Distributions

Objective: To understand similarities and differences between geometric and binomial scenarios and to solve problems related to these scenarios.

LESSON 9: BINOMIAL DISTRIBUTION

ECON 214 Elements of Statistics for Economists 2016/2017

5. In fact, any function of a random variable is also a random variable

Sampling & populations

Part 1 In which we meet the law of averages. The Law of Averages. The Expected Value & The Standard Error. Where Are We Going?

CIVL Learning Objectives. Definitions. Discrete Distributions

Binomial Probability

15.063: Communicating with Data Summer Recitation 3 Probability II

SOME MOST POPULAR DISTRIBUTIONS OF RANDOM VARIABLES

Section 8.4 The Binomial Distribution

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning, Lecture 3, 1.9

The Binomial Probability Distribution

Business Statistics. Chapter 5 Discrete Probability Distributions QMIS 120. Dr. Mohammad Zainal

MATH 264 Problem Homework I

STATISTICS and PROBABILITY

Engineering Statistics ECIV 2305

Chapter 5 Student Lecture Notes 5-1. Department of Quantitative Methods & Information Systems. Business Statistics

The Binomial distribution

Lecture 9: Plinko Probabilities, Part III Random Variables, Expected Values and Variances

2.) What is the set of outcomes that describes the event that at least one of the items selected is defective? {AD, DA, DD}

Simple Random Sample

Chapter 7 1. Random Variables

Section 7.5 The Normal Distribution. Section 7.6 Application of the Normal Distribution

IEOR 3106: Introduction to OR: Stochastic Models. Fall 2013, Professor Whitt. Class Lecture Notes: Tuesday, September 10.

Stat511 Additional Materials

Binomial Distributions

2011 Pearson Education, Inc

(Practice Version) Midterm Exam 1

ECEn 370 Introduction to Probability

Statistics 6 th Edition

The Binomial Distribution

1 PMF and CDF Random Variable PMF and CDF... 4

Random variables. Discrete random variables. Continuous random variables.

Chapter Learning Objectives. Discrete Random Variables. Chapter 3: Discrete Random Variables and Probability Distributions.

STAT Lab#5 Binomial Distribution & Midterm Review

Transcription:

Probability and Statistics Alvin Lin Probability and Statistics: January 2017 - May 2017 Binomial Random Variables There are two balls marked S and F in a basket. Select a ball 3 times with replacement. At each trial, S is likely to be chosen with probability p, and F is likely to be chosen with probability 1 p. Let X be the random variable of the experiment indicating the number of times S is chosen. X = 1 X = 2 SSS SSF SFS SFF FSS FSF FFS FFF Find the probability mass function of X, b(x; 3, p): b(0; 3, p) = P (X = 0) = (1 p) 3 The underlying assumption is on the independence of the events: 1

A 1 : getting an S in the first trial A 2 : getting an S in the second trial A 3 : getting an S in the third trial A 1, A 2, and A 3 are mutually independent. b(0; 3, p) = P (X = 0) = (1 p)(1 p)(1 p) = p 0 (1 p) 3 0 0 b(1; 3, p) = p(1 p)(1 p) + (1 p)p(1 p) + (1 p)(1 p)p = p 1 (1 p) 3 1 1 From 3 distinct items (trial 1, trial 2, trial 3), select 1 item. There are 3 C 1 possible combinations. b(2; 3, p) = P (X = 2) = (p)(p)(1 p) + p(1 p)p + (1 p)(p)(p) = p 2 (1 p) 3 2 2 {( 3 b(x; 3, p) = x) p x (1 p) 3 x, x = 0, 1, 2,..., n 0, otherwise The above example is an example of a binomial experiment with a binomial random variable. 1. This experiment consists of a sequence of n smaller experiments called trials, where n is fixed in advance of the experiment. 2. Each trial can result in one of the two possible outcomes (dichotomous trials), which we generically denote by success(s) or f ailure(s). The assignment of the S and F labels to the two sides of the dichotomy is arbitrary. 3. The trials are independent, so that the outcome on any particular trial does not influence the outcome of any other trial. 2

4. The probability of success P (S) is constant from trial to trial. We denote this probability by p. An experiment for which the above conditions (a fixed number of dichotomous, independent, homogeneous trials) ar satisfied is called a binomial experiment. PMF of a binomial random variable X The probability mass function of a binomial random variable X is: {( n b(x; n, p) = x) p x (1 p) n x, x = 1, 2, 3,..., n 0, otherwise The value of X indicates the number of S es. CDF of a binomial random variable X The cumulative distribution function of a binomial random variable X is: B(x; n, p) = P (X x) x = b(y; n, p) y=0 if x = 0, 1, 2,..., n X Bin(n, p) denotes that X is a binomial random variable with probability mass function b(x;n,p). Expected value of a binomial random variable X E(X) = x {0,1,2,...,n} xb(x; n, p) = np Variance of a binomial random variable X V (X) = x {0,1,2,...,n} (x E(X)) 2 b(x; n, p) = np(1 p) The standard deviation of X is σ = V (X) = np(1 p) 3

Example An aircraft seam requires 25 rivets. The seam will have to be reworked if any of these rivets are defective. Suppose rivets are defective independently of one another, each with the same probability. If 15% of all seams need reworking, what is the probability that a rivet is defective? 1 0.15 = P (a seam does not need reworking) = P (a seam has zero defective rivets) = (1 p) 25 1 p = 0.85 1 25 p = 1 0.85 1 25 Find the probability that a randomly selected seam has exactly 3 defective rivets. ( ) 25 p 3 (1 p) 22 3 Example A very large batch of components has arrived at a distributor. The batch can be characterized as acceptable only if the proportion of defective components is at most 0.10. The distributor decides to randomly select 10 or 15 components and to accept the batch only if the defective components in the sample is at most 1 or 2, respectively. Consider a simpler experiment. Select 2 components and inspect them. The probability that the two are both defective is: ( k N )( k 1 N 1 ) where k is the number of defective components in the batch. If N and k are large: k 1 N 1 k N Consider sampling without replacement from a dichotomous population of size N. If the sample size (number of trials) n is at most 5% of the population size. The experiment can be analyzed as though it were a binomial experiment. Trial: select a component from the batch and inspect the component for defects. 4

where k is the number of defective components in the batch and X is the number of defective components in the n trials. In the real world, we do not replace a component after inspecting it, but we can approximate it for the purpose of this experiment. X Bin(10, p) 2 P (X 2) = b(x; n, p) = x=0 2 x=0 ( ) n p x (1 p) n x x Method 1 : n = 10 P (X 2) 0.999 0.9985 0.9298 0.6778 0.5256 Method 2 : n = 10 P (X 1) 0.9957 0.9139 0.7361 0.3758 0.2440 Method 3 : n = 15 P (X 2) 0.9996 0.9638 0.8159 0.3980 0.2361 Which method is the best? Our goal is that the batch is accepted if p 0.10 and rejected if p > 0.10. 0.10 P (the event such that we accept the batch) high low The third method is the best. You can find all my notes at http://omgimanerd.tech/notes. If you have any questions, comments, or concerns, please contact me at alvin@omgimanerd.tech 5