1 Part Three: Chapters 7-9 Performance Modeling and Estimation.

Slides:



Advertisements
Similar presentations
CS433: Modeling and Simulation
Advertisements

Random Variables ECE460 Spring, 2012.
Chapter 4 Probability and Probability Distributions
Use of moment generating functions. Definition Let X denote a random variable with probability density function f(x) if continuous (probability mass function.
DEPARTMENT OF HEALTH SCIENCE AND TECHNOLOGY STOCHASTIC SIGNALS AND PROCESSES Lecture 1 WELCOME.
Introduction to stochastic process
Probability Densities
BCOR 1020 Business Statistics Lecture 15 – March 6, 2008.
Random Variables Dr. Abdulaziz Almulhem. Almulhem©20022 Preliminary An important design issue of networking is the ability to model and estimate performance.
Chapter 5: Probability Concepts
TDC 369 / TDC 432 April 2, 2003 Greg Brewster. Topics Math Review Probability –Distributions –Random Variables –Expected Values.
Probability By Zhichun Li.
Summarizing Measured Data Part I Visualization (Chap 10) Part II Data Summary (Chap 12)
Probability and Statistics Review
4. Review of Basic Probability and Statistics
Probability theory 2011 Outline of lecture 7 The Poisson process  Definitions  Restarted Poisson processes  Conditioning in Poisson processes  Thinning.
Visual Recognition Tutorial1 Random variables, distributions, and probability density functions Discrete Random Variables Continuous Random Variables.
2. Random variables  Introduction  Distribution of a random variable  Distribution function properties  Discrete random variables  Point mass  Discrete.
3-1 Introduction Experiment Random Random experiment.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
CMPE 252A: Computer Networks Review Set:
Review of Probability.
Prof. SankarReview of Random Process1 Probability Sample Space (S) –Collection of all possible outcomes of a random experiment Sample Point –Each outcome.
1 Chapters 9 Self-SimilarTraffic. Chapter 9 – Self-Similar Traffic 2 Introduction- Motivation Validity of the queuing models we have studied depends on.
Probability Theory and Random Processes
Short Resume of Statistical Terms Fall 2013 By Yaohang Li, Ph.D.
10/1/20151 Math a Sample Space, Events, and Probabilities of Events.
Moment Generating Functions
Ch2: Probability Theory Some basics Definition of Probability Characteristics of Probability Distributions Descriptive statistics.
Chap 4-1 Statistics Please Stand By….. Chap 4-2 Chapter 4: Probability and Distributions Randomness General Probability Probability Models Random Variables.
Dr. Gary Blau, Sean HanMonday, Aug 13, 2007 Statistical Design of Experiments SECTION I Probability Theory Review.
Ex St 801 Statistical Methods Probability and Distributions.
Theory of Probability Statistics for Business and Economics.
Day 2 Review Chapters 5 – 7 Probability, Random Variables, Sampling Distributions.
Engineering Probability and Statistics Dr. Leonore Findsen Department of Statistics.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review II Instructor: Anirban Mahanti Office: ICT 745
1 Basic probability theory Professor Jørn Vatn. 2 Event Probability relates to events Let as an example A be the event that there is an operator error.
0 K. Salah 2. Review of Probability and Statistics Refs: Law & Kelton, Chapter 4.
ENGR 610 Applied Statistics Fall Week 3 Marshall University CITE Jack Smith.
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS ROHANA BINTI ABDUL HAMID INSTITUT.
Chap 4-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 4 Using Probability and Probability.
Probability theory Petter Mostad Sample space The set of possible outcomes you consider for the problem you look at You subdivide into different.
Chapter 5: Probability Analysis of Randomized Algorithms Size is rarely the only property of input that affects run time Worst-case analysis most common.
Lecture V Probability theory. Lecture questions Classical definition of probability Frequency probability Discrete variable and probability distribution.
Probability Refresher. Events Events as possible outcomes of an experiment Events define the sample space (discrete or continuous) – Single throw of a.
Chapter 01 Probability and Stochastic Processes References: Wolff, Stochastic Modeling and the Theory of Queues, Chapter 1 Altiok, Performance Analysis.
Probability Review CSE430 – Operating Systems. Overview of Lecture Basic probability review Important distributions Poison Process Markov Chains Queuing.
Stats Probability Theory Summary. The sample Space, S The sample space, S, for a random phenomena is the set of all possible outcomes.
Math 4030 Midterm Exam Review. General Info: Wed. Oct. 26, Lecture Hours & Rooms Duration: 80 min. Close-book 1 page formula sheet (both sides can be.
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
Probability theory Tron Anders Moger September 5th 2007.
Chapter 2 Probability, Statistics and Traffic Theories
Engineering Probability and Statistics Dr. Leonore Findsen Department of Statistics.
1 Probability: Introduction Definitions,Definitions, Laws of ProbabilityLaws of Probability Random VariablesRandom Variables DistributionsDistributions.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
Chapter 6 Large Random Samples Weiqi Luo ( 骆伟祺 ) School of Data & Computer Science Sun Yat-Sen University :
Chap 4-1 Chapter 4 Using Probability and Probability Distributions.
Tel Hai Academic College Department of Computer Science Prof. Reuven Aviv Probability and Random variables.
Biostatistics Class 3 Probability Distributions 2/15/2000.
Topic Overview and Study Checklist. From Chapter 7 in the white textbook: Modeling with Differential Equations basic models exponential logistic modified.
4. Overview of Probability Network Performance and Quality of Service.
Math a - Sample Space - Events - Definition of Probabilities
Random variables (r.v.) Random variable
Probability.
Outline Introduction Signal, random variable, random process and spectra Analog modulation Analog to digital conversion Digital transmission through baseband.
Review of Probabilities and Basic Statistics
Chapter 5 Statistical Models in Simulation
Review of Probability and Estimators Arun Das, Jason Rebello
STOCHASTIC HYDROLOGY Random Processes
Probability, Statistics
Presentation transcript:

1 Part Three: Chapters 7-9 Performance Modeling and Estimation

Chapter 7 Overview of Probability 2 Introduction – Motivation for Part 3 Provide a brief review of topics that will help us: Provide a brief review of topics that will help us: –Statistically characterize network traffic flow –Model and estimate performance parameters Set stage for discussion of traffic management and routing later in the course Set stage for discussion of traffic management and routing later in the course NOT a condensed class in probability theory NOT a condensed class in probability theory

3 Chapters 7 Overview of Probability and Stochastic Processes

Chapter 7 Overview of Probability 4 Probability – Axiomatic Definition 1.0  Pr[A]  1 for each even A 2.Pr[  ] = 1 3.Pr[A  B] = Pr[A] + Pr[B] if A and B are mutually exclusive 1.Pr[A] = 1 - Pr[A] 2.Pr[A  B] = 0 if A and B are mutually exclusive 3.Pr[A  B] = Pr[A] + Pr[B] – Pr[A  B] 4.Pr[A  B  C] = Pr[A] + Pr[B] + Pr[C] – Pr[A  B] - Pr[A  C] - Pr[B  C] + Pr[A  B  C] Common Axioms: Important Laws:

Chapter 7 Overview of Probability 5 Venn Diagrams Complementation

Chapter 7 Overview of Probability 6 Venn Diagrams Intersection

Chapter 7 Overview of Probability 7 Venn Diagrams Mutual Exclusivity

Chapter 7 Overview of Probability 8 Probability Definitions Relative Frequency Definition: Pr[A] = where n is the number of trials, and n A the number of times event A occurred Classical Definition: Pr[A] = where N is the number of equally likely outcomes and N A is the number of outcomes in which event A occurs lim n ->  nAnAnnnAnAnnn NANANNNANANNN

Chapter 7 Overview of Probability 9 Conditional Probability The conditional probability of an event A, given that event B has occurred is: The conditional probability of an event A, given that event B has occurred is: Where Pr[A  B] encompasses all possible outcomes that satisfy both conditions Where Pr[A  B] encompasses all possible outcomes that satisfy both conditions A and B are independent events if Pr[A  B] = Pr[A]Pr[B] A and B are independent events if Pr[A  B] = Pr[A]Pr[B] Pr[A  B] = Pr[B] Pr[A  B]

Chapter 7 Overview of Probability 10 Total Probability Given a set of mutually exclusive events E 1, E 2, …, E n covering all possible outcomes, and Given a set of mutually exclusive events E 1, E 2, …, E n covering all possible outcomes, and Given an arbitrary event A, then: Given an arbitrary event A, then: Pr[A] =  Pr[A  E i ]Pr[E i ] Pr[A] =  Pr[A  E i ]Pr[E i ] n i = 1

Chapter 7 Overview of Probability 11 Bayes’s Theorem “Posterior odds” – the probability that an event really occurred, given evidence in favor of it: “Posterior odds” – the probability that an event really occurred, given evidence in favor of it: Pr[E i  A] = Pr[E i  A] = Pr[A  E i ] Pr[E i ] Pr[A] = n i = 1  Pr[A  E i ]Pr[E i ]

Chapter 7 Overview of Probability 12 Bayes’s Theorem Example – “The Juror’s Fallacy” Hit & run accident involving a taxi Hit & run accident involving a taxi 85% of taxis are yellow, 15% are blue 85% of taxis are yellow, 15% are blue Eyewitness reported that the taxi involved in the accident was blue Eyewitness reported that the taxi involved in the accident was blue Data shows that eyewitnesses are correct on car color 80% of the time Data shows that eyewitnesses are correct on car color 80% of the time What is the probability that the cab was blue? What is the probability that the cab was blue? Pr[Blue|WB] = Pr[WB|Blue] Pr[Blue] Pr[WB|Blue] Pr[Blue] + Pr[WB|Yellow] Pr[Yellow] = (0.8)(0.15) (0.8)(0.15) + (0.2)(0.85) = 0.41

Chapter 7 Overview of Probability 13 Bayes’s Theorem Example Network injects errors (flips bits) Network injects errors (flips bits) Assume Pr[S1] = Pr[S0] = p = 0.5 Assume Pr[S1] = Pr[S0] = p = 0.5 Assume Pr[R1] = Pr[R0] = (1-p) = 0.5 Assume Pr[R1] = Pr[R0] = (1-p) = 0.5 Given error injection, such that Pr[R0  S1] =p a and Pr[R1  S0] =p b, then : Given error injection, such that Pr[R0  S1] =p a and Pr[R1  S0] =p b, then : Pr[S1  R0] = Pr[S1  R0] = Pr[R0  S1] Pr[S1] Pr[R0  S1] Pr[S1] + Pr[R0  S0] Pr[S0] p a p p a p + (1-p b )(1-p) = Sender S Receiver R Error Injection

Chapter 7 Overview of Probability 14 Random Variables Association of real numbers with events, e.g. assigning a value to each outcome of an experiment Association of real numbers with events, e.g. assigning a value to each outcome of an experiment A random variable X is a function that assigns a real number (probability) to every outcome in a sample space, and satisfies the following conditions: A random variable X is a function that assigns a real number (probability) to every outcome in a sample space, and satisfies the following conditions: 1.the set {X  x} is an event for every x 2.Pr[X=  ] = Pr[X = -  ] = 0 Simply put: an RV maps an event space into the domain of positive real numbers. Simply put: an RV maps an event space into the domain of positive real numbers. A random variable can be continuous or discrete A random variable can be continuous or discrete

Chapter 7 Overview of Probability 15 Random Variables Continuous random variables can be described by either a distribution function or a density function Continuous random variables can be described by either a distribution function or a density function Discrete random variables are described by a probability function P x (k) = Pr[X=k] Discrete random variables are described by a probability function P x (k) = Pr[X=k] Random variable characteristics: Random variable characteristics: –Mean value: E[X] –Second moment: E[X 2 ] –Variance: Var[X] = E[X 2 ] - E[X] 2 –Standard deviation:  X = Var[X]

Chapter 7 Overview of Probability 16 Probability Distributions F(x) = Pr[X  x] = 1 – e - x Exponential Distribution Exponential Density E[X] =  X = 1/ f(x) = F(x) = e - x ddx

Chapter 7 Overview of Probability 17 Probability Distributions F(x) = Pr[X  x] = 1 – e - x Exponential Distribution Exponential Density f(x) = F(x) = e - x ddx

Chapter 7 Overview of Probability 18 Probability Distributions Poisson Distribution Normal Density Pr[X=k] = e - Pr[X=k] = e - f(x) = kk! e -(x-  ) 2 /2  2  2   2  E[X] = Var[X] =

Chapter 7 Overview of Probability 19 Probability Distributions – Relevance to Networks 2 Service times of queues (t trans ) in packet switching routers can be effectively modeled as exponential Service times of queues (t trans ) in packet switching routers can be effectively modeled as exponential Arrival pattern of packets at a router is often Poisson in nature Arrival pattern of packets at a router is often Poisson in nature and, arrival interval is exponential (why?) and, arrival interval is exponential (why?) Central Limit Theorem: the distribution of a very large number of independent RVs is approximately normal, independent of individual distributions Central Limit Theorem: the distribution of a very large number of independent RVs is approximately normal, independent of individual distributions

Chapter 7 Overview of Probability 20 Multiple Random Variables Independence: Independence: – F(x,y ) = F(x )F(y ), and f(x,y ) = f(x )f(y ) Covariance: Covariance: –Cov(X,Y ) = E[XY ] – E[X ]E[Y ] Correlation coefficient Correlation coefficient –r(X,Y ) = Cov(X,Y ) /  x  y positively correlated: r(X,Y) > 0 positively correlated: r(X,Y) > 0 negatively correlated: r(X,Y) < 0 negatively correlated: r(X,Y) < 0 uncorrelated: r(X,Y) = Cov(X,Y) = 0 uncorrelated: r(X,Y) = Cov(X,Y) = 0

Chapter 7 Overview of Probability 21 Stochastic (Random) Processes Family of Random Variables Family of Random Variables –{x(t), t  T }, indexed by parameter t over index set T –index set is typically taken as time dimension –continuous- or discrete-time, t –continuous- or discrete-value, x(t )

Chapter 7 Overview of Probability 22 Brownian Motion Processes Stochastic process that describes Random Movement of particles Stochastic process that describes Random Movement of particles –Let B(t) denote displacement in one dimension after time t –Let B(t) – B(s) denote net movement over time interval (s,t) –Then, B(t) – B(s) has normal distribution Brownian probability density function: Brownian probability density function: f B (x,t) = f B (x,t) = e -x 2 /2  2 t  2  t  2  t

Chapter 7 Overview of Probability 23 Poisson Counting Process Pr[N(t) = k] = e - t e - t ( t) k k!

Chapter 7 Overview of Probability 24 Poisson Increment Process X(t) = N(t + L) – N(t) L