Simulation Output Analysis

Similar documents
X ε ) = 0, or equivalently, lim

Lecture 3. Sampling, sampling distributions, and parameter estimation

Econometric Methods. Review of Estimation

Chapter 8: Statistical Analysis of Simulated Data

Chapter 5 Properties of a Random Sample

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

ENGI 4421 Joint Probability Distributions Page Joint Probability Distributions [Navidi sections 2.5 and 2.6; Devore sections

Summary of the lecture in Biostatistics

Analysis of System Performance IN2072 Chapter 5 Analysis of Non Markov Systems

Lecture 7. Confidence Intervals and Hypothesis Tests in the Simple CLR Model

Special Instructions / Useful Data

Chapter 14 Logistic Regression Models

( ) = ( ) ( ) Chapter 13 Asymptotic Theory and Stochastic Regressors. Stochastic regressors model

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

Mean is only appropriate for interval or ratio scales, not ordinal or nominal.

{ }{ ( )} (, ) = ( ) ( ) ( ) Chapter 14 Exercises in Sampling Theory. Exercise 1 (Simple random sampling): Solution:

CHAPTER VI Statistical Analysis of Experimental Data

Parameter, Statistic and Random Samples

Ordinary Least Squares Regression. Simple Regression. Algebra and Assumptions.

best estimate (mean) for X uncertainty or error in the measurement (systematic, random or statistical) best

Class 13,14 June 17, 19, 2015

Chapter 3 Sampling For Proportions and Percentages

Law of Large Numbers

Econometrics. 3) Statistical properties of the OLS estimator

Multiple Linear Regression Analysis

BIOREPS Problem Set #11 The Evolution of DNA Strands

Continuous Distributions

STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. x, where. = y - ˆ " 1

22 Nonparametric Methods.

STA302/1001-Fall 2008 Midterm Test October 21, 2008

Lecture 3 Probability review (cont d)

PROPERTIES OF GOOD ESTIMATORS

STATISTICAL INFERENCE

X X X E[ ] E X E X. is the ()m n where the ( i,)th. j element is the mean of the ( i,)th., then

MEASURES OF DISPERSION

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand DIS 10b

Chapter 4 Multiple Random Variables

Chapter -2 Simple Random Sampling

M2S1 - EXERCISES 8: SOLUTIONS

Chapter -2 Simple Random Sampling

Random Variables and Probability Distributions

ECONOMETRIC THEORY. MODULE VIII Lecture - 26 Heteroskedasticity

ENGI 3423 Simple Linear Regression Page 12-01

THE ROYAL STATISTICAL SOCIETY HIGHER CERTIFICATE

2SLS Estimates ECON In this case, begin with the assumption that E[ i

Chapter 8. Inferences about More Than Two Population Central Values

Sampling Theory MODULE X LECTURE - 35 TWO STAGE SAMPLING (SUB SAMPLING)

Simple Linear Regression

Idea is to sample from a different distribution that picks points in important regions of the sample space. Want ( ) ( ) ( ) E f X = f x g x dx

Functions of Random Variables

A Study of the Reproducibility of Measurements with HUR Leg Extension/Curl Research Line

IS 709/809: Computational Methods in IS Research. Simple Markovian Queueing Model

Chapter 4 Multiple Random Variables

Lecture Notes Types of economic variables

THE ROYAL STATISTICAL SOCIETY 2016 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE MODULE 5

Module 7. Lecture 7: Statistical parameter estimation

TESTS BASED ON MAXIMUM LIKELIHOOD

Bayes (Naïve or not) Classifiers: Generative Approach

Lecture Notes to Rice Chapter 5

ECON 5360 Class Notes GMM

1 Solution to Problem 6.40

STRONG CONSISTENCY FOR SIMPLE LINEAR EV MODEL WITH v/ -MIXING

Qualifying Exam Statistical Theory Problem Solutions August 2005

Midterm Exam 1, section 1 (Solution) Thursday, February hour, 15 minutes

Introduction to local (nonparametric) density estimation. methods

Random Variate Generation ENM 307 SIMULATION. Anadolu Üniversitesi, Endüstri Mühendisliği Bölümü. Yrd. Doç. Dr. Gürkan ÖZTÜRK.

Multivariate Transformation of Variables and Maximum Likelihood Estimation

STK3100 and STK4100 Autumn 2017

f f... f 1 n n (ii) Median : It is the value of the middle-most observation(s).

Comparison of Dual to Ratio-Cum-Product Estimators of Population Mean

1. The weight of six Golden Retrievers is 66, 61, 70, 67, 92 and 66 pounds. The weight of six Labrador Retrievers is 54, 60, 72, 78, 84 and 67.

Chapter 11 The Analysis of Variance

Linear Regression with One Regressor

STK4011 and STK9011 Autumn 2016

The expected value of a sum of random variables,, is the sum of the expected values:

( ) ( ) ( ) f ( ) ( )

Wu-Hausman Test: But if X and ε are independent, βˆ. ECON 324 Page 1

Objectives of Multiple Regression

Lecture Note to Rice Chapter 8

12.2 Estimating Model parameters Assumptions: ox and y are related according to the simple linear regression model

Bayes Interval Estimation for binomial proportion and difference of two binomial proportions with Simulation Study

LECTURE - 4 SIMPLE RANDOM SAMPLING DR. SHALABH DEPARTMENT OF MATHEMATICS AND STATISTICS INDIAN INSTITUTE OF TECHNOLOGY KANPUR

Simple Linear Regression

STA 105-M BASIC STATISTICS (This is a multiple choice paper.)

THE ROYAL STATISTICAL SOCIETY GRADUATE DIPLOMA

: At least two means differ SST

5.1 Properties of Random Numbers

STK3100 and STK4100 Autumn 2018

9 U-STATISTICS. Eh =(m!) 1 Eh(X (1),..., X (m ) ) i.i.d

Construction and Evaluation of Actuarial Models. Rajapaksha Premarathna

Chapter Two. An Introduction to Regression ( )

Correlation and Simple Linear Regression

Multiple Regression. More than 2 variables! Grade on Final. Multiple Regression 11/21/2012. Exam 2 Grades. Exam 2 Re-grades

Estimation of Stress- Strength Reliability model using finite mixture of exponential distributions

Confidence Intervals for Double Exponential Distribution: A Simulation Approach

THE ROYAL STATISTICAL SOCIETY 2010 EXAMINATIONS SOLUTIONS GRADUATE DIPLOMA MODULE 2 STATISTICAL INFERENCE

NONPARAMETRIC ESTIMATION IN RANDOM SUM MODELS

Midterm Exam 1, section 2 (Solution) Thursday, February hour, 15 minutes

Unsupervised Learning and Other Neural Networks

Point Estimation: definition of estimators

Transcription:

Smulato Output Aalyss Summary Examples Parameter Estmato Sample Mea ad Varace Pot ad Iterval Estmato ermatg ad o-ermatg Smulato Mea Square Errors

Example: Sgle Server Queueg System x(t) S 4 S 4 S 3 S 5 S 7 S S S 3 S 4 S 5 S 6 S 7 3 4 5 6 7 8 9 0 3 4 Average System me Let S k be the tme that customer k speds the queue, the, t Sˆ = S k = k A = Area uder x(t) IMPORA: hs s a Radom Varable Estmate of the average system tme over the frst customers Example: Sgle Server Queueg System x(t) 0 0 3 3 3 4 5 6 7 8 9 0 3 4 Probablty that x(t)= Let () be the total observed tme durg whch x(t)= Probablty Estmate Average queue legth ˆ Q ˆ = p () = () ˆ p () = = A = () = 0 Utlzato otal observato terval ( 0) ˆ ρ = () = = t

Parameter Estmato Let X,,X be depedet detcally dstrbuted radom varables wth mea θ ad varace σ. I geeral, θ ad σ are ukow determstc quattes whch we would lke to estmate. Sample Mea: Radom Varable! ˆ X = X E [ X ˆ ] = Var[ X ˆ ] = = X = = θ E = E[ X ] = = θ σ ( ) E Xˆ θ = E X θ = = = Τhe sample mea ca be used as a estmate of the ukow parameter θ. It has the same mea but less varace tha X. σ Estmator Propertes Ubasedess: A estmator θˆ s sad to be a ubased estmator of the parameter θ f t satsfes Bas: E θ ˆ θ = I geeral, a estmator s sad to be a based sce the followg holds E ˆ θ = θ + b where b s the bas of the estmator If X,,X are d wth mea θ, the the sample mea s a ubased estmator of θ.

Estmator Propertes Asymptotc Ubasedess: A estmator θˆ s sad to be a asymptotcally ubased f t satsfes E ˆ ad lm ˆ θ θ b E = + θ = θ Strog Cosstecy: A estmator s strogly cosstet f wth probablty lm E ˆ θ = θ If X,,X are d wth mea θ, the the sample mea s also strogly cosstet. Cosstecy of the Sample Mea he varace of the sample mea s σ Var[ Xˆ ] = f ( x) f ˆX Icreasg ˆX ( x) θ x But, σ s ukow, therefore we use the sample varace Also a Radom Varable! S ( X ˆ θ ) = = θ x

Recursve Form of Sample Mea ad Varace Let M ad S be the sample mea ad varace after the -th sample s observed. Also, let M 0 =S 0 =0. M X = = ( X ) M = he recursve form for geeratg M + ad S + s X + X M + = M + + M + = + X + M = M + S M + = S + + + S = ( )( M ) + Example: Let X be a sequece of d expoetally dstrbuted radom varables wth rate λ= 0.5 (sample.m). Iterval Estmato ad Cofdece Itervals Suppose that the estmator ˆ θ = θ the, the atural questo s how cofdet are we that the true parameter θ s wth the terval (θ -ε, θ +ε)? Recall the cetral lmt theorem ad let a ew radom varable ˆ θ ˆ E θ Z = var ˆ θ ˆ θ θ For the sample mea case Z = σ / he, the cdf of Z approaches the stadard ormal dstrbuto (0,) gve by x Φ ( x) = e π r / dr

Iterval Estmato ad Cofdece Itervals Let Z be a stadard ormal radom varable, the f Z (x) Area = -a Z a / Za / { } { } 0 Pr Z Z = Pr Z Z Z = a a/ a/ a/ hus, as creases, Z desty approaches the stadard ormal desty fucto, thus { } Pr Z Z Z a a/ a/ x Iterval Estmato ad Cofdece Itervals f Z (x) Substtutg for Z ˆ θ θ Pr Za/ Za/ a σ / 0 Z a / Za / { ˆ } θ ˆ a σ θ θ / a σ / Pr Z / + Z / a hus, for large, ths defes the terval where θ les wth probablty -a ad the followg quattes are eeded he sample mea he value of Z a/ whch ca be obtaed from tables gve a he varace of used. θˆ θˆ x whch s ukow ad so the sample varace s

Example Suppose that X,, X are d expoetally dstrbuted radom varables wth rate λ=. Estmate ther sample mea as well as the 95% cofdece terval. SOLUIO ˆ he sample mea s gve by θ = X = From the stadard ormal tables, a =0.05, mples z a/ Fally, the sample varace s gve by Sˆ ( ˆ ) = X θ = herefore, for large, { ˆ ˆ } ˆ ˆ θ S θ θ S Pr / + / 0.95 SampleIterval.m How Good s the Approxmato he stadard ormal (0,) approxmato s vald as log as s large eough, but how large s good eough? Alteratvely, the cofdece terval ca be evaluated based o the t-studet dstrbuto wth degrees of freedom A t-studet radom varable s obtaed by addg d Gaussa radom varables (Y ) each wth mea μ ad varace σ. = = Y σ μ

ermatg ad o-ermatg Smulato ermatg Smulato here s a specfc evet that determes whe the smulato wll termate E.g., processg M packets or Observg M evets, or smulate t tme uts,... Ital codtos are mportat! o-ermatg Smulato Iterested log term (steady-state) averages [ ] θ = lm E X k k ermatg Smulato Let X,,X M are data collected from a termatg smulato, e.g., the system tme a queue. X,,X M are O depedet sce X k =max{0, X k- -Y k }+Z k Y k, Z k are the kth terarrval ad servce tmes respectvely Defe a performace measure, say L = M X M = Ru smulatos to obta L,,L. Assumg depedet smulatos, the L,,L are depedet radom varables, thus we ca use the sample mea estmate M ˆ θ = L = X = = M =

Examples: ermatg Smulato Suppose that we are terested the average tme t wll take to process the frst 00 parts (gve some tal codto). Let 00, =,,M, deote the tme that the 00 th part s fshed durg the -th replcato, the the mea tme requred s gve by M ˆ L = 00, M = Suppose we are terested the fracto of customers that get delayed more tha mute betwee 9 ad 0 am at a certa AM mache. Let be the delay of the th customer durg the th replcato ad defe [D ]= f D >, 0 otherwse. he, L M = D > M = M ˆ L = D > 0 = M = o-ermatg Smulato Ay smulato wll termate at some pot m <, thus the tal traset (because we start from a specfc tal state) may cause some bas the smulato output. Replcato wth Deletos he suggesto here s to start the smulato ad let t ru for a whle wthout collectg ay statstcs. he reasog behd ths approach s that the smulato wll come closer to ts steady state ad as a result the collected data wll be more represetatve warm-up perod Data collecto perod 0 r m tme

o-ermatg Smulato Batch Meas Group the collected data to batches wth m samples each. Form the batch average m B = X = + ( ) m ake the average of all batches m B = B = X = m = = m+ ( ) For each batch, we ca also use the warm-up perods as before. o-ermatg Smulato Regeeratve Smulato Regeeratve process: It s a process that s characterzed by radom pots tme where the future of the process becomes depedet of ts past ( regeerates ) 0 Regeerato pots tme Regeerato pots dvde the sample path to tervals. Data from the same terval are grouped together We form the average over all such tervals. Example: Busy perods a sgle server queue detfy regeerato tervals (why?). I geeral, t s dffcult to fd such pots!

Emprcal Dstrbutos ad Bootstrappg Gve a set of measuremets X,,X whch are realzatos of d radom varables accordg to some ukow F X (x;θ), where θ s a parameter we would lke to estmate. We ca approxmate F X (x; θ) usg the data wth a pmf where all measuremets have equal probablty /. he approxmato becomes better as grows larger. Example Suppose we have the measuremets x,,x that came from a dstrbuto F X (x) wth ukow mea θ ad varace σ. We would lke to estmate θ usg the sample mea μ. Fd the Mea Square Error (MSE) of the estmator based o the emprcal data. / / x x x Emprcal dstrbuto X μ = xp = = = MSE ( ( ) ) e = E e g X μ x he emprcal mea s a ubased estmator of θ. Vector of RVs from the emprcal dstrbuto Based o emprcal dstrbuto

Example μ = x p = = = MSE ( ( ) ) e = E e g X μ = Ee X μ = = E e ( X μ ) = E X μ Var X = = = x X s a RV from the emprcal dstrbuto ( ) [ ] e e [ ] = ( ) = ( x μ ) Var X E X μ e e herefore MSE Var X [ ] e e = = = = ( x μ ) Compare ths wth the sample varace!