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

Similar documents
Known probability distributions

Discrete Random Variables

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

Statistics for Managers Using Microsoft Excel (3 rd Edition)

Conditional Probability

Chapter 2: Discrete Distributions. 2.1 Random Variables of the Discrete Type

Relationship between probability set function and random variable - 2 -

ECE 302: Probabilistic Methods in Electrical Engineering

Continuous-Valued Probability Review

Binomial and Poisson Probability Distributions

Binomial random variable

Counting principles, including permutations and combinations.

ACM 116: Lecture 2. Agenda. Independence. Bayes rule. Discrete random variables Bernoulli distribution Binomial distribution

Discrete Random Variables (cont.) Discrete Distributions the Geometric pmf

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

(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3)

A Probability Primer. A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes.

ELEG 3143 Probability & Stochastic Process Ch. 2 Discrete Random Variables

To find the median, find the 40 th quartile and the 70 th quartile (which are easily found at y=1 and y=2, respectively). Then we interpolate:

Introduction to Probability and Statistics Slides 3 Chapter 3

Distribusi Binomial, Poisson, dan Hipergeometrik

STAT 302 Introduction to Probability Learning Outcomes. Textbook: A First Course in Probability by Sheldon Ross, 8 th ed.

Guidelines for Solving Probability Problems

Conditional Probability

MTH4451Test#2-Solutions Spring 2009

STAT509: Discrete Random Variable

Name: Firas Rassoul-Agha

(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3)

CS626 Data Analysis and Simulation

PROBABILITY.

Chapter 3 Discrete Random Variables

Outline Conditional Probability The Law of Total Probability and Bayes Theorem Independent Events. Week 4 Classical Probability, Part II

Recitation 2: Probability

BINOMIAL DISTRIBUTION

Bayes Theorem and Hypergeometric Distribution

Lecture 3. Discrete Random Variables

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

Reliability of Technical Systems

Probability Dr. Manjula Gunarathna 1

Why study probability? Set theory. ECE 6010 Lecture 1 Introduction; Review of Random Variables

Conditional Probability. CS231 Dianna Xu

Copyright c 2006 Jason Underdown Some rights reserved. choose notation. n distinct items divided into r distinct groups.

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

Chapter 1 Statistical Reasoning Why statistics? Section 1.1 Basics of Probability Theory

CS 237: Probability in Computing

Random Variables Example:

Advanced Herd Management Probabilities and distributions

A survey of Probability concepts. Chapter 5

Probability Year 9. Terminology

Chapter 3: Discrete Random Variable

Discrete Distributions

MA : Introductory Probability

STAT2201. Analysis of Engineering & Scientific Data. Unit 3

Closed book and notes. 120 minutes. Cover page, five pages of exam. No calculators.

2011 Pearson Education, Inc

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

Part IA Probability. Definitions. Based on lectures by R. Weber Notes taken by Dexter Chua. Lent 2015

Discrete Probability Distributions

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 1

Discrete Random Variable

Chapter 2 Random Variables

UNIT Explain about the partition of a sampling space theorem?

Discrete and continuous

1. Discrete Distributions

Mathematical Statistics 1 Math A 6330

CME 106: Review Probability theory

Topic 9 Examples of Mass Functions and Densities

14 - PROBABILITY Page 1 ( Answers at the end of all questions )

Statistics for Economists. Lectures 3 & 4

Probability Year 10. Terminology

CDA6530: Performance Models of Computers and Networks. Chapter 2: Review of Practical Random Variables

Lecture 14. Text: A Course in Probability by Weiss 5.6. STAT 225 Introduction to Probability Models February 23, Whitney Huang Purdue University

MATH Notebook 5 Fall 2018/2019

Discrete random variables and probability distributions

Introduction to Machine Learning

Random variable X is a mapping that maps each outcome s in the sample space to a unique real number x, x. X s. Real Line

Chapter 7 Wednesday, May 26th

Probability Distribution

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

Midterm #1 - Solutions

An-Najah National University Faculty of Engineering Industrial Engineering Department. Course : Quantitative Methods (65211)

Lecture 4: Bernoulli Process

M378K In-Class Assignment #1

Chapter Learning Objectives. Random Experiments Dfiii Definition: Dfiii Definition:

Estimation of reliability parameters from Experimental data (Parte 2) Prof. Enrico Zio

Discrete Probability Distribution

Chapter 3. Discrete Random Variables and Their Probability Distributions

ECE-580-DOE : Statistical Process Control and Design of Experiments Steve Brainerd 27 Distributions:

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

Lecture 16. Lectures 1-15 Review

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

Lecture 13. Poisson Distribution. Text: A Course in Probability by Weiss 5.5. STAT 225 Introduction to Probability Models February 16, 2014

Chapter 1. Sets and probability. 1.3 Probability space

Introduction to Statistical Data Analysis Lecture 3: Probability Distributions

CIVL 7012/8012. Basic Laws and Axioms of Probability

Chapter 1: Revie of Calculus and Probability

Math/Stat 352 Lecture 8

ECE 313 Probability with Engineering Applications Fall 2000

Chapter 2: Random Variables

Transcription:

Fault-Tolerant Computer System Design ECE 60872/CS 590 Topic 2: Discrete Distributions Saurabh Bagchi ECE/CS Purdue University Outline Basic probability Conditional probability Independence of events Series-parallel system reliability evaluation Bayes rule Bernoulli trials Purdue University 2 ECE 60872/CS 590 1

Outline Discrete random variables Probability mass function Cumulative distribution function Distributions Bernoulli Binomial Geometric Poisson Hypergeomteric NOTE: This class material is substantially covered on the board. The topics are accompanied by sample problems discussed in class. Purdue University 3 ECE 60872/CS 590 Probability Basic probability definition Conditional probability of A given B Independence of events Not transitive Generalization to n events being independent Example Purdue University 4 ECE 60872/CS 590 2

Series-Parallel System Series system is one where the components are so interrelated that the whole system will fail if any of the components fails A series system of n components with probability of i th component functioning correctly = p i. Calculate reliability of system. What is the assumption here? Parallel system is one where the system will fail if all of the components fails What is the reliability of a parallel system with n components? Example of a series-parallel system and evaluate its reliability Purdue University 5 ECE 60872/CS 590 Modeling Reliability: Reliability Block Diagram and Fault Tree Reliability Block Diagram (RBD) Series-parallel system Components are combined into blocks The block may be series, parallel, or k-out-of-n configurations Example Fault Tree Graphical representation of the events that can cause system failure Event can be a basic event or logical combination of lower-level events Assume basic events are mutually independent Example Purdue University 6 ECE 60872/CS 590 3

Bayes Rule If B1 and B2 are mutually exclusive (m.e.) and collectively exhaustive (c.e.) events then: P(A) = P(A B1) * P(B1) + P(A B2) * P(B2) Generalization to n m.e. and c.e. events gives Theorem of Total Probability Bayes Rule P(B A) = P(A B)/P(A) = P(B)P(A B)/ P(B i )P(A B i ) Where B i s are c.e. and m.e. Purdue University 7 ECE 60872/CS 590 Bernoulli Trials Definition: Random experiment has two possible outcomes. N independent repetitions of the experiment are done. Examples Jump taken or not taken in branch predictor Transmitted bit received correctly or incorrectly in a faulty channel Probability of success = p(say), probability of failure = q (say) Probability of k successes in n trials = p(k) =? Example problem: TMR reliability computation Purdue University 8 ECE 60872/CS 590 4

Generalized Bernoulli trials There are k possible outcomes on each trial: b 1, b 2,, b k Probability of outcome b i is p i What is the probability there will be n i occurrences of outcome b i? Clarification: b 1 happens n 1 times, b 2 happens n 2 times,, b k happens n k times. Example: At the end of CPU processing, a job is serviced by one of several I/O devices Example problem: Malfunctioning diodes Purdue University 9 ECE 60872/CS 590 Discrete Random Variables Definition: A random variable X on sample space S is a function X: S R that assigns a real number X(s) to each sample point s S Example: Consider three tosses of a coin with head=0, tail=1. Random variable examples are number of 1 s, number of tosses before first 1. A discrete random variable is one which takes on values from the set of discrete numbers Inverse image of a random variable A x Purdue University 10 ECE 60872/CS 590 5

Probability Mass Function & Cumulative Distribution Function Probability mass function (pmf) gives probability that the value of the random variable X is equal to x. Denoted by p X (x) Example: Three tosses of an unbiased coin. Random variable is number of 1 s in the toss. What is the pmf? Cumulative distribution function (cdf) F X (t) = P(X t) P(a < X b) =? CDF for discrete random variables has jumps Purdue University 11 ECE 60872/CS 590 Examples of PMF & CDF Bernoulli Binomial Example problem: Defective shipments from two vendors Laplace approximation of binomial for large n Geometric Number of trials till first success in Bernoulli trials Modified geometric distribution: number of failures till first success Example: Time slices in a computer and program finishes execution with probability p in a given time slice. What is the number of time slices needed for the program to complete? Memoryless property Purdue University 12 ECE 60872/CS 590 6

Examples of PMF & CDF Poisson Distribution gives probability of k arrivals in interval (0,t] Rate of arrival constant Single parameter = t. Denoted by f(k; ) Poisson approximation to Binomial for large n (>20), small p (<0.05) Probability of k components failing in time t Hypergeometric Distribution gives probability of k defectives m samples drawn from a total of n items with d defective A drawn sample is not replaced Denoted by h(k; m,d,n) Binomial is generally a good approximation for hypergeometric when m << n Purdue University 13 ECE 60872/CS 590 7