Modeling and Simulation CS 313

Slides:



Advertisements
Similar presentations
Agenda of Week V. Dispersion & RV Objective : Understanding the descriptive statistics Understanding the random variable and probability Week 4 1 Graphs.
Advertisements

Chapter 2 Appendix Basic Statistics and the Law of Large Numbers.
Lecture 2 Describing Data II ©. Summarizing and Describing Data Frequency distribution and the shape of the distribution Frequency distribution and the.
Modeling Process Quality
Descriptive Statistics A.A. Elimam College of Business San Francisco State University.
B a c kn e x t h o m e Parameters and Statistics statistic A statistic is a descriptive measure computed from a sample of data. parameter A parameter is.
CHAPTER 6 Statistical Analysis of Experimental Data
PROBABILITY AND SAMPLES: THE DISTRIBUTION OF SAMPLE MEANS.
2.3. Measures of Dispersion (Variation):
 The Law of Large Numbers – Read the preface to Chapter 7 on page 388 and be prepared to summarize the Law of Large Numbers.
Central Tendency and Variability
Statistical Process Control
Math 116 Chapter 12.
Chapter 13 Statistics © 2008 Pearson Addison-Wesley. All rights reserved.
BIOSTAT - 2 The final averages for the last 200 students who took this course are Are you worried?
6.1 What is Statistics? Definition: Statistics – science of collecting, analyzing, and interpreting data in such a way that the conclusions can be objectively.
Chapter 3 Averages and Variations
Topics: Statistics & Experimental Design The Human Visual System Color Science Light Sources: Radiometry/Photometry Geometric Optics Tone-transfer Function.
Topic 1: Descriptive Statistics CEE 11 Spring 2001 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering.
Descriptive Statistics Roger L. Brown, Ph.D. Medical Research Consulting Middleton, WI Online Course #1.
Psyc 235: Introduction to Statistics Lecture Format New Content/Conceptual Info Questions & Work through problems.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 3 Descriptive Statistics: Numerical Methods.
Describing Data Using Numerical Measures. Topics.
SECTION 12-3 Measures of Dispersion Slide
Sampling Error SAMPLING ERROR-SINGLE MEAN The difference between a value (a statistic) computed from a sample and the corresponding value (a parameter)
© 2008 Pearson Addison-Wesley. All rights reserved Chapter 1 Section 13-3 Measures of Dispersion.
Presentation on Statistics for Research Lecture 7.
Describing Samples Based on Chapter 3 of Gotelli & Ellison (2004) and Chapter 4 of D. Heath (1995). An Introduction to Experimental Design and Statistics.
CHAPTER 2: Basic Summary Statistics
 2012 Pearson Education, Inc. Slide Chapter 12 Statistics.
Statistics in Forensics
Descriptive Statistics ( )
The normal distribution
STATISTICS AND PROBABILITY IN CIVIL ENGINEERING
Ch5.4 Central Limit Theorem
MECH 373 Instrumentation and Measurements
Populations.
Basic Statistics and the Law of Large Numbers
STATISTICAL INFERENCE
Descriptive Statistics
Chapter 2 Appendix Basic Statistics and the Law of Large Numbers.
Probability and Statistics for Engineers
Chapter 12 Statistics 2012 Pearson Education, Inc.
Tips for exam 1- Complete all the exercises from the back of each chapter. 2- Make sure you re-do the ones you got wrong! 3- Just before the exam, re-read.
Chapter 2 Descriptive Statistics.
Modeling and Simulation CS 313
Central Tendency and Variability
Numerical Measures: Centrality and Variability
Science of Psychology AP Psychology
Frequency and Distribution
Probability and Statistics for Engineers
Descriptive Statistics
Descriptive Statistics: Numerical Methods
BUS7010 Quant Prep Statistics in Business and Economics
The normal distribution
Numerical Descriptive Measures
Probability and Statistics for Engineers
Measures of Dispersion (Spread)
Probability and Statistics
Probability and Statistics for Engineers
Probability and Statistics for Engineers
Probability and Statistics
Probability and Statistics for Engineers
CHAPTER 2: Basic Summary Statistics
CHAPTER – 1.2 UNCERTAINTIES IN MEASUREMENTS.
Chapter 12 Statistics.
Probability and Statistics for Engineers
2.3. Measures of Dispersion (Variation):
Numerical Descriptive Measures
CHAPTER – 1.2 UNCERTAINTIES IN MEASUREMENTS.
Presentation transcript:

Modeling and Simulation CS 313 Sample Statistics Modeling and Simulation CS 313

SAMPLE STATISTICS Discrete-event simulations generate a lot of experimental data. To facilitate the analysis of all this data, it is conventional to compress the data into a handful of meaningful statistics. We have already seen examples of this, where job averages and time averages were used to characterize the performance of a single-server service node. Each time a discrete-event simulation program is used to generate data, it is important to appreciate that this data is only a sample from that much larger population.

SAMPLE STATISTICS If the size of sample is small, essentially all that can be done is compute the sample mean and standard deviation. If the size of sample is not small, a sample-data histogram can be computed and then used to analyze the distribution of data in the sample.

SAMPLE MEAN AND STANDARD DEVIATION How to collect data in DES? Two types of statistical analysis: Within-the-run (e.g., job avg and time avg used to characterize the performance of a SSQ system) Between-the-run: simulate the system repeatedly by simply changing the initial seed from run to run.

SAMPLE MEAN AND STANDARD DEVIATION Definitions: Consider a sample x1, x2, . . . , xn (continuous or discrete) Sample Mean: Sample Variance: Sample Standard Deviation: Coefficient of Variation:

UNDERSTANDING THE STATISTICS Mean: a measure of central tendency Variance, Deviation: measures of dispersion about the mean The sample standard deviation has the same "units" as the data and the sample mean. For example, if the data has units of sec then so also does the sample mean and standard deviation. Although the sample variance is more amenable to mathematical manipulation (because it is free of the square root), the sample standard deviation is typically the preferred measure of dispersion, since it has the same units as the data. Note that the coefficient of variation (C.V.) is unit-less, but a common shift in data changes the C.V. e.g.: measure students’ heights on the floor, in chairs

RELATING THE MEAN AND STANDARD DEVIATION The root-mean-square (rms) function d(x) measures dispersion about any value x d(x) measures dispersion about any value x Theorem 4.1.1 The sample mean gives the smallest possible value for d(x) The standard deviation s is that smallest value:

RELATING THE MEAN AND STANDARD DEVIATION Example: Collect 50 observations The sample mean is 1.095 The sample standard deviation is 0.354: The smallest value of d(x) is s, as shown in the figure

LINEAR DATA TRANSFORMATION Often the output data generated by simulations should be converted to different units (sec), the change in system statistics can be determined directly, without any need to re-process the converted data.

LINEAR DATA TRANSFORMATION

NONLINEAR DATA TRANSFORMATION When data is used to generate a Boolean (1 or 0) outcome, we need nonlinear data transformation The value of xi is not important as the effect E.g., consider the effect: it will rain tomorrow. How much rain we will have is not important Let A be a fixed set and

NONLINEAR DATA TRANSFORMATION

DISCRETE-DATA HISTOGRAMS

DISCRETE-DATA HISTOGRAMS Example 1:

DISCRETE-DATA HISTOGRAMS Example 2:

HISTOGRAM MEAN AND STANDARD DEVIATION The discrete-data histogram mean is The discrete-data histogram standard deviation is The discrete-data histogram variance is s2

HISTOGRAM MEAN AND STANDARD DEVIATION

HISTOGRAM MEAN AND STANDARD DEVIATION Example 4.2.3 For the data in Example 4.2.1 (three dice) For the data in the Example 4.2.2 (balls placed in boxes)

CONTINUOUS-DATA HISTOGRAMS

CONTINUOUS-DATA HISTOGRAMS Binning

CONTINUOUS-DATA HISTOGRAMS

CONTINUOUS-DATA HISTOGRAMS Example: buffon

HISTOGRAM PARAMETER GUIDELINES

CONTINUOUS-DATA HISTOGRAMS Example 4.3.2: Smooth, Noisy Histograms

Relative Frequency

Histogram Integrals

HISTOGRAM MEAN AND STANDARD DEVIATION