Similar documents
There is no straightforward approach for choosing the warmup period l.

Output Analysis (2, Chapters 10 &11 Law)

Chapter 11 Output Analysis for a Single Model. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

A Question. Output Analysis. Example. What Are We Doing Wrong? Result from throwing a die. Let X be the random variable

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample.

Agreement of CI and HT. Lecture 13 - Tests of Proportions. Example - Waiting Times

B. Maddah ENMG 622 ENMG /27/07

1 Introduction to reducing variance in Monte Carlo simulations

First come, first served (FCFS) Batch

c. Explain the basic Newsvendor model. Why is it useful for SC models? e. What additional research do you believe will be helpful in this area?

CS/ECE 715 Spring 2004 Homework 5 (Due date: March 16)

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen)

Topic 10: Introduction to Estimation

Stat 421-SP2012 Interval Estimation Section

Sample Size Determination (Two or More Samples)

Simulation. Two Rule For Inverting A Distribution Function

Chapter 13, Part A Analysis of Variance and Experimental Design

Confidence Interval for Standard Deviation of Normal Distribution with Known Coefficients of Variation

Open book and notes. 120 minutes. Cover page and six pages of exam. No calculators.

7-1. Chapter 4. Part I. Sampling Distributions and Confidence Intervals

4. Partial Sums and the Central Limit Theorem

Hypothesis Testing. Evaluation of Performance of Learned h. Issues. Trade-off Between Bias and Variance

2 1. The r.s., of size n2, from population 2 will be. 2 and 2. 2) The two populations are independent. This implies that all of the n1 n2

STAT 350 Handout 19 Sampling Distribution, Central Limit Theorem (6.6)

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science. BACKGROUND EXAM September 30, 2004.

Comparing Two Populations. Topic 15 - Two Sample Inference I. Comparing Two Means. Comparing Two Pop Means. Background Reading

Statistical Fundamentals and Control Charts

4. Basic probability theory

A statistical method to determine sample size to estimate characteristic value of soil parameters

Chapter 6 Sampling Distributions

Stat 319 Theory of Statistics (2) Exercises

17. Joint distributions of extreme order statistics Lehmann 5.1; Ferguson 15

Random Variables, Sampling and Estimation

MATH/STAT 352: Lecture 15

MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND.

Topic 9: Sampling Distributions of Estimators

Since X n /n P p, we know that X n (n. Xn (n X n ) Using the asymptotic result above to obtain an approximation for fixed n, we obtain

IE 230 Probability & Statistics in Engineering I. Closed book and notes. No calculators. 120 minutes.

Queuing Theory. Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues

Estimation for Complete Data

Topic 9: Sampling Distributions of Estimators

Statistical Analysis on Uncertainty for Autocorrelated Measurements and its Applications to Key Comparisons

TUFTS UNIVERSITY DEPARTMENT OF CIVIL AND ENVIRONMENTAL ENGINEERING ES 152 ENGINEERING SYSTEMS Spring Lesson 14. Queue System Theory

Lecture 2: Monte Carlo Simulation

Chapter 6 Principles of Data Reduction

Probability and statistics: basic terms

SDS 321: Introduction to Probability and Statistics

MATH 320: Probability and Statistics 9. Estimation and Testing of Parameters. Readings: Pruim, Chapter 4

Basis for simulation techniques

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date:

Lecture 3. Properties of Summary Statistics: Sampling Distribution

Statisticians use the word population to refer the total number of (potential) observations under consideration

DS 100: Principles and Techniques of Data Science Date: April 13, Discussion #10

Direction: This test is worth 250 points. You are required to complete this test within 50 minutes.

Topic 9: Sampling Distributions of Estimators

Agenda: Recap. Lecture. Chapter 12. Homework. Chapt 12 #1, 2, 3 SAS Problems 3 & 4 by hand. Marquette University MATH 4740/MSCS 5740

STA Learning Objectives. Population Proportions. Module 10 Comparing Two Proportions. Upon completing this module, you should be able to:

TCOM 501: Networking Theory & Fundamentals. Lecture 3 January 29, 2003 Prof. Yannis A. Korilis

Joint Probability Distributions and Random Samples. Jointly Distributed Random Variables. Chapter { }

Discrete Mathematics for CS Spring 2008 David Wagner Note 22

Estimation of the Mean and the ACVF

BIOSTATISTICS. Lecture 5 Interval Estimations for Mean and Proportion. dr. Petr Nazarov

STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. Comments:

NOTES ON DISTRIBUTIONS

1.010 Uncertainty in Engineering Fall 2008

KLMED8004 Medical statistics. Part I, autumn Estimation. We have previously learned: Population and sample. New questions

Expectation and Variance of a random variable

Statistical Properties of OLS estimators

Understanding Samples

Lecture 11 and 12: Basic estimation theory

Generalized Semi- Markov Processes (GSMP)

The variance of a sum of independent variables is the sum of their variances, since covariances are zero. Therefore. V (xi )= n n 2 σ2 = σ2.

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

This exam contains 19 pages (including this cover page) and 10 questions. A Formulae sheet is provided with the exam.

Thomas Whitham Form Centre

MidtermII Review. Sta Fall Office Hours Wednesday 12:30-2:30pm Watch linear regression videos before lab on Thursday

Lecture 5: Parametric Hypothesis Testing: Comparing Means. GENOME 560, Spring 2016 Doug Fowler, GS

Output Analysis and Run-Length Control

Statistics 20: Final Exam Solutions Summer Session 2007

Mathematical Statistics - MS


Chapter 2 The Monte Carlo Method

Simulation of Discrete Event Systems

Let us give one more example of MLE. Example 3. The uniform distribution U[0, θ] on the interval [0, θ] has p.d.f.

This section is optional.

Sample questions. 8. Let X denote a continuous random variable with probability density function f(x) = 4x 3 /15 for

11 Correlation and Regression

CEE 522 Autumn Uncertainty Concepts for Geotechnical Engineering

ENGI 4421 Confidence Intervals (Two Samples) Page 12-01

Sample Size Estimation in the Proportional Hazards Model for K-sample or Regression Settings Scott S. Emerson, M.D., Ph.D.

Stochastic Simulation

Lecture 5. Materials Covered: Chapter 6 Suggested Exercises: 6.7, 6.9, 6.17, 6.20, 6.21, 6.41, 6.49, 6.52, 6.53, 6.62, 6.63.

Reliability and Queueing

Unbiased Estimation. February 7-12, 2008

Linear Regression Models

Statistics 511 Additional Materials

Section 11.8: Power Series

Advanced Stochastic Processes.

Test of Statistics - Prof. M. Romanazzi

Transcription:

http://www.xelca.l/articles/ufo_ladigsbaa_houte.aspx

imulatio Output aalysis 3/4/06

This lecture Output: A simulatio determies the value of some performace measures, e.g. productio per hour, average queue legth etc... If your model cotais radom iput values e.g. customers iterarrival times, your output, i.e., performace measures, are stochastic variables as well I this lecture you lear basic statistical priciples to aalyse the output values a simulatio 3 3/4/06

4 http://www.xelca.l/articles/ufo_ladigsbaa_houte.aspx

Output aalysis Quote from Law simulatio book: `imulatio is computer-based statistical samplig experimet 5 3/4/06

Output aalysis: Idepedece across rus ru : ru :,,,,,, j, j, ru i : i, i,, ij, j, j,, ij are idepede t 6 3/4/06

Types of simulatio w.r.t. output aalysis Termiatig: Edpoit of simulatio ru is defied by your model. No-termiatig 7 3/4/06

teady state example M M queue sigle server queue with expoetial iter arrival ad service times ad ρ=0.9 D i : waitig time of customer i s umber of customers preset at time 0 8 3/4/06

teady state Y i, i-th realizatio withi a simulatio ru I: iitial coditios Cosider the coditioal distributio fuctio of Y i I a steady state we have: F i y I P Y i y I F i y I i F y for all y, I 9 3/4/06

0 3/4/06 teady state

If you do ot have a steady state you might have: Time axis ca be divided ito time iterval cycles. Oe week i call ceter Oe week i a emergecy departmet Y C i radom variable o i-th cycle e.g. umber of calls with a waitig time loger tha 5 miutes i week i a call ceter Y C Y C Y C 3 has a steady state distributio F C. teady cycle 3/4/06

No-termiatig simulatio teady state teady cycle Others 3/4/06

We start doig some statistics i geeral Exercise: take cards from a deck of cards without returig ay card that has take = umber of aces, Y=umber of kigs Idepedet or ot? how why. 3 3/4/06

4 Idepedece Two stochastic variables ad Y are idepedet if: Cotiuous Discrete B A B Y P A P B Y A P, sets ad y x y Y P x P y Y x P, ad imulatio, lecture 5

Idepedece If ad Y idepedet stochastic variables: EY EEY cov,y 0 var Y var vary 5 imulatio, lecture 5

Estimators ubiased Assume,, IID stochastic variables ample mea: estimates μ i i ample variace: i i 6 3/4/06

trog law of large umbers,, IID stochastic variables, E = μ with probability if 7 3/4/06

8 3/4/06 Cetral limit theorem,,, IID, average µ, variace σ if the Z ormally distributed N0, Z i i

,, IID stochastic variables Cofidece iterval t Follows studet s t-distributio with - degrees of freedom Note σ replaced by estimate Assumptio ot too strict: i are ormally distributed 9 3/4/06

tudet s t-distributio http://www.statsoft.com/textbook/distributio-tables/#t 0 3/4/06

Cofidece iterval t, t,, 3/4/06

Cofidece iterval: example How may hours do computer sciece studets sped o gamig? 8, 5, 8,, 3, 8, 8, 6, 5, t9.3 0 3.34 0.05.6 95% cofidece iterval: [.3.6 3.34 0,.3.6 3.34 0 Questio: This meas that with 95 % probability. ] [9.69,4.9]

Cofidece iterval t What does this mea?, t,, -α00 % cofidece, µ is i the iterval with probability -α, t -,-α/ coverges to z -α/ for large Ed some statistics i geeral 3 3/4/06

Aalysis: first cosider termiatig simulatio ru : ru ru : :,,,,,,, j j,,,, j, avg avg avg 4 3/4/06

Termiatig simulatio i output result, value of a certai performace measure, of simulatio ru i E.g. average waitig time of patiet i hospital departmet i ru i The i s ca be cosidered as Idepedet Idetically Distributed IID stochastic variables We wat to have iformatio μ = E i tatistical theory applies 5 3/4/06

6 3/4/06 Termiatig simulatio 3 t t,,, -α00 % cofidece, µ is i the iterval with probability -α For estimatig average i i

No termiatig simulatio eparate ru Batch meas 7 3/4/06

No-termiatig simulatio Replicatio/deletio approach, i.e. separate rus: Iitializatio effect i.e. warm-up period Either very large rus or Kow cofidece iterval from: i K K jk 0 K i, j 0 8 3/4/06

No-termiatig simulatio Batch meas method sub rus: Correlatio Either very large rus or Assume Covariace statioary: Weak idepedece: Cofidece iterval from cov i, ik idepedet of cov i, i 0 k i K j K i, j 9 3/4/06

30 3/4/06 No-termiatig simulatio 3 with replaced by is i i i C C,,, C t C t

3 3/4/06 Warm up period ->teady state,,,, : average,,,, : ru,,,, : ru,,,, ru : j j j

Warm up period ->teady state ij j-th observatio i ru i j i ij Movig average should coverge j w w sw w js 3 3/4/06

Warm-up period: example Expoetial iterarrival times with mea miute Machie processig times uiform [0.65,0.7] miutes Ispectio times uiform [0.75,0.8] miutes Machie: life time exp6 hours ad repair times uiform 8 to miutes. 33 3/4/06

N i productio i hour i N i Average over 0 rus: 34 3/4/06

N i 0 0 N i N i 30 35 3/4/06

Comparig systems: example Arrival: Poisso per miute Two types of ATM s: Zippy: service time exp0.9 mi Kluky: service time exp.8 mi Oe Zippy or Klukies? Cost are equal Average customer delay matters 36 3/4/06

Comparig systems Zippy: j j=,.., average delay ru j Klukies: j j=,.., average delay ru j Compare: perform the followig experimet 00 times: Compare average delay of rus with Zippy to average delay of rus with Klukies. Vote Zippy/Klukies # rus 5 5 43 0 38 0 34 % Zippy 37 3/4/06

38 3/4/06

39 Comparig two systems: use paired t- cofidece iterval 3/4/06 t Z Z Z Z Z Z Z Z Z j j Z j j j j j Cofidece iterval : df - distributio with follows t ] [ EZ /,

tudet s t-distributio α=0.05 tn- -α from table 95% = - α 0.5% = α/ -t crit = -tn- -α/ t crit = tn- -α/ 40 Oderzoeksmethode: statistiek 3

Comparig two systems: use paired t- cofidece iterval Z j j j cofidece iterval: Z t, / If 0 i cofidece iterval, o sigificat differece Z If If left side of iterval Z t right side iterval Z t, /, / Z Z 0, the 0 the larger tha smaller tha 4 3/4/06

4 3/4/06 Backgroud: Paired t-test two-sided ] [ 0 : 0 : 0 Z Z Z Z H H Z E Z j j Z j j j j j Used i course Evolutioary Computig

Paired t-test t obs Z Z We wat cofidece level o we accept follows a t - distributio with df H 0 whe t, t obs t, 43 3/4/06

Paired t-test: p-value p-value or sigificace: Idicates how extreme t obs p - value mi P T t obs, P T t, where T follows a t - distributio with df. obs We reject H if p 0 0.05 44 3/4/06

tudet s t-distributio p value t obs 45

Relatio to paired-t cofidece iterval Accept H 0 : μ=ez=0 if ad oly if t, if ad oly if Z, Z t 0 is i the paired t-cofidece iterval A cofidece iterval gives more iformatio 46 3/4/06

Variace reductio Use commo radom umbers for ad 47 3/4/06

48 3/4/06 A modified two sample-t cofidece iterval Welsch cofidece iterval observatios j, observatios j If both samples do ot have the same variace ] [ ] [, ] [ with : iterval cofidece df o with distributi - t q q t q