Performance Evaluation

Size: px
Start display at page:

Download "Performance Evaluation"

Transcription

1 Performance Evaluation Chapter 5 Short Probability Primer & Obtaining Results (Acknowledgement: these slides have mostly been compiled from [Kar04, Rob0, BLK0]) otivation! Recall:! Usually, a simulation program is build in order to help answer a series of (quantitative) questions about a system under study! For this, a model (the simulation program) is build! This model needs to represent the system under study with sufficient accuracy concerning the characteristics of the system that are relevant for the questions of interest! Typically, this requires modeling of the following:! System! Load! Faults

2 System, Load, and Fault odels ()! System model:! Describes the composition of an entire system out of simpler subsystems! Represents the behavior, the way a system works! In communication networks:! Entities communicate by exchanging messages over links! Protocols implemented in entities, can have parameters like processing delays, limited queue length! Links can have parameters like bandwidth and delay (compiled from [Kar04]) 3 System, Load, and Fault odels ()! Load model:! Describes the pattern with which requests are made to the system to perform different kinds of activities When do such requests occur? What is the time between requests? What are the parameters of such a request?! In communication networks:! Load is the desire of a user to send a packet to another user Example parameter: How big is the packet?! On a coarser abstraction level: How often are connections established? How much data is transmitted within a connection? What is the mix between different types of connections (QoS) within a session?... 4

3 System, Load, and Fault odels (3)! Fault model:! Describes which parts of a system can deviate from their proscribed/ desired behavior, and in which form When do such deviations occur? Can they be repeated (are faulty entities repaired)? How long do deviations last? Which kind of faulty behavior occurs?! In communication networks:! Entities can be faulty (e.g., a node can crash, often considered a permanent error)! Communication links can be faulty (e.g., some bits are not transmitted correctly, due to electromagnetic noise, usually considered a transient error) 5 System, Load, and Fault odels (4)! Neither the arrival of requests nor the occurrence of faults can be described deterministically! Random distributions needed to model these events along with their parameters:! What distributions are available, appropriate and easy to use in simulations?! How can random numbers be generated such that the simulated events occur according to these distributions? (Based on general-purpose random number generators?)! How well do standard distributions match observed behavior of real (communication) systems? How to choose parameters for distributions to model real systems?! What to do if no simple standard distributions can be found that match a real system s behavior?! Is it sufficient to just look at distributions?! By the way, what exactly is a distribution???! We will first review some basics of probability... 6

4 Short Review of Some Probability Basics! Probability is a numerical measure of the likelihood that an event will occur.! Probability values are always assigned on a scale from 0 to.! A probability near 0 indicates an event is very unlikely to occur.! A probability near indicates an event is almost certain to occur.! A probability of 0.5 indicates the occurrence of the event is just as likely as it is unlikely. Increasing Likelihood of Occurrence Probability: 0.5 The occurrence of the event is just as likely as it is unlikely. (compiled from [Rob0]) 7 An Experiment and Its Sample Space! An experiment is any process that generates well-defined outcomes.! The sample space for an experiment is the set of all experimental outcomes.! A sample point is an element of the sample space, any one particular experimental outcome.! Examples: Experiment! Draw a card from a pack! Telephone sales call! First number drawn in National Lottery Outcomes! {Ace hearts, hearts,, King of spades}! Sale or no sale! {,,3,,49} 8

5 Constructing Sample Spaces! A good way to construct the sample space is to write down examples of typical outcomes and try to identify the complete set! Example: Toss a coin four times One typical outcome is four consecutive heads (H,H,H,H), another is a head, tail, head and head (H,T,H,H) A little thought results in identifying the sample space as the set of all such 4-tuples S={ (H,H,H,H),(H,H,H,T), (H,H,T,H), (H,T,H,H), (T,H,H,H), (H,H,T,T), (H,T,H,T), (H,T,T,H), (T,H,T,H), (T,T,H,H), (T,H,H,T), (H,T,T,T), (T,H,T,T), (T,T,H,T), (T,T,T,H), (T,T,T,T) } 9 A Counting Rule for ultiple-step Experiments! If an experiment consists of a sequence of k steps in which there are n possible results for the first step, n possible results for the second step, and so on, then the total number of experimental outcomes is given by (n )(n )... (n k )! A helpful graphical representation of a multiple-step experiment is a tree diagram 0

6 Counting Rule for Combinations Another useful counting rule enables us to count the number of experimental outcomes when n objects are to be selected from a set of N objects! Number of combinations of N objects taken n at a time N Cn ' = % & N n $ " # = N! n!( N n)! where N! = N(N - )(N - )... ()() n! = n(n - )( n - )... ()() 0! = Counting Rule for Permutations A third useful counting rule enables us to count the number of experimental outcomes when n objects are to be selected from a set of N objects where the order of selection is important! Number of permutations of N objects taken n at a time: N Pn ' N $ = n! % " & n # = N! (N n)!

7 Assigning Probabilities! Classical ethod:! Assigning probabilities based on the assumption of equally likely outcomes! Relative Frequency ethod:! Assigning probabilities based on experimentation or historical data! Subjective ethod:! Assigning probabilities based on the assignor s judgment! Applied in economics and related sciences 3 Classical ethod If an experiment has n possible outcomes, this method would assign a probability of /n to each outcome.! Example: Experiment: Rolling a die Sample Space: S = {,, 3, 4, 5, 6} Probabilities: Each sample point has a /6 chance of occurring. 4

8 Relative Frequency of an Outcome! Suppose that, in a large number of repetitions, N, of the experiment, the outcome O, occurs The relative frequency of O is, n O times. n O N We can think of the probability of O as the value to which the relative frequency settles down as N gets larger and larger. 5 Events and Their Probability! An event is a collection of sample points! The probability of any event is equal to the sum of the probabilities of the sample points in the event! If we can identify all the sample points of an experiment and assign a probability to each, we can compute the probability of an event! There are some basic probability relationships that can be used to compute the probability of an event without knowledge of all the sample point probabilities:! Complement of an Event! Union of Two Events! Intersection of Two Events! utually Exclusive Events 6

9 Complement of an Event! The complement of event A is defined to be the event consisting of all sample points that are not in A! The complement of A is denoted by A c! The Venn diagram below illustrates the concept of a complement Sample Space S Event A A c 7 Union of Two Events! The union of events A and B is the event containing all sample points that are in A or B or both! The union is denoted by A B! The union of A and B is illustrated below Sample Space S Event A Event B 8

10 Intersection of Two Events! The intersection of events A and B is the set of all sample points that are in both A and B! The intersection is denoted by A Β! The intersection of A and B is the area of overlap in the illustration below Intersection Sample Space S Event A Event B 9 Addition Law! The addition law provides a way to compute the probability of event A, or B, or both A and B occurring! It is written as: P(A B) = P(A) + P(B) - P(A B) 0

11 utually Exclusive Events! Two events are said to be mutually exclusive if the events have no sample points in common! That is, two events are mutually exclusive if, when one event occurs, the other cannot occur Sample Space S Event A Event B! Addition Law for utually Exclusive Events: P(A B) = P(A) + P(B) Conditional Probability! The probability of an event given that another event has occurred is called a conditional probability! The conditional probability of A given B is denoted by P(A B)! A conditional probability is computed as follows: P( A B) = P( A B) P( B)

12 ultiplication Law! The multiplication law provides a way to compute the probability of an intersection of two events! The law is written as: P(A B) = P(B)P(A B) 3 Independent Events! Events A and B are independent if P(A B) = P(A)! ultiplication Law for Independent Events P(A B) = P(A)P(B)! The multiplication law also can be used as a test to see if two events are independent 4

13 Random Variables! A random variable is a numerical expression of the outcome of an experiment! Example : toss a die twice; count the number of times the number 4 appears (0, or times)! Example : toss a coin; assign $0 to head and -$30 to a tail! Discrete random variable:! Can only take discrete values! Obtained by counting (0,,, 3, etc.)! Usually a finite number of different values! E.g., toss a coin 5 times; count the number of tails (0,,, 3, 4, or 5 times) (compiled from [BLK0]) 5 Discrete Probability Distribution! A discrete probability distribution is the list of all possible [ j, P( j )] pairs, with:! j = Value of random variable! P( j ) = Probability associated with value! This list can be visualized with a histogram! utually Exclusive (Nothing in Common)! Collective Exhaustive (Nothing Left Out) ( j) P( j) 0 P = 6

14 Basic Summary easures ()! Expected Value (The ean):! Weighted average of the probability distribution µ = E( ) = jp( j) j! E.g., toss coins, count the number of tails, compute expected value: µ = j j ( j) P ( )( ) ( )( ) ( )( ) = = 7 Basic Summary easures ()! Variance:! Weighted average squared deviation about the mean ( ) ( j ) ( j) E" # P % & σ = µ = µ! E.g., Toss coins, count number of tails, compute variance: ( j ) P( j) σ = µ ( 0 ) (.5) ( ) (.5) ( ) (.5) = + + =.5! The standard deviation is the square root of the variance: σ = σ 8

15 Binomial Probability Distribution! n Identical Trials! E.g., 5 tosses of a coin; 0 light bulbs taken from a warehouse! utually Exclusive Outcomes on Each Trial! E.g., Heads or tails in each toss of a coin; defective or not defective light bulb! Trials are Independent! The outcome of one trial does not affect the outcome of the other! Constant Probability for Each Trial! E.g., Probability of getting a tail is the same each time we toss the coin! Sampling ethods! Infinite population without replacement! Finite population with replacement 9 Binomial Probability Distribution Function P( ) = P n!!( n )! p p ( ) n ( ) : probability of successes given n and p ( ) : number of "successes" in sample = 0,,,n p : the probability of each "success" n : sample size Tails in Tosses of Coin P() 0 /4 =.5 /4 =.50 /4 =.5 30

16 Binomial Distribution Characteristics! ean! E.g., ( ) µ = E = np ( ) µ = np = 5. =.5! Variance and Standard Deviation!! E.g., σ ( p) = np ( p) σ = np P() ( p) ( )( ) σ = np = 5.. =.6708 n = 5 p = Poisson Distribution Siméon Poisson 3

17 Poisson Distribution! Discrete events ( successes ) occurring in a given area of opportunity ( interval )! Interval can be time, length, surface area, etc.! The probability of a success in a given interval is the same for all the intervals! The number of successes in one interval is independent of the number of successes in other intervals! The probability of two or more successes occurring in an interval approaches zero as the interval becomes smaller! E.g., # customers arriving in 5 minutes! E.g., # defects per case of light bulbs 33 Poisson Probability Distribution Function ( ) P ( ) P e λ λ =! : probability of "successes" given λ : number of "successes" per unit λ : expected (average) number of "successes" e :.788 (base of natural logs) E.g., Find the probability of 4 customers arriving in 3 minutes when the mean is 3.6. ( ) P e 3.6 = =.9 4! 34

18 Poisson Distribution Characteristics! ean i=! Standard Deviation and Variance N ( ) µ = E = λ i ( ) P() = P λ = 0.5 i σ = λ σ = λ P() λ = Continuos Random Variables! Continuous random variable:! Values from interval of numbers (absence of gaps)! This implies, that for every single value, the probability that the variable takes on this value is 0! Continuous probability distribution:! Distribution of continuous random variable! Transition from a histogram to a continuous function! The probability that the random variable takes on a value in the interval [a, b] is the area under the function between the values a and b! Probability density function:! The derivation of the probability distribution! Important continuous probability distributions:! The uniform distribution! The exponential distribution! The normal distribution 36

19 The Uniform Distribution! Properties:! The probability of occurrence of a value is equally likely to occur anywhere in the range between the smallest value a and the largest value b! Also called the rectangular distribution! ean: µ = ( a+ b)! Variance: σ = ( b a) 37 The Uniform Distribution! The probability density function of the uniform distribution f = if a b ( ) ( b a)! Application: Selection of random numbers! E.g., A wooden wheel is spun on a horizontal surface and allowed to come to rest. What is the probability that a mark on the wheel will point to somewhere between the North and the East? P o 90 0 < < 90 = = 0.5 o 360 o o ( ) 38

20 Exponential Distributions ( ) P arrival time < = e λ : any value of continuous random variable λ : the population average number of arrivals per unit of time / λ: average time between arrivals e =.788 E.g., Drivers arriving at a toll bridge; customers arriving at an AT 39 Exponential Distributions! Describe Time or Distance between Events! Used for queues! Density Function! x f ( x) = e λ λ f() λ = 0.5 λ =.0! Parameters! µ = λ σ = λ 40

21 Exponential Distributions: Example! Customers arrive at the checkout line of a supermarket at the rate of 30 per hour.! What is the probability that the arrival time between consecutive customers will be greater than 5 minutes? λ = 30 = 5/ 60 hours ( arrival time > ) = ( arrival time ) P P = =.08 30( 5/ 60) ( e ) 4 The Beta distribution! Often use in the absence of better knowledge! Distributed between two distinct points! PDF: f(x) = x ( x) B(, ) B(, )! The function only normalizes the function = =! For uniform distribution [Stolen from Wikipedia] 4

22 The Normal Distribution! Properties:! Bell Shaped! Symmetrical! ean, edian and ode are Equal! Random Variable Has Infinite Range f() µ ean edian ode 43 The athematical odel f ( ) = e πσ ( ) ( ) (/ ) $ & µ / σ %' f : density of random variable π 3.459; e.788 µ : population mean σ : population standard deviation : value of random variable ( < < ) 44

23 any Normal Distributions There are an Infinite Number of Normal Distributions Varying the Parameters σ and µ, We Obtain Different Normal Distributions 45 The Standardized Normal Distribution When is normally distributed with a mean and a standard deviation, Z = µ σ µ σ follows a standardized (normalized) normal distribution with a mean 0 and a standard deviation. f(z) f() σ σ = Z µ µ Z = 0 Z 46

24 Finding Probabilities Probability is the area under the curve! Pc ( d) =? f() c d 47 Which Table to Use? Infinitely any Normal Distributions eans Infinitely any Tables to Look Up! 48

25 Solution: The Cumulative Standardized Normal Distribution Cumulative Standardized Normal Distribution Table (Portion) Z µ = 0 σ = Z Z Probabilities 0 Z = 0. Only One Table is Needed 49 Standardizing Example Normal Distribution σ =0 µ 6. 5 Z = = = 0. σ 0 Standardized Normal Distribution σ = Z Z µ = 5 µ Z = 0 50

26 Example: P ( ).9 7. =.664 Z µ.9 5 µ 7. 5 = = =. Z = = =. σ 0 σ 0 Normal Distribution σ =0 Standardized Normal Distribution.083 σ = Z Z µ = 5 µ = 0. 0 Z 5 Example: P( ).9 7. =.664 Cumulative Standardized Normal Distribution Table (Portion) Z µ = 0 σ = Z 0 Z = 0. Z.583 5

27 Example: P( ).9 7. =.664 Cumulative Standardized Normal Distribution Table (Portion) Z µ = 0 σ = Z Z = -0. Z 53 Back to Simulation...! When performing a simulation study, we are usually interested in obtaining answers to some quantitative questions! One very common question in this respect is:! What is the mean value of some defined metric of the system under study?! Example:! Packets arrive with an average inter-arrival time of / λ at a router! The router has two outgoing links and arriving packet joins link i with probability φ i! The service time on link i is µ i λ µ µ (mostly compiled from [Tow04]) 54

28 Gathering Performance Statistics! Average delay at queue i:! Record D ij : delay of customer j at queue i! Let N i be # customers passing through queue i T i N i j= = N D i ij! Throughput at queue i, γ i = N i total simulated time! Average queue length at i: N i = γ T i i Little s Law (not treated here) 55 Analyzing Output Results ()! Each time we run a simulation (using different random number streams), we will get different output results! distribution of random numbers to be used during simulation (interarrival, service times) random number sequence input simulation output output results random number sequence input simulation output output results input output random number sequence simulation output results 56

29 Analyzing Output Results () λ µ µ! Example: Delay experienced by each customer in queue! W,n : delay of nth departing customer from queue 57 Analyzing Output Results (3) λ µ µ! Each run shows variation in customer delay! One run different from next! Statistical characterization of delay must be made! Expected delay of n-th customer! Behavior as n approaches infinity! Average of n customers 58

30 Transient Behavior! Simulation outputs that depend on initial condition (i.e., output value changes when initial conditions change) are called transient characteristics! Early part of simulation! Example: The first customer entering a supermarket in the morning will always find an empty queue at the counter! Later part of simulation less dependent on initial conditions λ µ µ 59 Effect of Initial Conditions! Histogram of delay of 0 th customer, given initially empty (000 runs)! Histogram of delay of 0 th customer, given non-empty conditions 60

31 Steady state behavior! Output results may converge to limiting steady state value if simulation run long enough avg delay of packets [n, n+0] Knee avg of 5 simulations! Discard statistics gathered during transient phase, e.g., ignore first k measurements of delay at queue T i = N i j= k N i D ij k! Pick k so statistic is approximately the same for different random number streams and remains same as n increases 6 Estimating the Transient Phase ()! Perform m independent replications containing n observations each: { } m i, j, j =,..., n i! Calculate mean across all replications: = m j = i, j, j =,..., n m i=! Calculate overall mean across all replications: = n n! Remove first k observations when calculating overall mean: k n = n k j= k+ j j=, j k =,..., n 6

32 Estimating the Transient Phase ()! Compute and plot as a function of k: k! Identify the position k 0 of the knee and discard the first k 0 observations in subsequent runs! In order to facilitate computation of, it is better to record the running sum of all prior values instead of recording the values themselves:! Individual values can still be easily obtained by simple subtraction! With this we get: k k S i =, k j= i, j = n m m i= S i, n n k m m and k = ( Si, n Si, k ) i= 63 Confidence Intervals ()! Run simulation: get estimate as estimate of performance metrics of interest! Repeat simulation times (each with new set of random numbers), get, all different!! Which of, is right?! Intuitively, average of samples should be better than choosing any one of samples j How confident j= = are we in? 64

33 Confidence Intervals ()! We can not get perfect estimate of true mean, µ, with finite # samples! Instead, we look for bounds: find c and c such that: [c,c]: confidence interval 00(-α)%: confidence level Probability(c < µ < c) = α! One approach for finding c, c (suppose α=.)! Take k samples (e.g., k independent simulation runs)! Sort! Find largest value is smallest 5% -> c! Find smallest value in largest 5% -> c 65 Confidence Intervals The Central Limit Theorem! Central Limit Theorem: If samples, are independent and from same population (independent identically distributed, i.i.d.) with population mean µ and standard deviation σ, then the sample mean: j= = is approximately normally distributed with mean µ and standard deviation j σ 66

34 Confidence Intervals (3)! However, we usually do not know the population s standard deviation! So, we estimate it using the sample s (observed) standard deviation: s = ( m )! Given, s we can now find upper and lower tails of normal distributions containing α00% of the mass m= 67 Interpretation of Confidence Intervals! If we calculate confidence intervals as in the above recipe for α = 0.05, 95% of the confidence intervals thus computed will contain the true (unknown) population mean 68

35 Computing a Sample s Variance Simplified! Computing the sum of squared samples leads to simpler computation: s = i= = ( i ) = # % $ i= i= ( i i + ) & i i + ( ' i= = # & % i + ( $ ' = i= i= i i= But: This may lead to numerical problems, if numbers get big and variance is small! 69 Computing a Sample s Variance (Numerically Stable)! In 96, B. P. Welford proposed a method in an article that has been incorporated into Donald Knuth s book The Art of Programming ( nd volume, page 3, 3 rd edition): = x ; S = 0 ( ) k = k + x k k k S k = S k + ( x k k ) x k k ( ) For k n, the k th estimate of the variance is: s = S k k ( ) (see also: 70

36 Confidence Intervals: The Recipe ()! Given samples,, (e.g., having repeated simulation times), compute j= = j σ = m= ( m ) 95% confidence interval: ±.96σ 7 Confidence Intervals: The Recipe ()! Why does this work?! If the i have been observed running the same simulation program with different seed values for the random number generation (with enough distance between the seed values), then they are independent and identically distributed (i.i.d.) with some mean µ and variance σ! With = i i= we have: E & # & # [ ] = E i = E i! " $ % i= = E i=! " $ % i= [ ] = µ = µ i 7

37 Confidence Intervals: The Recipe (3)! Furthermore, and VAR& ( ' i= % # = VAR[ i ] σ $ i = # σ i! = σ = i= & VAR $ = VAR % " [ ]! Because of the central limit theorem, for large the are normal distributed with expected value µ and standard deviation σ! In practice, this gives a good estimation already for >30 73 Confidence Intervals: The Recipe (4)! Consider now the random variable Z = σ µ! Z is normal distributed with mean 0 and variance Z α! We now look for and so that! From the table of the N(0,) normal distribution we obtain the value for a given α (~ the amount of confidence we are aiming at )! For α = 0.05, we obtain Z α P( Zα Z Z % α = α &' #$ Z α =.96 Z α 74

38 Confidence Intervals: The Recipe (5) P α '( ) Z Z Z ) P ' Z ' '( P ) '( P ) '( α Z Z α α σ σ α & $% µ Z σ = α α & $ = α $ $ % µ µ + Z α + Z σ α σ & $% & $% = α = α.96σ ±! This leads to our formula for the confidence interval 75 Generating Confidence Intervals for Steady State easures! In order to obtain enough i.i.d. observations, we have two simple alternatives (others exist):! Independent replications: perform independent runs with different seeds (also remember to delete k observations from transient phase): However, if we want to use the central limit theorem, we should at least perform 30 independent simulation runs... Alternatively, we can use a student-t distribution instead of the normal distribution if <30 (see next slides)! Batch means: take a single run, delete first k observations, divide remainder into n groups and obtain i for i-th group, i =,,n Follow procedure for independent replications Complication due to non-independence of i s Potential efficiency gain due to deletion of only k observations 76

39 Confidence Intervals with Student-T Distribution ()! When the sample size is relatively small, however, the approximation of the confidence interval with the normal distribution is poor! In this case, one can make use of the student-t distribution! If is the sample mean of a random sample of size from a random population having the mean µ and standard deviation S, then the random variable T = µ S has student-t distribution with - degrees of freedom! Thus, the 00(-α)% confidence interval of µ can be obtained as t ; α S < µ < + t ; α S (source: [Tri0]) 77 78

40 Confidence Intervals with Student-T Distribution ()! In the above formula, ; is defined such that the area under the t probability density function to its right is equal to α, that is P( T > t ) ; α = α n! This value can be read from a table (see next slide)! Example: t n α! Estimate the average execution time of a program, that was run six time with randomly chosen data sets, obtaining sample mean = 30 ms and a sample standard deviation of s = 4! To obtain a 98% confidence interval of the true mean execution time µ, we read t 5;0.0 from the table of student-t distribution with n- = 5 degrees of freedom to be 3.365, leading to the following confidence interval: < µ < or < µ < (with 98% confidence) 79 Important Values of the Student-T Distribution df a = degrees of freedom 80

41 Additional References [BLK0]. L. Berenson, D.. Levine, T. K. Krehbiel. Basic Business Statistics. course slides to the ninth edition of the book. Prentice-Hall, [Jain9] R. Jain. The Art of Computer Systems Performance Analysis: Techniques for Experimental Design, easurement, Simulation, and odeling. Wiley, 99. [Karl04] H. Karl. Praxis der Simulation. course slides, Technische Universität Berlin. [Rob0] T. Robinson. Probability. course slides, University of Bath, ~masar/univ0037/probability.ppt [Tow04] Don Towsley. Network Simulation. slides for course Advanced Foundations of Computer Networks, University of assachusetts, USA, [Tri0] K. S. Trivedi. Probability and Statistics with Reliability, Queueing and Computer Science Applications. Wiley, 00. [Var04] A. Varga. ONeT++: Object-Oriented Discrete Event Simulator

PROBABILITY THEORY. Prof. S. J. Soni. Assistant Professor Computer Engg. Department SPCE, Visnagar

PROBABILITY THEORY. Prof. S. J. Soni. Assistant Professor Computer Engg. Department SPCE, Visnagar PROBABILITY THEORY By Prof. S. J. Soni Assistant Professor Computer Engg. Department SPCE, Visnagar Introduction Signals whose values at any instant t are determined by their analytical or graphical description

More information

Statistics for Managers Using Microsoft Excel (3 rd Edition)

Statistics for Managers Using Microsoft Excel (3 rd Edition) Statistics for Managers Using Microsoft Excel (3 rd Edition) Chapter 4 Basic Probability and Discrete Probability Distributions 2002 Prentice-Hall, Inc. Chap 4-1 Chapter Topics Basic probability concepts

More information

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

Statistics for Managers Using Microsoft Excel/SPSS Chapter 4 Basic Probability And Discrete Probability Distributions Statistics for Managers Using Microsoft Excel/SPSS Chapter 4 Basic Probability And Discrete Probability Distributions 1999 Prentice-Hall, Inc. Chap. 4-1 Chapter Topics Basic Probability Concepts: Sample

More information

Distribusi Binomial, Poisson, dan Hipergeometrik

Distribusi Binomial, Poisson, dan Hipergeometrik Distribusi Binomial, Poisson, dan Hipergeometrik CHAPTER TOPICS The Probability of a Discrete Random Variable Covariance and Its Applications in Finance Binomial Distribution Poisson Distribution Hypergeometric

More information

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER 2 2017/2018 DR. ANTHONY BROWN 5.1. Introduction to Probability. 5. Probability You are probably familiar with the elementary

More information

Chap 1: Experiments, Models, and Probabilities. Random Processes. Chap 1 : Experiments, Models, and Probabilities

Chap 1: Experiments, Models, and Probabilities. Random Processes. Chap 1 : Experiments, Models, and Probabilities EE8103 Random Processes Chap 1 : Experiments, Models, and Probabilities Introduction Real world word exhibits randomness Today s temperature; Flip a coin, head or tail? WalkAt to a bus station, how long

More information

Thus, P(F or L) = P(F) + P(L) - P(F & L) = = 0.553

Thus, P(F or L) = P(F) + P(L) - P(F & L) = = 0.553 Test 2 Review: Solutions 1) The following outcomes have at least one Head: HHH, HHT, HTH, HTT, THH, THT, TTH Thus, P(at least one head) = 7/8 2) The following outcomes have a sum of 9: (6,3), (5,4), (4,5),

More information

Chapter 4 - Introduction to Probability

Chapter 4 - Introduction to Probability Chapter 4 - Introduction to Probability Probability is a numerical measure of the likelihood that an event will occur. Probability values are always assigned on a scale from 0 to 1. A probability near

More information

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 16. Random Variables: Distribution and Expectation

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 16. Random Variables: Distribution and Expectation CS 70 Discrete Mathematics and Probability Theory Spring 206 Rao and Walrand Note 6 Random Variables: Distribution and Expectation Example: Coin Flips Recall our setup of a probabilistic experiment as

More information

Random variables (section 6.1)

Random variables (section 6.1) Random variables (section 6.1) random variable: a number attached to the outcome of a random process (r.v is usually denoted with upper case letter, such as \) discrete random variables discrete random

More information

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

What is Probability? Probability. Sample Spaces and Events. Simple Event What is Probability? Probability Peter Lo Probability is the numerical measure of likelihood that the event will occur. Simple Event Joint Event Compound Event Lies between 0 & 1 Sum of events is 1 1.5

More information

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability Lecture Notes 1 Basic Probability Set Theory Elements of Probability Conditional probability Sequential Calculation of Probability Total Probability and Bayes Rule Independence Counting EE 178/278A: Basic

More information

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

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability What is Probability? the chance of an event occuring eg 1classical probability 2empirical probability 3subjective probability Section 2 - Probability (1) Probability - Terminology random (probability)

More information

2011 Pearson Education, Inc

2011 Pearson Education, Inc Statistics for Business and Economics Chapter 3 Probability Contents 1. Events, Sample Spaces, and Probability 2. Unions and Intersections 3. Complementary Events 4. The Additive Rule and Mutually Exclusive

More information

Introduction to Probability

Introduction to Probability Introduction to Probability Content Experiments, Counting Rules, and Assigning Probabilities Events and Their Probability Some Basic Relationships of Probability Conditional Probability Bayes Theorem 2

More information

Ch 14 Randomness and Probability

Ch 14 Randomness and Probability Ch 14 Randomness and Probability We ll begin a new part: randomness and probability. This part contain 4 chapters: 14-17. Why we need to learn this part? Probability is not a portion of statistics. Instead

More information

Introduction to Probability. Experiments. Sample Space. Event. Basic Requirements for Assigning Probabilities. Experiments

Introduction to Probability. Experiments. Sample Space. Event. Basic Requirements for Assigning Probabilities. Experiments Introduction to Probability Experiments These are processes that generate welldefined outcomes Experiments Counting Rules Combinations Permutations Assigning Probabilities Experiment Experimental Outcomes

More information

Discrete probability distributions

Discrete probability distributions Discrete probability s BSAD 30 Dave Novak Fall 08 Source: Anderson et al., 05 Quantitative Methods for Business th edition some slides are directly from J. Loucks 03 Cengage Learning Covered so far Chapter

More information

Chapter 01 : What is Statistics?

Chapter 01 : What is Statistics? Chapter 01 : What is Statistics? Feras Awad Data: The information coming from observations, counts, measurements, and responses. Statistics: The science of collecting, organizing, analyzing, and interpreting

More information

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

Fault-Tolerant Computer System Design ECE 60872/CS 590. Topic 2: Discrete Distributions 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

More information

STAT Chapter 3: Probability

STAT Chapter 3: Probability Basic Definitions STAT 515 --- Chapter 3: Probability Experiment: A process which leads to a single outcome (called a sample point) that cannot be predicted with certainty. Sample Space (of an experiment):

More information

Notes Week 2 Chapter 3 Probability WEEK 2 page 1

Notes Week 2 Chapter 3 Probability WEEK 2 page 1 Notes Week 2 Chapter 3 Probability WEEK 2 page 1 The sample space of an experiment, sometimes denoted S or in probability theory, is the set that consists of all possible elementary outcomes of that experiment

More information

Week 2: Probability: Counting, Sets, and Bayes

Week 2: Probability: Counting, Sets, and Bayes Statistical Methods APPM 4570/5570, STAT 4000/5000 21 Probability Introduction to EDA Week 2: Probability: Counting, Sets, and Bayes Random variable Random variable is a measurable quantity whose outcome

More information

Counting principles, including permutations and combinations.

Counting principles, including permutations and combinations. 1 Counting principles, including permutations and combinations. The binomial theorem: expansion of a + b n, n ε N. THE PRODUCT RULE If there are m different ways of performing an operation and for each

More information

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

Outline Conditional Probability The Law of Total Probability and Bayes Theorem Independent Events. Week 4 Classical Probability, Part II Week 4 Classical Probability, Part II Week 4 Objectives This week we continue covering topics from classical probability. The notion of conditional probability is presented first. Important results/tools

More information

Physics 1140 Lecture 6: Gaussian Distributions

Physics 1140 Lecture 6: Gaussian Distributions Physics 1140 Lecture 6: Gaussian Distributions February 21/22, 2008 Homework #3 due Monday, 5 PM Should have taken data for Lab 3 this week - due Tues. Mar. 4, 5:30 PM Final (end of lectures) is next week

More information

Probability Distribution

Probability Distribution Economic Risk and Decision Analysis for Oil and Gas Industry CE81.98 School of Engineering and Technology Asian Institute of Technology January Semester Presented by Dr. Thitisak Boonpramote Department

More information

Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary)

Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary) Chapter 14 From Randomness to Probability How to measure a likelihood of an event? How likely is it to answer correctly one out of two true-false questions on a quiz? Is it more, less, or equally likely

More information

Review of Statistics

Review of Statistics Review of Statistics Topics Descriptive Statistics Mean, Variance Probability Union event, joint event Random Variables Discrete and Continuous Distributions, Moments Two Random Variables Covariance and

More information

Review Basic Probability Concept

Review Basic Probability Concept Economic Risk and Decision Analysis for Oil and Gas Industry CE81.9008 School of Engineering and Technology Asian Institute of Technology January Semester Presented by Dr. Thitisak Boonpramote Department

More information

HW1 Solutions. October 5, (20 pts.) Random variables, sample space and events Consider the random experiment of ipping a coin 4 times.

HW1 Solutions. October 5, (20 pts.) Random variables, sample space and events Consider the random experiment of ipping a coin 4 times. HW1 Solutions October 5, 2016 1. (20 pts.) Random variables, sample space and events Consider the random experiment of ipping a coin 4 times. 1. (2 pts.) Dene the appropriate random variables. Answer:

More information

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

A Probability Primer. A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes. A Probability Primer A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes. Are you holding all the cards?? Random Events A random event, E,

More information

Overall Plan of Simulation and Modeling I. Chapters

Overall Plan of Simulation and Modeling I. Chapters Overall Plan of Simulation and Modeling I Chapters Introduction to Simulation Discrete Simulation Analytical Modeling Modeling Paradigms Input Modeling Random Number Generation Output Analysis Continuous

More information

2. AXIOMATIC PROBABILITY

2. AXIOMATIC PROBABILITY IA Probability Lent Term 2. AXIOMATIC PROBABILITY 2. The axioms The formulation for classical probability in which all outcomes or points in the sample space are equally likely is too restrictive to develop

More information

Probability- describes the pattern of chance outcomes

Probability- describes the pattern of chance outcomes Chapter 6 Probability the study of randomness Probability- describes the pattern of chance outcomes Chance behavior is unpredictable in the short run, but has a regular and predictable pattern in the long

More information

Notes 10.1 Probability

Notes 10.1 Probability Notes 10.1 Probability I. Sample Spaces and Probability Functions A. Vocabulary: 1. The Sample Space is all possible events 2. An event is a subset of the sample space 3. Probability: If E is an event

More information

Introduction to Probability 2017/18 Supplementary Problems

Introduction to Probability 2017/18 Supplementary Problems Introduction to Probability 2017/18 Supplementary Problems Problem 1: Let A and B denote two events with P(A B) 0. Show that P(A) 0 and P(B) 0. A A B implies P(A) P(A B) 0, hence P(A) 0. Similarly B A

More information

Lecture 2 31 Jan Logistics: see piazza site for bootcamps, ps0, bashprob

Lecture 2 31 Jan Logistics: see piazza site for bootcamps, ps0, bashprob Lecture 2 31 Jan 2017 Logistics: see piazza site for bootcamps, ps0, bashprob Discrete Probability and Counting A finite probability space is a set S and a real function p(s) ons such that: p(s) 0, s S,

More information

Econ 113. Lecture Module 2

Econ 113. Lecture Module 2 Econ 113 Lecture Module 2 Contents 1. Experiments and definitions 2. Events and probabilities 3. Assigning probabilities 4. Probability of complements 5. Conditional probability 6. Statistical independence

More information

Chapter 6: Probability The Study of Randomness

Chapter 6: Probability The Study of Randomness Chapter 6: Probability The Study of Randomness 6.1 The Idea of Probability 6.2 Probability Models 6.3 General Probability Rules 1 Simple Question: If tossing a coin, what is the probability of the coin

More information

tossing a coin selecting a card from a deck measuring the commuting time on a particular morning

tossing a coin selecting a card from a deck measuring the commuting time on a particular morning 2 Probability Experiment An experiment or random variable is any activity whose outcome is unknown or random upfront: tossing a coin selecting a card from a deck measuring the commuting time on a particular

More information

Lecture Lecture 5

Lecture Lecture 5 Lecture 4 --- Lecture 5 A. Basic Concepts (4.1-4.2) 1. Experiment: A process of observing a phenomenon that has variation in its outcome. Examples: (E1). Rolling a die, (E2). Drawing a card form a shuffled

More information

Lecture 3 Probability Basics

Lecture 3 Probability Basics Lecture 3 Probability Basics Thais Paiva STA 111 - Summer 2013 Term II July 3, 2013 Lecture Plan 1 Definitions of probability 2 Rules of probability 3 Conditional probability What is Probability? Probability

More information

ELEG 3143 Probability & Stochastic Process Ch. 1 Experiments, Models, and Probabilities

ELEG 3143 Probability & Stochastic Process Ch. 1 Experiments, Models, and Probabilities Department of Electrical Engineering University of Arkansas ELEG 3143 Probability & Stochastic Process Ch. 1 Experiments, Models, and Probabilities Dr. Jing Yang jingyang@uark.edu OUTLINE 2 Applications

More information

Random Variables. Definition: A random variable (r.v.) X on the probability space (Ω, F, P) is a mapping

Random Variables. Definition: A random variable (r.v.) X on the probability space (Ω, F, P) is a mapping 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 5 s. Then X could be 0, 1, 2, 3, 4, 5, 6. X = 0 corresponds to the

More information

G.PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING PROBABILITY THEORY & STOCHASTIC PROCESSES

G.PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING PROBABILITY THEORY & STOCHASTIC PROCESSES G.PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING PROBABILITY THEORY & STOCHASTIC PROCESSES LECTURE NOTES ON PTSP (15A04304) B.TECH ECE II YEAR I SEMESTER

More information

Topic 3: Introduction to Probability

Topic 3: Introduction to Probability Topic 3: Introduction to Probability 1 Contents 1. Introduction 2. Simple Definitions 3. Types of Probability 4. Theorems of Probability 5. Probabilities under conditions of statistically independent events

More information

Chapter 8 Sequences, Series, and Probability

Chapter 8 Sequences, Series, and Probability Chapter 8 Sequences, Series, and Probability Overview 8.1 Sequences and Series 8.2 Arithmetic Sequences and Partial Sums 8.3 Geometric Sequences and Partial Sums 8.5 The Binomial Theorem 8.6 Counting Principles

More information

Discrete Random Variable

Discrete Random Variable Discrete Random Variable Outcome of a random experiment need not to be a number. We are generally interested in some measurement or numerical attribute of the outcome, rather than the outcome itself. n

More information

Probability the chance that an uncertain event will occur (always between 0 and 1)

Probability the chance that an uncertain event will occur (always between 0 and 1) Quantitative Methods 2013 1 Probability as a Numerical Measure of the Likelihood of Occurrence Probability the chance that an uncertain event will occur (always between 0 and 1) Increasing Likelihood of

More information

P (second card 7 first card King) = P (second card 7) = %.

P (second card 7 first card King) = P (second card 7) = %. Example 1. A card is dealt from the top of a well-shu ed deck, then it is replaced, the deck is reshu ed and another card is dealt. What is the probability that the second card is a 7 given that the first

More information

Math 1313 Experiments, Events and Sample Spaces

Math 1313 Experiments, Events and Sample Spaces Math 1313 Experiments, Events and Sample Spaces At the end of this recording, you should be able to define and use the basic terminology used in defining experiments. Terminology The next main topic in

More information

Origins of Probability Theory

Origins of Probability Theory 1 16.584: INTRODUCTION Theory and Tools of Probability required to analyze and design systems subject to uncertain outcomes/unpredictability/randomness. Such systems more generally referred to as Experiments.

More information

Fundamentals of Probability CE 311S

Fundamentals of Probability CE 311S Fundamentals of Probability CE 311S OUTLINE Review Elementary set theory Probability fundamentals: outcomes, sample spaces, events Outline ELEMENTARY SET THEORY Basic probability concepts can be cast in

More information

Queueing Theory and Simulation. Introduction

Queueing Theory and Simulation. Introduction Queueing Theory and Simulation Based on the slides of Dr. Dharma P. Agrawal, University of Cincinnati and Dr. Hiroyuki Ohsaki Graduate School of Information Science & Technology, Osaka University, Japan

More information

Statistical Inference

Statistical Inference Statistical Inference Lecture 1: Probability Theory MING GAO DASE @ ECNU (for course related communications) mgao@dase.ecnu.edu.cn Sep. 11, 2018 Outline Introduction Set Theory Basics of Probability Theory

More information

Set/deck of playing cards. Spades Hearts Diamonds Clubs

Set/deck of playing cards. Spades Hearts Diamonds Clubs TC Mathematics S2 Coins Die dice Tale Head Set/deck of playing cards Spades Hearts Diamonds Clubs TC Mathematics S2 PROBABILITIES : intuitive? Experiment tossing a coin Event it s a head Probability 1/2

More information

Discrete Random Variables

Discrete Random Variables CPSC 53 Systems Modeling and Simulation Discrete Random Variables Dr. Anirban Mahanti Department of Computer Science University of Calgary mahanti@cpsc.ucalgary.ca Random Variables A random variable is

More information

PERMUTATIONS, COMBINATIONS AND DISCRETE PROBABILITY

PERMUTATIONS, COMBINATIONS AND DISCRETE PROBABILITY Friends, we continue the discussion with fundamentals of discrete probability in the second session of third chapter of our course in Discrete Mathematics. The conditional probability and Baye s theorem

More information

If S = {O 1, O 2,, O n }, where O i is the i th elementary outcome, and p i is the probability of the i th elementary outcome, then

If S = {O 1, O 2,, O n }, where O i is the i th elementary outcome, and p i is the probability of the i th elementary outcome, then 1.1 Probabilities Def n: A random experiment is a process that, when performed, results in one and only one of many observations (or outcomes). The sample space S is the set of all elementary outcomes

More information

Probability Year 9. Terminology

Probability Year 9. Terminology Probability Year 9 Terminology Probability measures the chance something happens. Formally, we say it measures how likely is the outcome of an event. We write P(result) as a shorthand. An event is some

More information

Stochastic processes and stopping time Exercises

Stochastic processes and stopping time Exercises Stochastic processes and stopping time Exercises Exercise 2.1. Today is Monday and you have one dollar in your piggy bank. Starting tomorrow, every morning until Friday (inclusively), you toss a coin.

More information

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

b. ( ) ( ) ( ) ( ) ( ) 5. Independence: Two events (A & B) are independent if one of the conditions listed below is satisfied; ( ) ( ) ( ) 1. Set a. b. 2. Definitions a. Random Experiment: An experiment that can result in different outcomes, even though it is performed under the same conditions and in the same manner. b. Sample Space: This

More information

Chapter 2: The Random Variable

Chapter 2: The Random Variable Chapter : The Random Variable The outcome of a random eperiment need not be a number, for eample tossing a coin or selecting a color ball from a bo. However we are usually interested not in the outcome

More information

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e 1 P a g e experiment ( observing / measuring ) outcomes = results sample space = set of all outcomes events = subset of outcomes If we collect all outcomes we are forming a sample space If we collect some

More information

Section F Ratio and proportion

Section F Ratio and proportion Section F Ratio and proportion Ratio is a way of comparing two or more groups. For example, if something is split in a ratio 3 : 5 there are three parts of the first thing to every five parts of the second

More information

MP203 Statistical and Thermal Physics. Problem set 7 - Solutions

MP203 Statistical and Thermal Physics. Problem set 7 - Solutions MP203 Statistical and Thermal Physics Problem set 7 - Solutions 1. For each of the following processes, decide whether or not they are reversible. If they are irreversible, explain how you can tell that

More information

Topic 2 Probability. Basic probability Conditional probability and independence Bayes rule Basic reliability

Topic 2 Probability. Basic probability Conditional probability and independence Bayes rule Basic reliability Topic 2 Probability Basic probability Conditional probability and independence Bayes rule Basic reliability Random process: a process whose outcome can not be predicted with certainty Examples: rolling

More information

Sample Space: Specify all possible outcomes from an experiment. Event: Specify a particular outcome or combination of outcomes.

Sample Space: Specify all possible outcomes from an experiment. Event: Specify a particular outcome or combination of outcomes. Chapter 2 Introduction to Probability 2.1 Probability Model Probability concerns about the chance of observing certain outcome resulting from an experiment. However, since chance is an abstraction of something

More information

Discrete Random Variables. David Gerard Many slides borrowed from Linda Collins

Discrete Random Variables. David Gerard Many slides borrowed from Linda Collins Discrete Random Variables David Gerard Many slides borrowed from Linda Collins 2017-09-28 1 Learning Objectives Random Variables Discrete random variables. Means of discrete random variables. Means of

More information

Advanced Herd Management Probabilities and distributions

Advanced Herd Management Probabilities and distributions Advanced Herd Management Probabilities and distributions Anders Ringgaard Kristensen Slide 1 Outline Probabilities Conditional probabilities Bayes theorem Distributions Discrete Continuous Distribution

More information

UNIT 5 ~ Probability: What Are the Chances? 1

UNIT 5 ~ Probability: What Are the Chances? 1 UNIT 5 ~ Probability: What Are the Chances? 1 6.1: Simulation Simulation: The of chance behavior, based on a that accurately reflects the phenomenon under consideration. (ex 1) Suppose we are interested

More information

Mutually Exclusive Events

Mutually Exclusive Events 172 CHAPTER 3 PROBABILITY TOPICS c. QS, 7D, 6D, KS Mutually Exclusive Events A and B are mutually exclusive events if they cannot occur at the same time. This means that A and B do not share any outcomes

More information

Statistical Concepts. Distributions of Data

Statistical Concepts. Distributions of Data Module : Review of Basic Statistical Concepts. Understanding Probability Distributions, Parameters and Statistics A variable that can take on any value in a range is called a continuous variable. Example:

More information

Intro to Stats Lecture 11

Intro to Stats Lecture 11 Outliers and influential points Intro to Stats Lecture 11 Collect data this week! Midterm is coming! Terms X outliers: observations outlying the overall pattern of the X- variable Y outliers: observations

More information

Unit II. Page 1 of 12

Unit II. Page 1 of 12 Unit II (1) Basic Terminology: (i) Exhaustive Events: A set of events is said to be exhaustive, if it includes all the possible events. For example, in tossing a coin there are two exhaustive cases either

More information

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

STAT 302 Introduction to Probability Learning Outcomes. Textbook: A First Course in Probability by Sheldon Ross, 8 th ed. STAT 302 Introduction to Probability Learning Outcomes Textbook: A First Course in Probability by Sheldon Ross, 8 th ed. Chapter 1: Combinatorial Analysis Demonstrate the ability to solve combinatorial

More information

Econ 325: Introduction to Empirical Economics

Econ 325: Introduction to Empirical Economics Econ 325: Introduction to Empirical Economics Lecture 2 Probability Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-1 3.1 Definition Random Experiment a process leading to an uncertain

More information

STAT509: Probability

STAT509: Probability University of South Carolina August 20, 2014 The Engineering Method and Statistical Thinking The general steps of engineering method are: 1. Develop a clear and concise description of the problem. 2. Identify

More information

Elementary Statistics for Geographers, 3 rd Edition

Elementary Statistics for Geographers, 3 rd Edition Errata Elementary Statistics for Geographers, 3 rd Edition Chapter 1 p. 31: 1 st paragraph: 1 st line: 20 should be 22 Chapter 2 p. 41: Example 2-1: 1 st paragraph: last line: Chapters 2, 3, and 4 and

More information

Probability Year 10. Terminology

Probability Year 10. Terminology Probability Year 10 Terminology Probability measures the chance something happens. Formally, we say it measures how likely is the outcome of an event. We write P(result) as a shorthand. An event is some

More information

STT When trying to evaluate the likelihood of random events we are using following wording.

STT When trying to evaluate the likelihood of random events we are using following wording. Introduction to Chapter 2. Probability. When trying to evaluate the likelihood of random events we are using following wording. Provide your own corresponding examples. Subjective probability. An individual

More information

Probability and Independence Terri Bittner, Ph.D.

Probability and Independence Terri Bittner, Ph.D. Probability and Independence Terri Bittner, Ph.D. The concept of independence is often confusing for students. This brief paper will cover the basics, and will explain the difference between independent

More information

Chapter 7 Wednesday, May 26th

Chapter 7 Wednesday, May 26th Chapter 7 Wednesday, May 26 th Random event A random event is an event that the outcome is unpredictable. Example: There are 45 students in this class. What is the probability that if I select one student,

More information

Statistics for Engineers

Statistics for Engineers Statistics for Engineers Antony Lewis http://cosmologist.info/teaching/stat/ Starter question Have you previously done any statistics? 1. Yes 2. No 54% 46% 1 2 BOOKS Chatfield C, 1989. Statistics for

More information

Probability Theory and Applications

Probability Theory and Applications Probability Theory and Applications Videos of the topics covered in this manual are available at the following links: Lesson 4 Probability I http://faculty.citadel.edu/silver/ba205/online course/lesson

More information

Basic Concepts of Probability

Basic Concepts of Probability Probability Probability theory is the branch of math that deals with random events Probability is used to describe how likely a particular outcome is in a random event the probability of obtaining heads

More information

F71SM STATISTICAL METHODS

F71SM STATISTICAL METHODS F71SM STATISTICAL METHODS RJG SUMMARY NOTES 2 PROBABILITY 2.1 Introduction A random experiment is an experiment which is repeatable under identical conditions, and for which, at each repetition, the outcome

More information

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

The probability of an event is viewed as a numerical measure of the chance that the event will occur. Chapter 5 This chapter introduces probability to quantify randomness. Section 5.1: How Can Probability Quantify Randomness? The probability of an event is viewed as a numerical measure of the chance that

More information

Random Variables Example:

Random Variables Example: 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 5 s. Then X could be 0, 1, 2, 3, 4, 5, 6. X = 0 corresponds to the

More information

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events LECTURE 1 1 Introduction The first part of our adventure is a highly selective review of probability theory, focusing especially on things that are most useful in statistics. 1.1 Sample spaces and events

More information

Name: Exam 2 Solutions. March 13, 2017

Name: Exam 2 Solutions. March 13, 2017 Department of Mathematics University of Notre Dame Math 00 Finite Math Spring 07 Name: Instructors: Conant/Galvin Exam Solutions March, 07 This exam is in two parts on pages and contains problems worth

More information

4.2 Probability Models

4.2 Probability Models 4.2 Probability Models Ulrich Hoensch Tuesday, February 19, 2013 Sample Spaces Examples 1. When tossing a coin, the sample space is S = {H, T }, where H = heads, T = tails. 2. When randomly selecting a

More information

Introduction and basic definitions

Introduction and basic definitions Chapter 1 Introduction and basic definitions 1.1 Sample space, events, elementary probability Exercise 1.1 Prove that P( ) = 0. Solution of Exercise 1.1 : Events S (where S is the sample space) and are

More information

Probability Theory and Random Variables

Probability Theory and Random Variables Probability Theory and Random Variables One of the most noticeable aspects of many computer science related phenomena is the lack of certainty. When a job is submitted to a batch oriented computer system,

More information

1 The Rocky Mountain News (Denver, Colorado), Dec

1 The Rocky Mountain News (Denver, Colorado), Dec UNDERSTANDING STATISTICS THROUGH PROBABILITY Mayer Shawer This paper will explore the place of probability in statistics, the need for probability in statistics and how probability can be linked with statistics

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science 6.262 Discrete Stochastic Processes Midterm Quiz April 6, 2010 There are 5 questions, each with several parts.

More information

MAT2377. Ali Karimnezhad. Version September 9, Ali Karimnezhad

MAT2377. Ali Karimnezhad. Version September 9, Ali Karimnezhad MAT2377 Ali Karimnezhad Version September 9, 2015 Ali Karimnezhad Comments These slides cover material from Chapter 1. In class, I may use a blackboard. I recommend reading these slides before you come

More information

Chapter 1: Revie of Calculus and Probability

Chapter 1: Revie of Calculus and Probability Chapter 1: Revie of Calculus and Probability Refer to Text Book: Operations Research: Applications and Algorithms By Wayne L. Winston,Ch. 12 Operations Research: An Introduction By Hamdi Taha, Ch. 12 OR441-Dr.Khalid

More information

Advantages of Sampling. Cheaper Often the only possible way Better quality control over measurement Investigation can be destructive

Advantages of Sampling. Cheaper Often the only possible way Better quality control over measurement Investigation can be destructive Soc 60 SAMPLING Advantages of Sampling Cheaper Often the only possible way Better quality control over measurement Investigation can be destructive Sample Planning Step 1. Define the Sample components

More information