Problems with parameterization (example:keeper usage): average duration: 1.27, min: 0.106, max: 6.46 possible outcome for keeper and crane queues? Assignment.

Slides:



Advertisements
Similar presentations
SADC Course in Statistics Confidence intervals using CAST (Session 07)
Advertisements

Mean, Proportion, CLT Bootstrap
Chapter 7 Introduction to Sampling Distributions
Chapter 7(7b): Statistical Applications in Traffic Engineering Chapter objectives: By the end of these chapters the student will be able to (We spend 3.
Simple Linear Regression
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Basic Business Statistics 10 th Edition.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Introduction to Statistics: Chapter 8 Estimation.
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.
Occupation / queue size D/D/1: Constant arrivals, constant duration. M/D/1: Exponential arrivals, constant duration occupation rate queue size.
Variance Reduction Techniques
Lecture 20 Simple linear regression (18.6, 18.9)
1 Validation and Verification of Simulation Models.
1 Simple Linear Regression Chapter Introduction In this chapter we examine the relationship among interval variables via a mathematical equation.
Chapter 14 Simulation. Monte Carlo Process Statistical Analysis of Simulation Results Verification of the Simulation Model Computer Simulation with Excel.
Lecture 10 Comparison and Evaluation of Alternative System Designs.
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
Chapter 7 Estimation: Single Population
Lehrstuhl für Informatik 2 Gabriella Kókai: Maschine Learning 1 Evaluating Hypotheses.
Class notes for ISE 201 San Jose State University
Confidence Interval.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Business Statistics, A First Course.
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.
AM Recitation 2/10/11.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Simulation Output Analysis
Confidence Interval Estimation
Data Mining Practical Machine Learning Tools and Techniques Slides for Chapter 5 of Data Mining by I. H. Witten, E. Frank and M. A. Hall 報告人:黃子齊
Verification & Validation
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 8 Continuous.
Chapter 4 – Modeling Basic Operations and Inputs  Structural modeling: what we’ve done so far ◦ Logical aspects – entities, resources, paths, etc. 
Confidence Intervals (Chapter 8) Confidence Intervals for numerical data: –Standard deviation known –Standard deviation unknown Confidence Intervals for.
Estimation of Statistical Parameters
QBM117 Business Statistics Estimating the population mean , when the population variance  2, is known.
Monte Carlo Simulation CWR 6536 Stochastic Subsurface Hydrology.
PARAMETRIC STATISTICAL INFERENCE
MS 305 Recitation 11 Output Analysis I
© 2003, Carla Ellis Simulation Techniques Overview Simulation environments emulation exec- driven sim trace- driven sim stochastic sim Workload parameters.
Basic Numerical Procedures Chapter 19 1 Options, Futures, and Other Derivatives, 7th Edition, Copyright © John C. Hull 2008.
Confidence intervals and hypothesis testing Petter Mostad
Copyright © 2012 Pearson Education. All rights reserved © 2010 Pearson Education Copyright © 2012 Pearson Education. All rights reserved. Chapter.
Determination of Sample Size: A Review of Statistical Theory
Chap 7-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 7 Estimating Population Values.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 8-1 Confidence Interval Estimation.
Confidence Intervals Lecture 3. Confidence Intervals for the Population Mean (or percentage) For studies with large samples, “approximately 95% of the.
Chapter 10 Verification and Validation of Simulation Models
Chap 7-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 7 Estimating Population Values.
Chapter 10 The t Test for Two Independent Samples
Data Analysis.
Review Normal Distributions –Draw a picture. –Convert to standard normal (if necessary) –Use the binomial tables to look up the value. –In the case of.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
1 Estimation of Population Mean Dr. T. T. Kachwala.
Simulation Chapter 16 of Quantitative Methods for Business, by Anderson, Sweeney and Williams Read sections 16.1, 16.2, 16.3, 16.4, and Appendix 16.1.
Chapter 13 Understanding research results: statistical inference.
Data Mining Practical Machine Learning Tools and Techniques By I. H. Witten, E. Frank and M. A. Hall Chapter 5: Credibility: Evaluating What’s Been Learned.
©2013, The McGraw-Hill Companies, Inc. All Rights Reserved Chapter 4 Investigating the Difference in Scores.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Building Valid, Credible & Appropriately Detailed Simulation Models
Sampling Distributions Chapter 18. Sampling Distributions A parameter is a number that describes the population. In statistical practice, the value of.
Statistics for Business and Economics 7 th Edition Chapter 7 Estimation: Single Population Copyright © 2010 Pearson Education, Inc. Publishing as Prentice.
Variance reduction techniques Mat Simulation
Chapter 9 Roadmap Where are we going?.
One-Sample Inference for Proportions
Statistics 350 Lecture 4.
Additional notes on random variables
Additional notes on random variables
Presentation transcript:

Problems with parameterization (example:keeper usage): average duration: 1.27, min: 0.106, max: 6.46 possible outcome for keeper and crane queues? Assignment 4

For validation, simulate long enough.

Half width determination by Arena: statistical analysis of samples. Arena help file: Half Width (Runtime Confidence Intervals—Within a Replication) Some sections contain a column called "Half Width". This statistic is included to help you determine the reliability of the results from your replication. Three results are possible in the "Half Width" category: Insufficient: The formula used to calculate half width requires the samples to be normally distributed. That assumption may be violated if there is a small number (fewer than 320) of samples. If that is the case, Arena will return the message "Insufficient" for that variable’s half width, indicating there is insufficient data to accurately calculate the half width. Running the simulation for a longer period of time should correct this. Correllated: The formula used to calculate half width requires the samples to be independently distributed. Data that is correlated (the value of one observation strongly influences the value of the next observation) results in an invalid confidence interval calculation. If data is determined to be correlated, the message "Correllated" is returned for that variable’s half width. Running the simulation for a longer period of time should correct this. A value: If a value is returned in the Half Width category, this value may be interpreted by saying "in 95% of repeated trials, the sample mean would be reported as within the interval sample mean ± half width". Half widths

Arena has to be trusted w.r.t. confidence values. Computations "inside Arena" not clear! - determine average and variance  ^2 - test for insufficient/correlated - half width = C.  for some constant C. Half width calculation Homework: Appendices B,C,D of lecture notes. Concepts from probability theory and statistics. ?

Increase confidence in simulation. Divide simulation run into subruns. Add initial run (move away from initial state). Randomization Random generator is in fact deterministic! Replaying same model gives same result. Still, it has all characteristics of "true" random generator (no "fairness"). DCT case: 15% increase BF trucks should diminish keeper queues. Short simulation: keeper queues might get longer! (see half width)

Example computation: page 30 of lecture notes. n = 30 subruns, each with sample of measure x (occupation rate). Replications Make sure that replications/subruns are independent (e.g. no queue length dependencies). When done right, division into subruns allows to compute confidence intervals.

Sample average/stddev: x = , s = how do you compute s ?  - confidence interval:

Computed confidence interval should match Arena's half width. Arena half width should (for large n) approximate cf. Chapter 6 of lecture notes Confidence interval matching This example: 1.96( / 5.51)= So with 95% probability, occ.rate in [0.936,0.945]

 - confidence interval: Consequences: - You can be 99.99% confident, but not 100%. - Four times longer simulation halves confidence int. - high variance = low confidence Function z : normal distribution surface (table lookup).

Comparisons Many simulation studies (e.g. DCT example) are about relative shortage of resources, leading to queues. Compare possible solutions through simulation. Simulation yields to following reports: Number waitingAverageHalf Width res1.Queue Sol1: Number waitingAverageHalf Width res1.Queue Sol2: Sol1 better?

Longer simulation needed to get following result: Number waitingAverageHalf Width res1.Queue Number waitingAverageHalf Width res1.Queue Number waitingAverageHalf Width res1.Queue Number waitingAverageHalf Width res1.Queue

Variance and confidence Large half widths caused by high subrun variance, require very long simulations for acceptable confidence. For instance, compare First samples: less variance, higher confidence, shorter simulation run

Variance reduction 1 Large half widths caused by high subrun variance, require very long simulations for acceptable confidence. Various techniques to reduce subrun variance, e.g. antithetic random numbers (see lecture notes) Subrun result depends on sequence of random numbers Next subrun: use antithetic sequence: Frequent arrivals, long processing times in a subrun compensated by infrequent arrivals and short times in next subrun.

Variance reduction 2 Second approach: sharing of e.g. arrival patterns. Less risk of adopting inferior solution with fewer arrivals. Both approaches introduce dependency in subruns. A third approach: compensate for the number of entities. sr mq #ent sr mq #ent sr mq #ent 5, , , , , subruns sortedcombined

Sensitivity analysis Simulation model based on assumptions; both modeling and parameters. Assess dependency of simulation result on assumptions. Simulate with modified parameters and compare. Sensitive parameters / uncertain assumptions: show various outcomes. avql sol Aavql sol B current demand % increase % increase