1 Probability distribution Dr. Deshi Ye College of Computer Science, Zhejiang University

Slides:



Advertisements
Similar presentations
DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS
Advertisements

Chapter 5 Some Important Discrete Probability Distributions
Chapter 5 Discrete Random Variables and Probability Distributions
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
ฟังก์ชั่นการแจกแจงความน่าจะเป็น แบบไม่ต่อเนื่อง Discrete Probability Distributions.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 7 Probability.
Discrete Random Variables
1 Set #3: Discrete Probability Functions Define: Random Variable – numerical measure of the outcome of a probability experiment Value determined by chance.
Problems Problems 4.17, 4.36, 4.40, (TRY: 4.43). 4. Random Variables A random variable is a way of recording a quantitative variable of a random experiment.
Chapter 2 Discrete Random Variables
Section 7.4 (partially). Section Summary Expected Value Linearity of Expectations Independent Random Variables.
Chapter 4 Discrete Random Variables and Probability Distributions
Chapter 5 Basic Probability Distributions
Review.
Probability Distributions
Ka-fu Wong © 2003 Chap 6- 1 Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
Probability and Probability Distributions
Discrete Probability Distributions
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Chapter 5 Discrete Probability Distributions
Chapter 5 Discrete Random Variables and Probability Distributions
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Five Discrete Probability Distributions GOALS When you have completed.
Probability Distributions: Finite Random Variables.
Chapter 5 Several Discrete Distributions General Objectives: Discrete random variables are used in many practical applications. These random variables.
Chapter 5 Discrete Probability Distribution I. Basic Definitions II. Summary Measures for Discrete Random Variable Expected Value (Mean) Variance and Standard.
Discrete Distributions
6- 1 Chapter Six McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
1 Ch5. Probability Densities Dr. Deshi Ye
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
Lesson 8 – R Taken from And modified slightlyhttp://
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 34 Chapter 11 Section 1 Random Variables.
Continuous Distributions The Uniform distribution from a to b.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
CHAPTER 6: DISCRETE PROBABILITY DISTRIBUTIONS. PROBIBILITY DISTRIBUTION DEFINITIONS (6.1):  Random Variable is a measurable or countable outcome of a.
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}.
You are familiar with the term “average”, as in arithmetical average of a set of numbers (test scores for example) – we used the symbol to stand for this.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
Chapter 4. Discrete Random Variables A random variable is a way of recording a quantitative variable of a random experiment. A variable which can take.
Introduction to Probability and Statistics Thirteenth Edition Chapter 5 Several Useful Discrete Distributions.
King Saud University Women Students
Math b (Discrete) Random Variables, Binomial Distribution.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete.
Probability Distribution
The Binomial Distribution
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
4.2 Binomial Distributions
Discrete Random Variables. Introduction In previous lectures we established a foundation of the probability theory; we applied the probability theory.
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:
Chapter 5 Discrete Random Variables Probability Distributions
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 5-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Chapter 3 Discrete Random Variables and Probability Distributions  Random Variables.2 - Probability Distributions for Discrete Random Variables.3.
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,
Lecture 21 Dr. MUMTAZ AHMED MTH 161: Introduction To Statistics.
Discrete Random Variables Section 6.1. Objectives Distinguish between discrete and continuous random variables Identify discrete probability distributions.
Chapter 3 Applied Statistics and Probability for Engineers
Chapter Six McGraw-Hill/Irwin
Chapter 5 Created by Bethany Stubbe and Stephan Kogitz.
CHAPTER 2 RANDOM VARIABLES.
Chapter 2 Discrete Random Variables
Discrete Probability Distributions
Chapter 4 STAT 315 Nutan S. Mishra.
DISCRETE RANDOM VARIABLES AND THEIR PROBABILITY DISTRIBUTIONS
Continuous Distributions
Review of Chapter 8 Discrete PDFs Binomial and Geometeric
Random variable. Let (, , P) is probability space.
Chapter 11 Probability.
Presentation transcript:

1 Probability distribution Dr. Deshi Ye College of Computer Science, Zhejiang University

2 Outline  Random variable  The Binomial distribution  The Hypergeometric Distribution  The Mean and the Variance of the a Probability distribution.

3 Random variables  We concern with one number or a few number that associated with the outcomes of experiments.  EX. Inspection: number of defectives road test: average speed and average fuel consumption. In the example of tossing dice, we are interested in sum 7 and not concerned whether it is (1,6) or (2, 5) or (3, 4) or (4, 3) or (5, 2) or (6, 1).

4 Definition  A random variable: is any function that assigns a numerical value to each possible outcome of experiments.  Discrete random variable: only a finite or a countable infinity of values. Otherwise, continuous random variables.

5 Probability distribution  The probability distribution of the random variable: is the probabilities that a random variable will take on any one value within its range.  The probability distribution of a discrete random variable X is a list of possible values of X together with their probabilities The probability distribution always satisfies the conditions

6 Checking probability distribution x Prob Another 1)f(x) = (x-2)/2, for x=1,2, 3, 4 2)H(x) =x 2 /25, x=0,1,2,3,4

7 Probability histogram & bar chart

8

9 Bar chart

10 Histogram

11 Histogram

12 Cumulative distribution  F( x ): value of a random variable is less than or equal to x.

13 EX. x Prob

14 Binomial Distribution  Foul Shot: 1. Min Yao (Hou) O’Neal Shaquille.422  The Question is: what is the probability of them in two foul shots that they get 2 points, respectively?

15 Binomial distribution  Study the phenomenon that the probability of success in repeat trials.  Prob. of getting x “success” in n trials, otherwords, x “success” and n – x failures in n attempt.

16 Bernoulli trials  1. There are only two possible outcomes for each trial.  2. The probability of success is the same for each trial.  3. The outcomes from different trials are independent.  4’. There are a fixed number n of Bernoulli trials conducted.

17  Let X be the random variable that equals the number of success in n trials. p and 1- p are the probability of “success” and “failure”, the probability of getting x success and n- x failure is

18 Def. of Binomial Dist.  #number of ways in which we can select the x trials on which there is to be a success is  Hence the probability distribution of Binomial is

19 Expansions Binomial coefficient

20 Table 1  Table 1: Cumulative Binomial distribution

21 EX Solve  Foul shot example: Here n=2, x=2, and p=0.862 for Yao, and p=0.422 for Shaq Yao Shaq

22 Bar Chats

23 Minitab for Binomial

24

25

26

27 Skewed distribution Positively skewed

28 Hypergeometric Distr.  Sampling with replacement  Sampling without replacement

29 Hyergeometric distr.  Sampling without replacement  The number of defectives in a sample of n units drawn without replacement from a lot containing N units, of which are defectives. Here: population is N, and are total defectives Sampling n units, what is probability of x defectives are found?

30 formulations  Hypergeometric distr.

31 Discussion  Is Hypergeometric distribution a Bernolli trial?  Answer: NO! The first drawing will yield a defect unit is a/N, but the second is (a - 1)/(N-1) or a/(N-1).

32 EX  A shipment of 20 digital voice recorders contains 5 that are defective. If 10 of them are randomly chosen for inspection, what is the probability that 2 of the 10 will be defective?  Solution: a=5, n=10, N=20, and x=2

33

34 Expectation  Expectation: If the probability of obtaining the amounts then the mathematical expectation is

35 Motivations  The expected value of x is a weighted average of possible values that X can take on, each value being weighted by the probability that X assumes it.  Frequency interpretation

The mean and the variance  Mean and variance: two distributions differ in their location or variation  The mean of a probability distribution is simply the mathematical expectation of a random variable having that distribution.  Mean of discrete probability distribution Alternatively,

37 EX  The mean of a probability distribution measures its center in the sense of an average.  EX: Find the mean number of heads in three tosses.  Solution: The probabilities for 0, 1, 2, or 3 heads are 1/8, 3/8, 3/8, and 1/8

38 Mean of Binomial distribution  Contrast: please calculate the following

39 Mean of b()  Mean of binomial distribution: Proof.

40 Mean of Hypergeometric Distr. Proof. Similar proof or using the following hints:

41 EX  5 of 20 digital voice records were defectives,find the mean of the prob. Distribution of the number of defectives in a sample of 10 randomly chose for inspection.  Solution: n=10, a= 5, N=20. Hence

42 Expectation of a function of random variable  Let X denote a random variable that takes on any of the values -1,0,1 respective probabilities P{x=-1}=0.2, P{x=0}=0.5, P{x=1}=0.3  Compute E[X 2 ] Answer = 0.5

43 Proposition  If X is a discrete random variable that takes on one of the value of x i, with respective to probability p(x i ), then for any real-valued function g,

44 Variance of probability  Variance of a probability distribution f(x), or that of the random variable X which has that probability distribution, as We could also denote it as

45 Standard deviation  Standard deviation of probability distribution

46 Relation between Mean and Variance

47 Ex.  Find the variance of the number of heads in four tosses.  Solution:

48 Variance of binomial distr.  Variance of binomial distribution: Proof. Detailed proof after the section of disjoint probability distribution

49 Some properties of Mean  C is a constant, then E(C) = C.  X is a random variable and C is a constant E(CX) = CE(X)  X and Y are two random variables, then E(X+Y) = E(X)+E(Y) If X and Y are independent random variables E(XY) = E(X)E(Y)

50 Variance of hypergeometric distr.

51 K-th moment  K-th moment about the origin  K-th moment about the mean

Case study  Occupancy Problem 52

53 Homework  problems