Engineering Probability and Statistics - SE-205 -Chap 3

Slides:



Advertisements
Similar presentations
Why this can be happen to me?. Can you think, who’ll be the faster catch the fish??
Advertisements

Discrete Uniform Distribution
DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS
The Bernoulli distribution Discrete distributions.
Engineering Probability and Statistics - SE-205 -Chap 4 By S. O. Duffuaa.
Discrete Probability Distributions Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
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
Stat 321- Day 13. Last Time – Binomial vs. Negative Binomial Binomial random variable P(X=x)=C(n,x)p x (1-p) n-x  X = number of successes in n independent.
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.
Lecture 4 1 Discrete distributions Four important discrete distributions: 1.The Uniform distribution (discrete) 2.The Binomial distribution 3.The Hyper-geometric.
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,
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}.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
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.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
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:
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,
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.
Engineering Probability and Statistics - SE-205 -Chap 3 By S. O. Duffuaa.
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
3 Discrete Random Variables and Probability Distributions
Engineering Probability and Statistics - SE-205 -Chap 4
Random variables (r.v.) Random variable
Random Variables.
C4: DISCRETE RANDOM VARIABLES
Chapter 2 Discrete Random Variables
The Bernoulli distribution
Chapter 5 Statistical Models in Simulation
Chapter 3 Discrete Random Variables and Probability Distributions
Chapter 5: Some Discrete Probability Distributions:
Some Discrete Probability Distributions
Chapter 4 STAT 315 Nutan S. Mishra.
Dept. of Electrical & Computer engineering
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 Present the following: Concept of random variables Probability distributions Probability mass function

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

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

Probability Mass Function X o 1 2 3 f(x) 1/8 3/8 3/8 1/8 Properties of f(x) f(x)  0  f(x) = 1 Give many examples in class

Probability Mass Function 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 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: P( X  x) = F(x) =  f(t) t x

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

Probability Mass Function Corresponding to Previous CDF X -2 2 f(x) 0.2 0.5 0.3 The above mass function is the one corresponding to the previous CDF is

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

Variance of A Random Variable The variance is a measure of variability. What is variability? The variance is defined as: V(X) =σ2 = E(X-μ)2 =  (x-μ)2f(x) Compute the variance of the r.v in the slide before the previous one. σ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 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: E(H(X)) =  h(x) f(x) Compute the expected value of h(X) = X2 - X for the r.v in the previous slides. See example 3-12 in text book. x

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

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

Discrete Uniform 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 f(x) = 1/n An alternative way of defining uniform as follows: Suppose the rang is a, a+1, a+2, … b The number of points is (b-a+1) f(x) = 1/(b-a+1) for x = a, a+1, a+2, …, b

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

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

Binomial Random Variable A random experiment consisting of n repeated trails such that the trials are independent, each trial results in only two possible outcomes, labeled as “success” and “failure”, and 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 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1617 1819 20 0.18 0.15 0.12 0.09 0.06 0.03 f(x) x x 0 1 2 3 4 5 6 7 8 9 10 0.4 0.3 0.2 0.1 f(x) n p 20 0.5 n p 10 0.1 10 0.9 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 the probability of more than one count in a subintervals is zero, the probability of one count in a subinterval is the same for all subintervals and proportional to the length of the subinterval, and 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