Discrete Probability Distribution

Similar documents
What is Probability? Probability. Sample Spaces and Events. Simple Event

Probability Distributions for Discrete RV

Mathematics. ( : Focus on free Education) (Chapter 16) (Probability) (Class XI) Exercise 16.2

Applied Statistics I

Probability (10A) Young Won Lim 6/12/17

Lecture 6 Random Variable. Compose of procedure & observation. From observation, we get outcomes

Conditional Probability

Chapter 2: The Random Variable

Conditional Probability

Discrete random variables and probability distributions

The Bernoulli distribution has only two outcomes, Y, success or failure, with values one or zero. The probability of success is p.

27 Binary Arithmetic: An Application to Programming

Chapter (4) Discrete Probability Distributions Examples

Homework 4 Solution, due July 23

Discrete Random Variable

Outline. 1. Define likelihood 2. Interpretations of likelihoods 3. Likelihood plots 4. Maximum likelihood 5. Likelihood ratio benchmarks

Expected Value 7/7/2006

Statistical Experiment A statistical experiment is any process by which measurements are obtained.

STAT/MA 416 Answers Homework 4 September 27, 2007 Solutions by Mark Daniel Ward PROBLEMS

Random Variable. Discrete Random Variable. Continuous Random Variable. Discrete Random Variable. Discrete Probability Distribution

Chapter 3 Questions. Question 3.1. Based on the nature of values that each random variable can take, we can have the following classifications:

What is a random variable

Binomial random variable

More on Distribution Function

Statistics for Managers Using Microsoft Excel/SPSS Chapter 4 Basic Probability And Discrete Probability Distributions

Steve Smith Tuition: Maths Notes

BINOMIAL DISTRIBUTION

Notation: X = random variable; x = particular value; P(X = x) denotes probability that X equals the value x.

Probability. VCE Maths Methods - Unit 2 - Probability

Distribusi Binomial, Poisson, dan Hipergeometrik

success and failure independent from one trial to the next?

CS206 Review Sheet 3 October 24, 2018

2. In a clinical trial of certain new treatment, we may be interested in the proportion of patients cured.

Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary)

2. Conditional Probability

Prof. Thistleton MAT 505 Introduction to Probability Lecture 18

POISSON RANDOM VARIABLES

Thus, P(F or L) = P(F) + P(L) - P(F & L) = = 0.553

Why should you care?? Intellectual curiosity. Gambling. Mathematically the same as the ESP decision problem we discussed in Week 4.

CLASS 6 July 16, 2015 STT

Statistics for Managers Using Microsoft Excel (3 rd Edition)

Math/Stat 352 Lecture 8

9/6/2016. Section 5.1 Probability. Equally Likely Model. The Division Rule: P(A)=#(A)/#(S) Some Popular Randomizers.

V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE

Introduction to Probability and Statistics Slides 3 Chapter 3

p. 4-1 Random Variables

Part (A): Review of Probability [Statistics I revision]

To understand and analyze this test, we need to have the right model for the events. We need to identify an event and its probability.

Known probability distributions

Bayes Rule for probability

CISC 1100/1400 Structures of Comp. Sci./Discrete Structures Chapter 7 Probability. Outline. Terminology and background. Arthur G.

MODULE 2 RANDOM VARIABLE AND ITS DISTRIBUTION LECTURES DISTRIBUTION FUNCTION AND ITS PROPERTIES

Outline. 1. Define likelihood 2. Interpretations of likelihoods 3. Likelihood plots 4. Maximum likelihood 5. Likelihood ratio benchmarks

Key Concepts. Key Concepts. Event Relations. Event Relations

Joint Distribution of Two or More Random Variables

SDS 321: Introduction to Probability and Statistics

Lecture Lecture 5

Lecture 3: Random variables, distributions, and transformations

DEFINITION: IF AN OUTCOME OF A RANDOM EXPERIMENT IS CONVERTED TO A SINGLE (RANDOM) NUMBER (E.G. THE TOTAL

Chapter 3 Single Random Variables and Probability Distributions (Part 1)

Chapter 4: Probability and Probability Distributions

Suppose that you have three coins. Coin A is fair, coin B shows heads with probability 0.6 and coin C shows heads with probability 0.8.

NLP: Probability. 1 Basics. Dan Garrette December 27, E : event space (sample space)

Probability, Random Processes and Inference

II. The Binomial Distribution

Discrete Distributions

Deep Learning for Computer Vision

ΔP(x) Δx. f "Discrete Variable x" (x) dp(x) dx. (x) f "Continuous Variable x" Module 3 Statistics. I. Basic Statistics. A. Statistics and Physics

Chapter 4: Probability and Probability Distributions

Quantitative Methods for Decision Making

Discrete probability distributions

Events A and B are said to be independent if the occurrence of A does not affect the probability of B.

CS 1538: Introduction to Simulation Homework 1

Expected Value. Lecture A Tiefenbruck MWF 9-9:50am Center 212 Lecture B Jones MWF 2-2:50pm Center 214 Lecture C Tiefenbruck MWF 11-11:50am Center 212

Introductory Probability

Chapter 3: Random Variables 1

Introduction to Statistical Data Analysis Lecture 3: Probability Distributions

Review of Statistics I

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space

6.2 Introduction to Probability. The Deal. Possible outcomes: STAT1010 Intro to probability. Definitions. Terms: What are the chances of?

STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6. With SOLUTIONS

n How to represent uncertainty in knowledge? n Which action to choose under uncertainty? q Assume the car does not have a flat tire

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

STAT 430/510 Probability

Some Famous Discrete Distributions. 1. Uniform 2. Bernoulli 3. Binomial 4. Negative Binomial 5. Geometric 6. Hypergeometric 7.

Guidelines for Solving Probability Problems

b. ( ) ( ) ( ) ( ) ( ) 5. Independence: Two events (A & B) are independent if one of the conditions listed below is satisfied; ( ) ( ) ( )

Random Variable And Probability Distribution. Is defined as a real valued function defined on the sample space S. We denote it as X, Y, Z,

Statistics Statistical Process Control & Control Charting

Probabilistic models

Probability Distribution. Stat Camp for the MBA Program. Debbon Air Seat Release

Stochastic processes Lecture 1: Multiple Random Variables Ch. 5

STA 2023 EXAM-2 Practice Problems. Ven Mudunuru. From Chapters 4, 5, & Partly 6. With SOLUTIONS

Sec$on Summary. Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability

I. Introduction to probability, 1

4th IIA-Penn State Astrostatistics School July, 2013 Vainu Bappu Observatory, Kavalur

Introduction to bivariate analysis

Lecture 1 : The Mathematical Theory of Probability

Fault-Tolerant Computer System Design ECE 60872/CS 590. Topic 2: Discrete Distributions

Introduction to bivariate analysis

Transcription:

Shapes of binomial distributions Discrete Probability Distribution Week 11 For this activity you will use a web applet. Go to http://socr.stat.ucla.edu/htmls/socr_eperiments.html and choose Binomial coin eperiment in the drop down menu on the left. Set the number of trials to 20 and the probability of success to 0.15. Describe the shape of the distribution of number of successes. What happens to the shape of the distribution as n stays constant and p changes? What happens to the shape of the distribution as p stays constant and n changes? nomial Distribution: Binomial trials=20, Probability of succes inomial Distribution: Binomial trials=20, Probability of succes 0.00 0.05 0.10 0.15 0.20 0.25 0.00 0.05 0.10 0.15 0 2 4 6 8 Number of Successes 0 2 4 6 8 10 12 Number of Successes nomial Distribution: Binomial trials=100, Probability of succes 0.00 0.02 0.04 0.06 0.08 0.10 Distributions of number of successes Histograms of samples from the binomial model where p= 0.10 and n= 10, 30, 100, and 300. What happens as nincreases? 5 10 15 20 25 Number of Successes 1

How large is large enough? The sample size is considered large enough if the epected number of successes and failures are both at least 10. How large is large enough? The sample size is considered large enough if the epected number of successes and failures are both at least 10. np 10 and n(1 -p) 10 np 10 and n(1 -p) 10 10 0.13 1.3 10 (1-0.13) = 8.7 Below are four pairs of Binomial distribution parameters. Which distribution can be approimated by the normal distribution? 1. n = 100, p = 0.95 2. A. n n= = 100, 25, p p= = 0.45 0.95 3. B. n= n = 25, 150, p= p = 0.45 0.05 4. C. n= n = 150, 500, p= p = 0.05 0.015 D. n= 500, p= 0.015 Below are four pairs of Binomial distribution parameters. Which distribution can be approimated by the normal distribution? 1. n = 100, p = 0.95 2. A. n n= = 100, 25, p p= = 0.45 0.95 B. 3. n = 25, 150, p p = = 0.45 0.05 25 0.45 = 11.25, 25 0.55 = 13.75 C. 4. n= n = 150, 500, p= p = 0.05 0.015 D. n= 500, p= 0.015 Hypergeometric Distribution Hypergeometric Distribution n trials in a sample taken from a finite population of size N. Samples taken without replacement Outcome & trials are dependent Concerned with finding the probability of X success in the sample where there are S successes in the population where N = population size S = # of success in the population N-S = # of failure in the population n = sample size X = # of successes in the sample n-x = # of failures in the sample. 2

: # of possible ways that X success can be selected for the sample out of S successes contained in the population. : (N-S) failures can be selected for the sample out of (N-S) failures in the population. : total number of different sample size n that can be obtained from the population size N. 3 different computers are checked from 10 in the department. 4 of the 10 computers have illegal software loaded. What is the probability that 2 of the 3 selected computers have illegal software loaded? N=10 S=4 n=3 X=2 Probability of selecting 2 of the 3 selected computers have illegal software loaded is 30%. A company receives a shipment of 16 items. A random sample of 4 items is selected and the shipment is rejected if any of these items proves to be defective. Q1. What is the probability of accepting a shipment containing 4 defective items? Q2. What is the probability of accepting a shipment containing 1 defective item? N=16, S=1, n=4, =0 P(X=0)=0.75 N=16, S=4, n=4, X=0 P(X=0)= 0.2720 Q3. What is the probability of rejecting a shipment containing 1 defective item? N=16, S=1, n=4, X=? 1-P(X=0) =1-0.75 =0.25 Poisson Distribution Apply the Poisson Distribution when You wish to count the number of times an event occurs in a given continuous interval. The probability that an event occurs in one subinterval is very small and is the same for all subintervals. The number of events that occur in one subinterval is independent of the number of events that occur in the other subintervals. 3

Poisson Distribution Poisson Distribution Mean Variance X: # of successes over a give time/space λ : epected number of successes per given time/space. Should be the same unit! 3 component failures occurred during last 100 days in his computer system. a. What is the probability of no failure in a given day? b. What is the probability of one or more components failures in a given day? 1-P(X=0 λ=0.03) =0.029554 What is λ? λ= 3/100 = 0.03 per day. c. What is the probability of at least 2 failures in a 3-day period? What is λ? λ = 0.03*3 = 0.09/3 days Customers arrive at a photocopy center at an average rate of two every 5 minutes. Find a probability that more than two customers arrive in a 5-minute period. X: # of arriving customers in a 5 minutes period. What is λ? λ = 2 per 5 minutes. What kind of probability are we looking for? P(X>2 λ = 2). 4

Customers arrive at a photocopy center at an average rate of two every 5 minutes. Find a probability that more than two customers arrive in a 1-minute period. X: # of arriving customers in a 1 minutes period. What is λ? λ =2/5. What kind of probability are we looking for? P(X>2 λ = 2/5). A professor receives on average 4.2 e-mails from students the day before a final eam. If the distribution of calls is Poisson, what is the probability of receiving at least 3 of these e- mails on such a day? What is λ? = 4.2 P(X 3 λ=4.2)=1-[p(x=2)+p(x=1)+p(x=0)] =1-e^-4.2[1+4.2+(4.2^2)/2] = 0.78976 Poisson Approimation to the Binomial Distribution When n is very large and p is small (np 7), then we can use Poisson distribution to approimate binomial distribution. X: number of successes from n independent trials P: probability of success Distribution of X: binomial with mean np. n: large, np 7. This binomial distribution can be approimated by the Poisson distribution with λ = np. Poisson Approimation to Binomial Distribution (np 7) 3.5% of small corporate would file for bankruptcy in the coming year. For a random sample of 100 small corporations, what is the probability that at least 3 will file for bankruptcy in the net year? n= 100, p = 0.035, np= 3.5 P(X 3 np=3.5)=1-p(x 2 np=3.5) =1-[P(X=0)+P(X=1)+P(X=2)] =1- e^(-3.5)*[1+3.5+(3.5^2)/2]=0.684093 5

If you try to solve this problem using Binomial Distribution Graphs of Poisson Distribution P(X 3 n=100,p=0.035)=1-p(x 2 n=100,p=0.035) =1-[P(X=0)+P(X=1)+P(X=2)] =1- =0.6841 λ=0.5 0.0 0.1 0.2 0.3 0.4 0.5 0.6 Poisson Distribution: Mean=0.5 0 1 2 3 4 0.0 0.1 0.2 0.3 λ=1 Poisson Distribution: Mean=1 0 1 2 3 4 5 6 Joint Probability Function 0.00 0.05 0.10 0.15 0.20 Poisson Distribution: Mean=3 0 2 4 6 8 10 0.00 0.05 0.10 0.15 Poisson Distribution: Mean=5 0 2 4 6 8 10 12 14 A joint probability function is used to epress the probability that X takes the specific value and simultaneously Y takes the value y, as a function of and y. P(,y)=P(X= Y=y) Coin toss 3 times X: # of heads on the 1 st toss Y: total number of heads S={hhh, hht, hth, htt, thh, tht, tth, ttt} Complete the table below, joint probabilities and marginal probabilities. Y (total number of heads in 3 tosses) P(X) X (# of heads on 1 st toss) P(Y) 0 1 0 1 2 3 X (# of heads on 1 st toss) 0 {ttt} Y (total number of heads in 3 tosses) 0 1 2 3 {tht, tth} 1 0 {htt} {thh} {hht, hth} P(X) 0 =4/8 {hhh} P(Y) =3/8 =3/8 =4/8 6

Conditional Probability Function The conditional probability function of the random variable Y epresses the probability that Y takes the value y when the value is specified for X. X (# of heads on 1 st toss) P(Y) 0 {ttt} Y (total number of heads in 3 tosses) 0 1 2 3 {tht, tth} 1 0 {htt} P(Y=0) P(Y=1) =3/8 {thh} {hht, hth} P(Y=2) =3/8 P(X) 0 P(X=0)= 4/8 {hhh} P(Y=3)= 1/8 P(X=1)= 4/8 Find P(X=1 Y=2) and P(Y=2 X=1) Quiz 8 a. 30% of cars on Eskisehir yoluare driving over the speed limit (82km/hr). What is the probability that at least 2 cars are going over the speed limit if there are 10 cars on the road? Calculate by hand (without table). b. If 75% of cars on Eskisehir yoluare driving over the speed limit, what is the probability that more than 5 cars are going over the speed limit if there are 15 cars on the road? (Use table) Quiz 8_2 a. 40% of student taking ECO239 pass the course. What is the probability that at least 9 students will pass the course if there are 10 students in the class. Calculate by hand (without table). b. If 70% of students taking ECO239 pass the course, what is the probability that more than 10 students will pass the course if there are 15 students in the class? Use table. 7