The random variable X - the no. of defective items when three electronic components are tested would be



Similar documents
STAT 319 Probability and Statistics For Engineers PROBABILITY. Engineering College, Hail University, Saudi Arabia

UNIT I: RANDOM VARIABLES PART- A -TWO MARKS

Section 6.1 Joint Distribution Functions

Lecture 6: Discrete & Continuous Probability and Random Variables

Joint Exam 1/P Sample Exam 1

Department of Mathematics, Indian Institute of Technology, Kharagpur Assignment 2-3, Probability and Statistics, March Due:-March 25, 2015.

Chapter 4 - Lecture 1 Probability Density Functions and Cumul. Distribution Functions

1. A survey of a group s viewing habits over the last year revealed the following

Chapter 3 RANDOM VARIATE GENERATION

Notes on Continuous Random Variables

Chapter 5 - Practice Problems 1

The Binomial Probability Distribution

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

Lesson 20. Probability and Cumulative Distribution Functions

Sample Questions for Mastery #5

STT315 Chapter 4 Random Variables & Probability Distributions KM. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Statistics 100A Homework 7 Solutions

Continuous Random Variables

Definition: Suppose that two random variables, either continuous or discrete, X and Y have joint density

ECE302 Spring 2006 HW5 Solutions February 21,

Chapter 4. Probability and Probability Distributions

Math 370/408, Spring 2008 Prof. A.J. Hildebrand. Actuarial Exam Practice Problem Set 3 Solutions

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION

MULTIVARIATE PROBABILITY DISTRIBUTIONS

STAT x 0 < x < 1

MATHEMATICS FOR ENGINEERING BASIC ALGEBRA

Department of Civil Engineering-I.I.T. Delhi CEL 899: Environmental Risk Assessment Statistics and Probability Example Part 1

Important Probability Distributions OPRE 6301

Principle of Data Reduction

5-3 Polynomial Functions. not in one variable because there are two variables, x. and y

BINOMIAL DISTRIBUTION

), 35% use extra unleaded gas ( A

Binomial Distribution Problems. Binomial Distribution SOLUTIONS. Poisson Distribution Problems

Math 461 Fall 2006 Test 2 Solutions

Math 431 An Introduction to Probability. Final Exam Solutions

Math 370, Spring 2008 Prof. A.J. Hildebrand. Practice Test 2 Solutions

Review #2. Statistics

Ex. 2.1 (Davide Basilio Bartolini)

MBA 611 STATISTICS AND QUANTITATIVE METHODS

Consumer Theory. The consumer s problem

Separable First Order Differential Equations

5. Continuous Random Variables

e.g. arrival of a customer to a service station or breakdown of a component in some system.

Stat 515 Midterm Examination II April 6, 2010 (9:30 a.m. - 10:45 a.m.)

2WB05 Simulation Lecture 8: Generating random variables

An Introduction to Basic Statistics and Probability

Math 370, Actuarial Problemsolving Spring 2008 A.J. Hildebrand. Practice Test, 1/28/2008 (with solutions)

Section 5.1 Continuous Random Variables: Introduction

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is.

Feb 28 Homework Solutions Math 151, Winter Chapter 6 Problems (pages )

STATISTICAL QUALITY CONTROL (SQC)

Normal Distribution. Definition A continuous random variable has a normal distribution if its probability density. f ( y ) = 1.

Statistics 100A Homework 8 Solutions

PSTAT 120B Probability and Statistics

The sample space for a pair of die rolls is the set. The sample space for a random number between 0 and 1 is the interval [0, 1].

STA 256: Statistics and Probability I

Random variables P(X = 3) = P(X = 3) = 1 8, P(X = 1) = P(X = 1) = 3 8.

WEEK #22: PDFs and CDFs, Measures of Center and Spread

2.6. Probability. In general the probability density of a random variable satisfies two conditions:

Random Variables. Chapter 2. Random Variables 1

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

5 Double Integrals over Rectangular Regions

Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

VISUALIZATION OF DENSITY FUNCTIONS WITH GEOGEBRA

Chapter 9 Monté Carlo Simulation

Probability Distributions

Some special discrete probability distributions

16. THE NORMAL APPROXIMATION TO THE BINOMIAL DISTRIBUTION

Section 3.1 Quadratic Functions and Models

4. Continuous Random Variables, the Pareto and Normal Distributions

MATH 140 Lab 4: Probability and the Standard Normal Distribution

Graphs. Exploratory data analysis. Graphs. Standard forms. A graph is a suitable way of representing data if:

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

MAT 155. Key Concept. September 22, S5.3_3 Binomial Probability Distributions. Chapter 5 Probability Distributions

5/31/ Normal Distributions. Normal Distributions. Chapter 6. Distribution. The Normal Distribution. Outline. Objectives.

The Normal Distribution. Alan T. Arnholt Department of Mathematical Sciences Appalachian State University

Chapter 4 Lecture Notes

Lecture 7: Continuous Random Variables

ST 371 (IV): Discrete Random Variables

In this section, we will consider techniques for solving problems of this type.

The normal approximation to the binomial

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 18. A Brief Introduction to Continuous Probability

3.1 MAXIMUM, MINIMUM AND INFLECTION POINT & SKETCHING THE GRAPH. In Isaac Newton's day, one of the biggest problems was poor navigation at sea.

Probability Calculator

Key Concept. Density Curve

Bayes Theorem. Bayes Theorem- Example. Evaluation of Medical Screening Procedure. Evaluation of Medical Screening Procedure

Military Reliability Modeling William P. Fox, Steven B. Horton

Probability. Distribution. Outline

Lecture Notes 1. Brief Review of Basic Probability

Probability Models.S1 Introduction to Probability

Probability Distribution

Exploratory Data Analysis

The Chi-Square Test. STAT E-50 Introduction to Statistics

Math 370, Spring 2008 Prof. A.J. Hildebrand. Practice Test 1 Solutions

The Normal Distribution

Homework #2 Solutions

Chapter 4. iclicker Question 4.4 Pre-lecture. Part 2. Binomial Distribution. J.C. Wang. iclicker Question 4.4 Pre-lecture

W i f(x i ) x. i=1. f(x i ) x = i=1

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

Transcription:

RANDOM VARIABLES and PROBABILITY DISTRIBUTIONS Example: Give the sample space giving a detailed description of each possible outcome when three electronic components are tested, where N - denotes nondefective D - denotes defective Therefore, S = { NNN, NND, NDN, DNN, NDD, DND, DDN, DDD} The number of defectives that occur will be assigned a numerical value of 0, 1, 2, or 3, in the sample space. These values are random quantities determined by the outcome of the experiment. The random variable X - the no. of defective items when three electronic components are tested would be Sample Space S NNN 0 NND 1 NDN 1 DNN 1 NDD 2 DND 2 DDN 2 DDD 3 The possible values of x of X and their probabilities are given by x 0 1 2 3 Total P(X = x) 1/8 3/8 3/8 1/8 1 Note that the values of x exhaust all possible cases and hence the probabilities add to 1. Representing all the probabilities by a formula, f(x) = P(X = x), example: f(2) = P(X = 2).

The set of ordered pair (x, f(x)) is called the probability function or probability distribution of the discrete random variable X. Example: Discrete probability distribution 11/60) A shipment of 7 television sets contains 2 defective sets. A hotel makes a random purchase of 3 of the sets. If X is the number of defective sets purchased by the hotel, find the probability distribution of X. Express the results graphically as a probability histogram. 2 5 0 3 10 2 f(0) = --------------- = --------- = ------- 7 35 7 3 2 5 1 2 20 4 f(1) = --------------- = --------- = ------- 7 35 7 3 2 5 2 1 5 1 f(2) = --------------- = --------- = ------- 7 35 7 3 Therefore, the probability distribution of x is x 0 1 2 f(x) 2/7 4/7 1/7

4/7 2/7 1/7 0 1 2 Probability histogram Example: Discrete Probability Distributions 4.1/117)(M/S) The director of marketing for a small computer manufacturer believes the discrete probability distribution shown in the accompanying figure characterizes the number, y, of new computers the firm will lease next year. f(y).20.15.10 7 8 9 10 11 12 13 y a) Is this a valid probability distribution? Explain

b) Display the probability distribution in tabular form. c) What is the probability that exactly 9 computers will be leased? d) What is the probability that fewer than 12 computers will be leased? a) Yes b) The Probability Distribution y 7 8 9 10 11 12 13 Total f(y).10.10.15.20.20.15.10 1.0 c) f(9) =.15 d) f(y<12) =.75 Example: Discrete Probability Distributions 5/60) Determine the value c so that each of the following functions can serve as a probability distribution of the discrete random variable X: a) f(x) = c(x 2 + 4) for x = 0, 1, 2, 3; 2 3 b) f(x) = c for x = 0, 1, 2. x 3 x a) for x = 0; f(x) = c(0 + 4) = 4c for x = 1; f(x) = c(1 2 +4) = 5c for x = 2; f(x) = c(2 2 +4) = 8c for x = 3; f(x) = x(3 2 +4) = 13c 3 Σ f(x) = f(0) + f(1) + f(2) + f(3) = 1 x=0 = 4c + 5c + 8c + 13c = 1

c = 1/30 2 3 b) for x = 0: f(0) = c 0 3 0 = c 2 3 for x = 1: f(1) = c 1 3 1 = 6c 2 3 for x = 2: f(2) = c 2 3 2 = 3c 2 Σ f(x) = f(0) + f(1) + f(2) = 1 x=0 c + 6c + 3c = 1 c = 1/10 13/61) The probability distribution of X, the number of imperfections per 10 meters of a synthetic fabric in continuous rolls of uniform width, is given by X 0 1 2 3 4 f(x) 0.41 0.37 0.16 0.05 0.01 Construct the cumulative distribution of X. Therefore, the cumulative distribution of X is 0 for x < 0 0.41 for 0 x < 1 0.78 for 1 x < 2 F(X) = 0.94 for 2 x < 3 0.99 for 3 x < 4 1.00 for x 4

1.0 0.8 0.6 0.4 0.2 0 1 2 3 4 Discrete cumulative distribution 2/78) If the joint probability distribution of X and Y is given by (x + y) f(x,y) = ----------, for x = 0, 1, 2, 3; y = 0, 1, 2 30 find, (a) P(X 2, Y = 1); (b) P(X > 2, Y 1); (c) P(X > Y); (d) P(X + Y = 4). The Joint Probability Distribution f(x,y) x Row Totals 0 1 2 3 0 0 1/30 2/30 3/30 6/30 = 1/5 y 1 1/30 2/30 3/30 4/30 9/30 = 3/10 2 2/30 3/30 4/30 5/30 14/30 = 7/15 Column Totals 3/30 = 1/10 6/30 = 1/5 9/30 = 3/10 12/30 = 2/5 30/30 = 1

a) P(X 2, Y = 1) = f(0,1) + f(1,1) + f(2,1) =1/30 + 2/30 + 3/30 = 6/30 = 1/5 b) P(X > 2, Y 1) = f(3,0) + f(3,1) = 3/30 + 4/30 = 7/30 c) P(X > Y) = f(1,0) + f(2,0) + f(3,0) + f(2,1) + f(3,1) + f(3,2) = 1/30 + 2/30 + 3/30 + 3/30 + 4/30 + 5/30 = 18/30 = 3/5 d) P(X + Y = 4) = f(2,2) + f(3,1) = 4/30 + 4/30 = 8/30 = 4/15. Example: Joint probability distribution 6.4/202)(M/S) From a group of three data-processing managers, two senior analysts, and two quality control engineers, three people are to be randomly selected to form a committee that will study the feasibility of adding computer graphics at a consulting firm. Let y1 denote the number of data-processing managers and y2 the number of senior systems analysts selected for the committee. a. Find the joint probability distribution of y1 and y2. b. Find the marginal distribution of y1. a. y2 y1 0 1 2 3 0 0 3/35 6/35 1/35 1 2/35 12/35 6/35 0 2 2/35 3/35 0 0 b. 0 1 2 3 P(y1) 4/35 18/35 12/35 1/35

7/79) Let X denote the reaction time, in seconds, to a certain stimulant and Y denote the temperature ( o F) at which a certain reaction starts to take place. Suppose that two random variables X and Y have the joint density given by 4xy, 0 < x, y < 1 f(x,y) = 0, Find a) P(0 X 1/2 and 1/4 Y 1/2); b) P(X < Y). elsewhere Soln: ½ ½ a) P(0 X 1/2 and 1/4 Y 1/2) = 4xy dx dy 0 ¼ ½ x=1/2 = 4y (x 2 /2) dy ¼ x=0 ½ y=1/2 = ydy/2 = y 2 /4 ¼ y=1/4 = 3/64 x 1 b) P(X < Y) = 4xy dx dy 0 y 1 x=y 1 1 = 4y dy x 2 /2 = 2y 3 dy = 2y 4 /4 y 0 y y=0 = 1/2 (1 4 0) = 1/2

Example: Independence 24/80) Determine whether the two random variables of Exercise 7 are dependent or independent. The joint density function is given as 4xy, 0 < x, y < 1 f(x,y) = 0, elsewhere 1 1 g(x) = 4xy dy = 4x [y 2 /2] = 2x [1 2 0] = 2x 0 0 1 1 h(y) = 4xy dx = 4y [x 2 /2] = 2y [1 2 0] = 2y 0 0 Hence, f(x,y) = g(x)h(y), 0 < x,y < 1 4xy = (2x)(2y) 4xy = 4xy Therefore, x and y are independent. Example: Continuous probability distribution 17/61) A continuous random variable X that can assume values between x = 1 and x = 3 has a density function given by f(x) = 1/2. a) Show that the area under the curve is equal to 1. b) Find P(2 < X < 2.5). c) Find P(X 1.6).

a) f(x) 1/2 A = (1/2)(3-1) = 1 0 1 2 3 x 2.5 2.5 2.5 b) P(2 < X < 2.5) = f(x) dx = (1/2) dx = x/2 2 2 2 = (1/2)(2.5 2) = 1/4 1.6 1.6 c) P( X 1.6) = (1/2) dx = x/2 = (1/2)(1.6 1) = 0.3 1 1 1/60) Classify the following random variables as discrete or continuous. X: the number of automobile accidents per year in Virginia. Y: the length of time to play 18 holes of golf. M: the amount of milk produced yearly by a particular cow. N: the number of eggs laid each month by a hen. P: the number of building permits issued each month in a certain city. Q: the weight of grain produced per acre. X: Discrete Y: Continuous M: Continuous N: Discrete P: Discrete Q: Continuous

Example: Cumulative probability distribution 19/61) For the density function of Exercise 17, find F(x). Use it to evaluate P(2 < X < 2.5). for 1 < x < 3.0 x x x F(x) = f(t)dt = (1/2)dt = (t/2) = (x 1 )/2-1 1 Therefore, 0, x 1 F(x) = (x 1)/2, 1 < x < 3 1, x 3. Then, P(2 < x < 2.5) = F(2.5) F(2) = (2.5 1)/2 (2-1)/2 = 1/4 Example: Continuous probability distribution 21/61) Consider the density function f(x) = k x, 0 < x < 1 0, elsewhere. a) Evaluate k. b) Find F(x) and use it to evaluate P(0.3 < X < 0.6). Soln: 1 a) f(x) dx = 1 0 1 1 1 k x 1/2 dx = k [ (x 3/2 )/(3/2) ] = 2k/3 [x 3/2 ] 0 0 0

2k/3 [1 3/2 0] = 1 k = 3/2 x b) F(X) = P (X x) = f(t) dt - x x x = (3/2)t 1/2 dt = (3/2) t 3/2 / (3/2) = t 3/2 = x 3/2 0 0 0 x 3/2, 0 < x < 0.3 x 3/2, 0.3 x < 0.6 F(x) = x 3/2, 0.6 x < 1 1 x 1. F(x) = F(0.6) F(0.3) = 0.464758 0.1643167 = 0.3004 Example: Conditional distribution 6/79) Let X and Y denote the lengths of life, in years, of two components in an electronic system. If the joint density function of these variables is given by f(x,y) = e (x+y), x > 0, y > 0 0, elsewhere, find P(0 < X < 1 Y = 2). Soln: f(x,y) f(x y) = ---------- h(y) α h(y) = f(x,y) dx = e -(x+y) dx = - e -(x+y) (-dx) - - 0

α = - e -(x +y) = - [e -(α+y) e -y ] 0 = e -y [ 1 e -α ] = e -y f(x,y) e -(x+y) e -x e -y 1 f(x y) = ----------- = ---------------- = --------------- = e -x dx h(y) e -y e -y 0 1 P(0 < X < 1 Y = 2) = - e -x = - [ e -1 e 0 ] = - [0.3679 1] 0 = 0.6321 Example: Conditional distribution/independence 11/79) The amount of kerosene, in thousands of liters, in a tank at the beginning of any day is a random amount Y from which a random amount X is sold during that day. Suppose that the tank is not resupplied during the day so that x y, and assume that the joint density function of these variables is given by 2, 0 < x < y, 0 < y < 1 f(x,y) = 0, elsewhere. (a) Determine if X and Y are independent. (b) Find P(1/4 < X < 1/2 Y = 3/4 ). (a) f(x y) = f(x,y)/h(y) y h(y) = f(x,y) dx = 2 dx = 2x ] = 2y - - 0 f(x y) = 2/2y = 1/y, 0 < x < y Since f(x y) depends on y, x and y are dependent.

1/2 1/2 (b) P(1/4<x<1/2 y=3/4) = (4/3) dx = 4x/3 ] = (4/3)(1/2-1/4) = 1/3 1/4 1/4 20/80) Determine whether the two random variables of Exercise 13 are dependent or independent. f(1,1) =.05 3 g(1) = Σ f(1,y) =.05 +.05 + 0 =.10 y=1 3 h(1) = Σ f(x,1) =.05 +.05 +.10 =.20 x=1 For the two variables to be independent, f(1,1) = g(1)h(1), however,.05.10(.20). Hence the two are dependent variables. Example: Marginal distribution 13/79) Let X denote the number of times a certain numerical control machine will malfunction: 1, 2, or 3 times on any given day. Let Y denote the number of times a technician is called on an emergency call. Their joint probability distribution is given as: x f(x,y) 1 2 3 1 0.05 0.05 0.1 Y 2 0.05 0.1 0.35 3 0 0.2 0.1 a) Evaluate the marginal distribution of X. b) Evaluate the marginal distribution of Y. c) Find P(Y=3 X = 2).

Solution: Table x 1 2 3 h(y) 1 0.05 0.05 0.1 0.2 y 2 0.05 0.1 0.35 0.5 3 0 0.2 0.1 0.3 g(x) 0.1 0.35 0.55 1.0 a) The marginal distribution of x is x 1 2 3 g(x) 0.1 0.35 0.55 b) The marginal distribution of y is y 1 2 3 h(y) 0.2 0.5 0.3 c) P( Y= 3 X = 2) = 0.2 (from the table) Example: Continuous cumulative distribution 14/61) The waiting time, in hours, between successive speeders spotted by a radar unit is a continuous random variable with cumulative distribution F(x) = 0, x 0 1 e -8x, x>0. Find the probability of waiting less than 12 minutes between successive speeders a) using the cumulative distribution of X; b) using the probability density function of X.

12 minutes = 0.2 hrs. 0 a) P(x < 0.2) = F(0.2) F(0) = [1- e -8(.2) ] [1 e -8(0) ] = 0.7981 b) f(x) = df(x)/dx = (1-e -8x )(-8dx)/dx = (-8)( 1-e -8x ) 0.2 0.2 P(0 < x< 0.2) = (-8)( 1-e -8x ) dx = [1-e -8x ] = 0.7981 0 0