ierg 3050 week 8 output data analysis and variance ...ierg3050/lectures/week8-lecture.pdf ·...

74
IERG 3050 Week 8 Output Data Analysis and Variance Reduction Techniques Bolei Zhou Department of Information Engineering The Chinese University of Hong Kong

Upload: others

Post on 18-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

IERG 3050 Week 8Output Data Analysis and Variance

Reduction Techniques

Bolei ZhouDepartment of Information Engineering

The Chinese University of Hong Kong

Page 2: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Announcement

• Homework 3 is due tomorrow• Homework 4 will be out by the end of today. No need to hand in, but

very relevant to Quiz 2• Quiz 2 will be on Nov. 6• No lectures next week (Time for your course project)• End of Oct. 2019: a 4-page check-point report for course project

Page 3: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Outline

• Output Data Analysis• Stochastic Processes• Ensemble Averages vs. Time Averages • Transient State and Steady State Behavior • Method of Replication• Transient Removal Methods• Terminating and Non-Terminating Simulations • Obtaining Specified Precision• Choosing Initial Conditions• Variance-Reduction Techniques: Common Random Numbers, Antithetic Variates, Control

Variates, Indirect Estimation, ConditioningReading: Chapters 9 and 11

Page 4: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Output Data Analysis

4

Page 5: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Output Data Analysis

5

Page 6: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Output Data Analysis

6

Page 7: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Review: Stochastic processes

Page 8: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Review: Random Variables

Page 9: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Review: Random Variables

Page 10: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Review: Random Variables

Page 11: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Review: Stochastic Processes

Page 12: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Review: Stochastic Processes

12

Page 13: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Some Simple Stochastic Processes

13

Page 14: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 1: I.I.D. Process

14

Page 15: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 2: “Fixed-Value” Process

15

Page 16: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 3: Autoregressive Process

16

Page 17: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 4: Hidden Markov Process

17

Page 18: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 5: M/M/1/1 Queueing System

18

Page 19: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Notations and Terms of Queueing Systems

Kendall notation: A/S/m/B/K/SD• A: interarrival time distribution• S: service time distribution• m: number of servers• B: system capacity: max number of users accommodated in the

system

Page 20: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Interesting Quantities

20

Page 21: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Interesting Quantities

21

Page 22: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Interesting Quantities

22

Page 23: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Ensemble Averages

23

Page 24: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 1: I.I.D. Process

24

Page 25: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 2: “Fixed-Value” Process

25

Page 26: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 3: Autoregressive Process

26

Page 27: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Estimating Ensemble Averages

27

Page 28: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Estimating Time Averages

28

Page 29: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Time Averages

29

Page 30: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 1: I.I.D. Process

30

Page 31: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 2: “Fixed-Value” Process

31

Page 32: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 3: Autoregressive Process

32

Page 33: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Time Averages

33

Page 34: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Transient state and steady-state behavior

Page 35: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 3: Autoregressive Process

35

Page 36: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 3: Autoregressive Process

36

Page 37: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 3: Autoregressive Process

37

Page 38: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 3: Autoregressive Process

38

Page 39: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Example 3: Autoregressive Process

39

Page 40: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Transient vs. Steady State

40

Page 41: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Method of Replication

41

Page 42: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Method of Replication

42

Page 43: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Method of Replication

43

Page 44: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Method of Replication

44

Page 45: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Transient Removal

45

Page 46: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Some Transient Removal Methods

46

Page 47: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Terminating and non-terminating simulations

Page 48: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Terminating and Non-Terminating Simulations

48

Page 49: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Terminating and Non-Terminating Simulations

49

Page 50: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Obtaining a specified precision

Page 51: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Obtaining a Specified Precision

51

Page 52: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Choosing initial conditions

Page 53: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Choosing Initial Conditions

53

Page 54: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Variance reduction techniques

Page 55: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Variance-Reduction Techniques

Page 56: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Common Random Numbers

Page 57: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Common Random Numbers

Page 58: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Common Random Numbers

Page 59: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Common Random Numbers

Page 60: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Antithetic variates

Page 61: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Antithetic Variates

Page 62: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Antithetic Variates

Page 63: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Antithetic Variates

Page 64: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Control Variates

Page 65: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Control Variates

Page 66: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Control Variates

Page 67: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Control Variates

Page 68: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Indirect Estimation

Page 69: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Indirection Estimation

Page 70: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Indirection Estimation

Page 71: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Conditioning

Page 72: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Conditioning

Page 73: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Conditioning

Page 74: IERG 3050 Week 8 Output Data Analysis and Variance ...ierg3050/Lectures/week8-lecture.pdf · •Homework 3 is due tomorrow •Homework 4 will be out by the end of today. No need to

Thank you!

• Homework 3 is due tomorrow• Homework 4 will be out by the end of today. No need to hand in, but

very relevant to Quiz 2• Quiz 2 will be on Nov. 6• No lectures next week (Time for your course project)• End of Oct. 2019: a 4-page check-point report for course project