Lecture 2d: Performance Comparison. Quality of Measurement Characteristics of a measurement tool (timer) Accuracy: Absolute difference of a measured value.

Slides:



Advertisements
Similar presentations
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 10 The Analysis of Variance.
Advertisements

Copyright 2004 David J. Lilja1 Comparing Two Alternatives Use confidence intervals for Before-and-after comparisons Noncorresponding measurements.
Sampling: Final and Initial Sample Size Determination
Fundamentals of Data Analysis Lecture 12 Methods of parametric estimation.
Chap 8-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 8 Estimation: Single Population Statistics for Business and Economics.
Model Adequacy Checking in the ANOVA Text reference, Section 3-4, pg
Design of Experiments and Analysis of Variance
Copyright 2004 David J. Lilja1 Errors in Experimental Measurements Sources of errors Accuracy, precision, resolution A mathematical model of errors Confidence.
Chapter Seventeen HYPOTHESIS TESTING
Chapter 8 Estimation: Single Population
= == Critical Value = 1.64 X = 177  = 170 S = 16 N = 25 Z =
Lecture 12 One-way Analysis of Variance (Chapter 15.2)
Estimating a Population Proportion
Statistical Treatment of Data Significant Figures : number of digits know with certainty + the first in doubt. Rounding off: use the same number of significant.
Chapter 9 Hypothesis Testing.
How confident are we that our sample means make sense? Confidence intervals.
Survey Methodology Sampling error and sample size EPID 626 Lecture 4.
F-Test ( ANOVA ) & Two-Way ANOVA
PS 225 Lecture 15 Analysis of Variance ANOVA Tables.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
QNT 531 Advanced Problems in Statistics and Research Methods
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Review of Statistics Group Results. Which type of statistics? When comparing two group scores-Use the t-test. When comparing more than two scores: Use.
Estimation of Statistical Parameters
1 Chapter 6. Section 6-1 and 6-2. Triola, Elementary Statistics, Eighth Edition. Copyright Addison Wesley Longman M ARIO F. T RIOLA E IGHTH E DITION.
Population All members of a set which have a given characteristic. Population Data Data associated with a certain population. Population Parameter A measure.
Statistical Fundamentals: Using Microsoft Excel for Univariate and Bivariate Analysis Alfred P. Rovai Estimation PowerPoint Prepared by Alfred P. Rovai.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
Fundamentals of Data Analysis Lecture 10 Management of data sets and improving the precision of measurement pt. 2.
Chapter 10 Analysis of Variance.
Lecture 4 Basic Statistics Dr. A.K.M. Shafiqul Islam School of Bioprocess Engineering University Malaysia Perlis
Slide 1 © 2002 McGraw-Hill Australia, PPTs t/a Introductory Mathematics & Statistics for Business 4e by John S. Croucher 1 n Learning Objectives –Identify.
LECTURER PROF.Dr. DEMIR BAYKA AUTOMOTIVE ENGINEERING LABORATORY I.
Estimating a Population Proportion
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Lecture 2 Forestry 3218 Lecture 2 Statistical Methods Avery and Burkhart, Chapter 2 Forest Mensuration II Avery and Burkhart, Chapter 2.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
PCB 3043L - General Ecology Data Analysis. OUTLINE Organizing an ecological study Basic sampling terminology Statistical analysis of data –Why use statistics?
Determination of Sample Size: A Review of Statistical Theory
Statistical Fundamentals: Using Microsoft Excel for Univariate and Bivariate Analysis Alfred P. Rovai Estimation PowerPoint Prepared by Alfred P. Rovai.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
CHEMISTRY ANALYTICAL CHEMISTRY Fall Lecture 6.
LECTURE 3: ANALYSIS OF EXPERIMENTAL DATA
Chapter 10: Analysis of Variance: Comparing More Than Two Means.
Chapter 8 1-Way Analysis of Variance - Completely Randomized Design.
1 Chapter 6. Section 6-1 and 6-2. Triola, Elementary Statistics, Eighth Edition. Copyright Addison Wesley Longman M ARIO F. T RIOLA E IGHTH E DITION.
PCB 3043L - General Ecology Data Analysis. PCB 3043L - General Ecology Data Analysis.
INTRODUCTORY LECTURE 3 Lecture 3: Analysis of Lab Work Electricity and Measurement (E&M)BPM – 15PHF110.
© Copyright McGraw-Hill 2004
Various Topics of Interest to the Inquiring Orthopedist Richard Gerkin, MD, MS BGSMC GME Research.
Psych 230 Psychological Measurement and Statistics Pedro Wolf November 18, 2009.
ERT 207 Analytical Chemistry ERT 207 ANALYTICAL CHEMISTRY Dr. Saleha Shamsudin.
Chapters Way Analysis of Variance - Completely Randomized Design.
Chapter 4 Exploring Chemical Analysis, Harris
Lecture 8: Measurement Errors 1. Objectives List some sources of measurement errors. Classify measurement errors into systematic and random errors. Study.
Chapter 8 Estimation ©. Estimator and Estimate estimator estimate An estimator of a population parameter is a random variable that depends on the sample.
ENGR 610 Applied Statistics Fall Week 8 Marshall University CITE Jack Smith.
CHAPTER 8 (4 TH EDITION) ESTIMATING WITH CONFIDENCE CORRESPONDS TO 10.1, 11.1 AND 12.1 IN YOUR BOOK.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
Oneway ANOVA comparing 3 or more means. Overall Purpose A Oneway ANOVA is used to compare three or more average scores. A Oneway ANOVA is used to compare.
PCB 3043L - General Ecology Data Analysis Organizing an ecological study What is the aim of the study? What is the main question being asked? What are.
Confidence Intervals Cont.
Confidence Intervals and Sample Size
ESTIMATION.
PCB 3043L - General Ecology Data Analysis.
Lecture 2d1: Quality of Measurements
Significant Figures The significant figures of a (measured or calculated) quantity are the meaningful digits in it. There are conventions which you should.
CHAPTER 22: Inference about a Population Proportion
Presentation transcript:

Lecture 2d: Performance Comparison

Quality of Measurement Characteristics of a measurement tool (timer) Accuracy: Absolute difference of a measured value and the corresponding standard reference value (such as the duration of a second). Precision: Reliability of the measurements made with the tool. Highly precise measurements are tightly clustered around a single value. Resolution: Smallest incremental change that can be detected. Ex: interval between clock ticks

Quality of Measurement accuracy precision mean value true value

Quality of Measurement The uncertainties in the measurements are called errors or noise Sources of errors: Accuracy, precision, resolution of the measurement tool Time required to read and store the current time value Time-sharing among multiple programs Processing of interrupts Cache misses, page faults

Quality of Measurement Types of errors: Systematic errors Are the result of some experimental mistake Usually constant across all measurements Ex: temperature may effect clock period Random errors Unpredictable, nondeterministic Effect the precision of measurement Ex: timer resolution ±T, effects measurements with equal probability

Quality of Measurement Experimental measurements follow Gaussian (normal) distribution Ex: x measured value ±E random error Two sources of errors, each having 50% probability Pg 48 Actual value of x is measured half of the time. Error 1Error 2Measured valueProbability -E x-2E1/4 -E+Ex1/4 +E-Ex1/4 +E x+2E1/4

Confidence Intervals Used to find a range of values that has a given probability of including the actual value. Case 1: number of measurements is large (n≥30) {x 1, x 2, … x n } - Samples Gaussian distribution  – mean  – standard deviation Confidence interval: [ c 1, c 2 ] Confidence level: (1-  )×100 Pr[ c 1 ≤ x ≤ c 2 ] = 1-  Pr[ x c 2 ] =  /2

Confidence Intervals Case 1: number of measurements is large (n≥30) Confidence interval: [ c 1, c 2 ] - Sample mean - Standard deviation is obtained from the precomputed table

Confidence Intervals Case 2: number of measurements is small (n<30) Sample variances s 2 can vary significantly. t distribution: - Sample mean - Standard deviation is obtained from the precomputed table

Confidence Intervals Ex: number of measurements is large (n<30) Pg 51 90% confidence interval means that there is a 90% chance that the actual mean is within that interval.

Confidence Intervals 90%c 1 = 6.5c 2 = %c 1 = 6.1c 2 = %c 1 = 5.3c 2 =10.6 Wider interval  Less precise knowledge about the mean

Confidence Intervals Determining the Number of measurements Needed

Confidence Intervals Determining the Number of measurements Needed Estimating s: 1.Make small number of measurements. 2.Estimate standard deviation s. 3.Calculate n. 4.Make n measurements.

Confidence Intervals Ex: Pg 53

Confidence Intervals Confidence Intervals for Proportions When we are interested in the number of times events occur. Bimonial distribution: If np≥10 it approximates Gaussian distribution with mean p and variance p(1-p)/n - Total events recorded - Number of times desired outcome occurs is the sample proportion

Confidence Intervals Confidence Intervals for Proportions Determining the number of measurements needed:

Confidence Intervals Ex: Pg 55

Comparing Alternatives Three different cases: Before-and-after comparison Comparison of non-corresponding (impaired) measurements Comparisons involving proportions

Comparing Alternatives Before-and-after comparison Used to determine whether some change made to a system has statistically significant impact on its performance. 1.Find a confidence interval for the mean of the differences of the paired observations 2.If this interval includes 0, then measured differences are not statistically significant.

Comparing Alternatives Before-and-after comparison Before measurements: b 1, … b n After measurements: a 1, … a n Differences: d 1 = a 1, - b 1 d 2 = a 2, - b 2 … - Arithmetic mean - Standard deviation n ≥ 30

Comparing Alternatives Before-and-after comparison Ex: pg 65

Comparing Alternatives Non-corresponding Measurements There is no direct corresponding between pairs of measurements. 1.First system: n 1 measurements, find x 1 and s 1 2.Second system: n 2 measurements, find x 2 and s 2 3.Calculate the difference of means and standard deviation of the difference of means 4.If confidence interval includes 0, then no significant difference

Comparing Alternatives Non-corresponding Measurements n 1 ≥ 30 and n 2 ≥ 30

Comparing Alternatives Non-corresponding Measurements n 1 < 30 or n 2 < 30

Comparing Alternatives Non-corresponding Measurements Ex: pg 67

Comparing Alternatives Comparing Proportions m 1 is the number of times the event occurs in system 1 out of a total of n 1 events measured. If m 1 >10 and m 2 >10 the it approximates normal distribution with means and variance and

Comparing Alternatives Comparing Proportions Confidence intervals where Standard deviation

Comparing Alternatives Comparing More than Two Alternatives Analysis of Variance (ANOVA) n - measurements k - alternatives

Comparing Alternatives Comparing More than Two Alternatives Mean of alternative j Overall mean

Comparing Alternatives Comparing More than Two Alternatives Deviation of y ij from mean Deviation of y j from y Therefore

Comparing Alternatives Comparing More than Two Alternatives Total variance observed: 1.Variance due to the actual differences among alternatives (SSA) 2.Variance due to measurement errors (SSE)

Comparing Alternatives Comparing More than Two Alternatives Sum of squares total:

Comparing Alternatives Comparing More than Two Alternatives F-test F distribution Used to test whether two variances are significantly different. If, close to 1, then no significant difference If they are greater than a critical value, then it can not be said that there is no significant difference

Comparing Alternatives Comparing More than Two Alternatives Mean square: Mean square error: If then with confidence level of

Comparing Alternatives Comparing More than Two Alternatives Contrasts Used to compare individual alternatives. c- contrast w- weight

Comparing Alternatives Comparing More than Two Alternatives Variance of c: Confidence interval:

Comparing Alternatives Comparing more than Two Alternatives

Comparing Alternatives Comparing more than Two Alternatives Ex:

Comparing Alternatives Comparing more than Two Alternatives