Output Data Analysis. How to analyze simulation data? simulation –computer based statistical sampling experiment –estimates are just particular realizations.

Slides:



Advertisements
Similar presentations
Introduction into Simulation Basic Simulation Modeling.
Advertisements

T.C ATILIM UNIVERSITY MODES ADVANCED SYSTEM SIMULATION MODES 650
ETM 607 – Output Analysis: Estimation of Absolute Performance
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
Queueing Models and Ergodicity. 2 Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing models.
CHAPTER 21 Inferential Statistical Analysis. Understanding probability The idea of probability is central to inferential statistics. It means the chance.
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
Sampling: Final and Initial Sample Size Determination
Statistics review of basic probability and statistics.
Selecting Input Probability Distribution. Introduction need to specify probability distributions of random inputs –processing times at a specific machine.
Output analyses for single system
ELEC 303 – Random Signals Lecture 18 – Statistics, Confidence Intervals Dr. Farinaz Koushanfar ECE Dept., Rice University Nov 10, 2009.
1 Statistical Inference H Plan: –Discuss statistical methods in simulations –Define concepts and terminology –Traditional approaches: u Hypothesis testing.
Random Number Generators. Why do we need random variables? random components in simulation → need for a method which generates numbers that are random.
Analysis of Simulation Experiments
Estimation A major purpose of statistics is to estimate some characteristics of a population. Take a sample from the population under study and Compute.
Output Analysis and Experimentation for Systems Simulation.
#9 SIMULATION OUTPUT ANALYSIS Systems Fall 2000 Instructor: Peter M. Hahn
Simulation Modeling and Analysis Session 12 Comparing Alternative System Designs.
Evaluating Hypotheses
Lecture 9 Output Analysis for a Single Model. 2  Output analysis is the examination of data generated by a simulation.  Its purpose is to predict the.
SAMPLING DISTRIBUTIONS. SAMPLING VARIABILITY
4. Review of Basic Probability and Statistics
1 Simulation Modeling and Analysis Output Analysis.
BCOR 1020 Business Statistics
Standard error of estimate & Confidence interval.
1 Terminating Statistical Analysis By Dr. Jason Merrick.
Analysis of Simulation Results Andy Wang CIS Computer Systems Performance Analysis.
Simulation Output Analysis
Fall CSC 446/546 Part 10: Estimation of Absolute Performance.
SIMULATION MODELING AND ANALYSIS WITH ARENA
 1  Outline  stages and topics in simulation  generation of random variates.
Steady-State Statistical Analysis By Dr. Jason Merrick.
Verification & Validation
Today’s lesson Confidence intervals for the expected value of a random variable. Determining the sample size needed to have a specified probability of.
Chapter 11 Output Analysis for a Single Model Banks, Carson, Nelson & Nicol Discrete-Event System Simulation.
Random Sampling, Point Estimation and Maximum Likelihood.
Chapter 11 Output Analysis for a Single Model Banks, Carson, Nelson & Nicol Discrete-Event System Simulation.
CS433 Modeling and Simulation Lecture 16 Output Analysis Large-Sample Estimation Theory Dr. Anis Koubâa 30 May 2009 Al-Imam Mohammad Ibn Saud University.
MS 305 Recitation 11 Output Analysis I
Verification and Validation
0 K. Salah 2. Review of Probability and Statistics Refs: Law & Kelton, Chapter 4.
10.1: Confidence Intervals – The Basics. Review Question!!! If the mean and the standard deviation of a continuous random variable that is normally distributed.
Confidence intervals and hypothesis testing Petter Mostad
Chapter 2 Fundamental Simulation Concepts
Chapter 8: Confidence Intervals based on a Single Sample
Chapter 7 Point Estimation of Parameters. Learning Objectives Explain the general concepts of estimating Explain important properties of point estimators.
1 OUTPUT ANALYSIS FOR SIMULATIONS. 2 Introduction Analysis of One System Terminating vs. Steady-State Simulations Analysis of Terminating Simulations.
Machine Learning Chapter 5. Evaluating Hypotheses
Sampling and estimation Petter Mostad
Chapter 8: Confidence Intervals based on a Single Sample
Output Analysis for Simulation
1 Simulation Scenarios. 2 Computer Based Experiments Systematically planning and conducting scientific studies that change experimental variables together.
Output Data Analysis. Introduction Most serious disadvantage of simulation –With a stochastic simulation, you don ’ t get exact “ answers ” from a run.
Building Valid, Credible & Appropriately Detailed Simulation Models
K. Salahpp.1 Chapter 9 Output Analysis for Single Systems.
More on Inference.
ESTIMATION.
Sampling Distributions and Estimation
Al-Imam Mohammad Ibn Saud University Large-Sample Estimation Theory
Chapter 11 Output Analysis for a Single Model
More on Inference.
CONCEPTS OF ESTIMATION
2. Stratified Random Sampling.
Evaluating Hypotheses
Counting Statistics and Error Prediction
MECH 3550 : Simulation & Visualization
MECH 3550 : Simulation & Visualization
Modeling and Simulation: Exploring Dynamic System Behaviour
Presentation transcript:

Output Data Analysis

How to analyze simulation data? simulation –computer based statistical sampling experiment –estimates are just particular realizations of random variables that may have large variances –n independent replications –each replication terminated by same event –started with same initial conditions –replications are independent by means of using different random variables –single measure of performance one per replication || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 2

obtained random numbers Y 1, Y 2, … Y m –is an output stochastic process from a single run –generally neither independent nor identically distributed –most formulas assuming IIDs not directly applicable y 11, y 12, … y 1m –realizations for random variables Y 1, Y 2, … Y m –resulting from making a simulation run of length m observations y 21, y 22, …, y 2m –realizations for random variables Y 1, Y 2, … Y m –if simulation is run again (using different random variables) || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 3

obtained random numbers (cont) || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 4 if you make n independent replications (runs) –with different random number used –observations from particular run/row not IID –observations from form i th column are IID observations of random variable Y i (i = 1..m) ! independence across runs y 11, y 12, …y 1i, ….y 1m y 21, y 22, ….y 2i, ….y 2m …….…. y n1, y n2, …y ni, …..y nm

Transient and Steady-State Behavior stochastic output process Y 1, Y 2,.. –transient condition: F i ( y | I ) = P(Y i · y | I) for i = 1, 2… –y is a real number –I represents initial conditions density f Y i –specifies how random variable Y i can vary from one replication to another F i (y | I ) ! F(y) as i ! 1 –F(y)steady-state distribution of output process Y 1, Y 2, … –in theory only obtained at limit –in practice ! finite time index (k+1) ! distributions will be approximately the same || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 5

Transient and Steady-State Behavior (cont.) || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 6

Types of Simulations terminating simulation non-terminating simulations –steady-state parameters –steady-state cycle parameters –other parameters || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 7 we’ll focus on this type only

Example bank –5 tellers, one queue –opens at 9:00 –closes at 17:00 (stays open until all customers in the bank have been served) –terminating simulation close at/after17:00 (as soon as all customers have left) || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 8

Example (cont.) || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 9 R# servedtimeavg Delayavg Length% C’s delayed < 5 minutes

Estimating Means point estimate and confidence interval for mean ¹ = E(X) –unbiased point estimator for ¹ –approximate 100(1- ® ) percent confidence interval for ¹ || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 10

Estimating Means (example) estimate expected delay – = – S 2 (n) = – confidence interval with ® = 10% estimated proportion of customers being delayed < 5 minutes –expected proportion for a given day/run indicator function – = 0.853S 2 (n) = – CI with ® = 10% || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 11

Obtaining a desired precision so far –fixed sample size procedure (based on n replications) –disadvantage: no control over the CI’s half length (i.e. precision of ) –half length depends on population variance S 2 (n) 2 ways to measure the error in the estimate –absolute error ¯ –relative error ° –resulting number of replications may be random || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 12

Obtaining a desired precision (absolute error ¯ ) absolute error ¯ –estimator has an absolute error of at most ¯ with a probability of approximately 1 - ® approximate expression for total number of replications n a * ( ¯ ) required to obtain an absolute error of ¯ –assumes that estimate S 2 (n) will not change (appreciately) as n increases) –n a * ( ¯ ) will be determined iteratively || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 13

Obtaining a desired precision (absolute error ¯ ) example (bank) –Q: what’s the number of replications necessary in order to estimate the expected average delay with an absolute error of 0.25 minutes and a confidence level of 90%? || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 14 it i-1,0.95 t i-1,0.95 * sqrt(0.309/i) · 0.25

Obtaining a desired precision (relative error ° ) relative error ° –estimator as a relative error of at most ° /(1 - ° ) with a probability of approximately 1 - ®. approximate expression for total number of replications n a * ( ¯ ) required to obtain a relative error of ° –assumes that estimate S 2 (n) will not change (appreciately) as n increases) –n r* ( ° ) will be determined iteratively || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 15

Obtaining a desired precision (relative error ° ) example (bank) –Q: what’s the number of replications necessary in order to estimate the expected average delay with a relative error of 10% and a confidence level of 90%? || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 16 it i-1,0.95 t i-1,0.95 * sqrt(0.309/i) / mean ·

Estimating other Measures of Performance be careful! –comparing two systems by some sort of mean may result in misleading conclusions example: 2 bank policies –5 queues (one in front of every teller) –1 queue (that feeds all tellers) || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 17 Measure of performanceFive queuesOne queue Expected operating time (hours)8.14 Expected average delay (minutes)5.57 Expected average number in queue(s)5.52

Estimating other Measures of Performance Estimates of expected proportions of delays in interval || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 18 Interval (minutes)Five queuesOne queue [0,5) [5,10) [10,15) [15,20) [20,25) [25,30)0.020 [30,35) [35,40) [40,45)00 still identical?

Choosing initial conditions careful! –measures of performance depend explicitly on the state of the system at time 0 –take care when choosing appropriate initial conditions example: estimate expected average delay at bank between noon and 1pm –bank will probably be quite congested at noon starting with no customers present -> estimates will be biased low || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 19

Choosing initial conditions careful! –measures of performance depend explicitly on the state of the system at time 0 –take care when choosing appropriate initial conditions 2 heuristic approaches –use warmup period –collect data to get an idea of state of system and choose it randomly || WS 2008 || Dr. Verena Schmid || PR KFK PM/SCM/TL Praktikum Simulation I 20