Engineering Probability and Statistics - SE-205 -Chap 3 By S. O. Duffuaa.

Slides:



Advertisements
Similar presentations
MOMENT GENERATING FUNCTION AND STATISTICAL DISTRIBUTIONS
Advertisements

Why this can be happen to me?. Can you think, who’ll be the faster catch the fish??
Discrete Uniform Distribution
DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS
Random Variable A random variable X is a function that assign a real number, X(ζ), to each outcome ζ in the sample space of a random experiment. Domain.
The Bernoulli distribution Discrete distributions.
Discrete Probability Distributions
Engineering Probability and Statistics - SE-205 -Chap 4 By S. O. Duffuaa.
Continuous Random Variables and Probability Distributions
Probability Distributions
Engineering Probability and Statistics - SE-205 -Chap 3 By S. O. Duffuaa.
1 Engineering Computation Part 5. 2 Some Concepts Previous to Probability RANDOM EXPERIMENT A random experiment or trial can be thought of as any activity.
A random variable that has the following pmf is said to be a binomial random variable with parameters n, p The Binomial random variable.
Continuous Random Variables and Probability Distributions
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Quantitative Methods (65211)
Class notes for ISE 201 San Jose State University
Discrete Random Variables and Probability Distributions
Discrete and Continuous Distributions G. V. Narayanan.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
1 Performance Evaluation of Computer Systems By Behzad Akbari Tarbiat Modares University Spring 2009 Introduction to Probabilities: Discrete Random Variables.
Discrete Random Variable and Probability Distribution
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
CPSC 531: Probability Review1 CPSC 531:Distributions Instructor: Anirban Mahanti Office: ICT Class Location: TRB 101.
Tch-prob1 Chap 3. Random Variables The outcome of a random experiment need not be a number. However, we are usually interested in some measurement or numeric.
Statistics for Engineer Week II and Week III: Random Variables and Probability Distribution.
Lecture 4 1 Discrete distributions Four important discrete distributions: 1.The Uniform distribution (discrete) 2.The Binomial distribution 3.The Hyper-geometric.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review II Instructor: Anirban Mahanti Office: ICT 745
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}.
JMB Chapter 5 Part 1 EGR Spring 2011 Slide 1 Known Probability Distributions  Engineers frequently work with data that can be modeled as one of.
COMP 170 L2 L17: Random Variables and Expectation Page 1.
King Saud University Women Students
1 Topic 3 - Discrete distributions Basics of discrete distributions Mean and variance of a discrete distribution Binomial distribution Poisson distribution.
Math b (Discrete) Random Variables, Binomial Distribution.
STA347 - week 31 Random Variables Example: We roll a fair die 6 times. Suppose we are interested in the number of 5’s in the 6 rolls. Let X = number of.
1 Lecture 9: The Poisson Random Variable and its PMF Devore, Ch. 3.6.
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,
Topic 3 - Discrete distributions Basics of discrete distributions - pages Mean and variance of a discrete distribution - pages ,
1 Engineering Statistics - IE 261 Chapter 3 Discrete Random Variables and Probability Distributions URL:
Review of Chapter
Random Variables Example:
Topic 5: Continuous Random Variables and Probability Distributions CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text,
Discrete Random Variables. Introduction In previous lectures we established a foundation of the probability theory; we applied the probability theory.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Continuous Random Variables and Probability Distributions
Chapter 3 Discrete Random Variables and Probability Distributions  Random Variables.2 - Probability Distributions for Discrete Random Variables.3.
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.
Random Variables By: 1.
Evaluating Hypotheses. Outline Empirically evaluating the accuracy of hypotheses is fundamental to machine learning – How well does this estimate accuracy.
3.1 Discrete Random Variables Present the analysis of several random experiments Discuss several discrete random variables that frequently arise in applications.
Chapter 3 Applied Statistics and Probability for Engineers
MAT 446 Supplementary Note for Ch 3
Math 4030 – 4a More Discrete Distributions
Engineering Probability and Statistics - SE-205 -Chap 4
Random variables (r.v.) Random variable
Random Variables.
C4: DISCRETE RANDOM VARIABLES
Engineering Probability and Statistics - SE-205 -Chap 3
The Bernoulli distribution
Chapter 5 Statistical Models in Simulation
Discrete Random Variables: Basics
Discrete Random Variables: Basics
Each Distribution for Random Variables Has:
Geometric Poisson Negative Binomial Gamma
Discrete Random Variables: Basics
Presentation transcript:

Engineering Probability and Statistics - SE-205 -Chap 3 By S. O. Duffuaa

Lecture Objectives w Present the following: w Concept of random variables w Probability distributions w Probability mass function

Random Experiment and random variables w Throwing a coin w S = { H, T}. w Define a mapping X: { H, T}  R w X(H) = 1 and X(T) = 0, Also the probability of 1 and 0 are the same as for H and T. w Then we call X a random variable.

Random Experiment and random variables w In the experiment on the number of defective parts in three parts the sample space S = { 0, 1, 2, 3} w Find P(0), P(1), P(2) and P(3) w P(0) = 1/8, P(1) = 3/8, P(2) = 3/8 and P(3) = 1/8

Probability Mass Function w Xo123 f(x) 1/8 3/8 1/83/8 Properties of f(x) f(x)  0  f(x) = 1 Give many examples in class

Probability Mass Function w Build the probability mass functions for the following random variables: Number of traffic accidents per month on campus. Class grade distribution Number of “ F” in SE 205 class per semester Number of students that register for SE 205 every semester.

Cumulative Distribution Function w It is a function that provide the cumulative probability up to a point for a random variable (r.v). Defined as follows for a discrete r.v: w P( X  x) = F(x) =  f(t) t  x

Cumulative Distribution Function (CDF) w Example of a cumulative distribution function w F(x) = 0 x  -2 =  x  0 =  x  2 =  x What is the density function for the above F(x). Note you need to subtract

Probability Mass Function Corresponding to Previous CDF w X-202 f(x) The above density function is the one corresponding to the previous CDF is

Mean /Expected Value of a Discrete Random Variable (r.v) w The mean of a discrete r.v denoted as E(X) also called the expected value is given as: w E(X) = μ =  x f(x) w The expected value provides a good idea a bout the center of the r.v. w compute the mean of the r.v in previous slide: w E(X) = (-2) (0.2) + (0) (0.5) + (2)(0.3) = 0.2 x

Variance of A Random Variable w The variance is a measure of variability. w What is variability? w The variance is defined as: w V(X) =σ 2 = E(X-μ) 2 =  (x-μ) 2 f(x) w Compute the variance of the r.v in the slide before the previous one. w σ 2 = (-2-0.2) 2 (0.2) + (0-0.2) 2 (0.5) + (2-0.2) 2 (0.3) = Also see example 3-9 and 3-11in the text.

Expected Value of a Function of a r.v w Let X be a r.v with p.m.f f(x) and let h(X) is a function of X. Then the expected value of h(X) is given as: w E(H(X)) =  h(x) f(x) w Compute the expected value of h(X) = X 2 - X for the r.v in the previous slides. w See example 3-12 in text book. x

Discrete Random Variables w In this section will study several discrete distributions. For each distribution the student must be familiar with the following about each distribution: w Range and probability mass function w Cumulative distribution function w Mean and variance w 2-3 applications

Discrete Random Variables w The following distributions will be studied Discrete uniform Bernoulli Binomial Hyper-geometric Geometric Poisson

Discrete Uniform w A random variable is discrete uniform if every point in its range has the same probability. If there are n points in the range, then the probability of each point is w f(x) = 1/n w An alternative way of defining uniform as follows: Suppose the rang is a, a+1, a+2, … b w The number of points is (b-a+1) w f(x) = 1/(b-a+1) for x = a, a+1, a+2, …, b

Discrete Uniform w The CDF F(x) you just multiply by the number of points less than or equal to x w The mean of the uniform is (b+a)/2 w The variance of it is [(b-a+1) 2 – 1]/12 w Applied to following situations: Random number generation Drawing a random sample Situation where vales have equal probabilities.

Bernoulli Trials w A trial with only two possible outcomes is used so frequently as a building block of a random experiment that it is called a Bernoulli trial. It is usually assumed that the trials that constitute the random experiment are independent. This implies that the outcome from one trial has no effect on the outcome to be obtained from any other trial. Furthermore, it is often reasonable to assume that the probability of a success in each trial is constant.

Bernoulli Trials w If we denote success by 1 an failure by 0, then the probability mass function f(x) is given as: w f(1) = p and f(0) = 1-p = q, as you see the range is 0 and 1 w F(x) simple w Mean =E(X) = p w Variance = σ 2 = p(1-p) = pq w Applications: Building block for other distributions Experiment with two outcomes

Binomial Random Variable A random experiment consisting of n repeated trails such that 1)the trials are independent, 2)each trial results in only two possible outcomes, labeled as “success” and “failure”, and 3)the probability of a success in each trial, denoted as p, remeins constant is called a binomial experiment. The random variable X that equals the number of trials that result in a success has binomial distribution with parameters p and n = 1, 2, …. The probability mass function of X is

Binomial Random Variable f(x) xx f(x) n p n p Figure 4-6 Binomial distributions for selected values of n and p

Binomial Random Variable If X is a binomial random variable with parameters p and n, then and Applications: Design of sampling plans for quality control Estimation of product defects.

Geometric Random Variable In a series of independent Bernoulli trials, with constant probability p of a success, let the random variable X denote the number of trials until the first success. Then X has a geometric distribution with parameters p and

Geometric Distribution If X is a geometric random variable with parameters p, then the mean and variance and Applications: Quality control, design of control charts Estimation

Hyper-Geometric Distribution A set of N objects contains K objects classified as successes and N – K objects classified as failures A sample of size of n objects is selected, at random (without replacement) from the N objects, where K  N and n  N Let the random variable X denote the number of successes in the sample. Then X has a hypergeometric distribution and

Hyper-Geometric Distribution If X is a hypergeometric random variable with parameters N, K and n, then the mean and variance of X are and where p = K/N Applications: Design of inspection plans for quality control Design of control charts

Poisson Random Variable Given an interval of real numbers, assume counts occur at random throughout the interval. If the interval can be partitioned into subintervals of small enough length such that 1)the probability of more than one count in a subintervals is zero, 2)the probability of one count in a subinterval is the same for all subintervals and proportional to the length of the subinterval, and 3)the count in each subinterval is independent of other subintervals, then the random experiment is called a Poisson process If the mean number of counts in the interval is > 0, the random variable X that equals the number of counts in the interval has a Poisson distribution with parameters, and the probability mass function of X is

Poisson Random Variable If X is a Poisson random variable with parameters, then the mean and variance of X are and Applications: Model number of arrivals to a service facility Model number of accidents per month Demand for spare parts per month