Lecture 2d1: Quality of Measurements

Slides:



Advertisements
Similar presentations
Sample size estimation
Advertisements

Sampling: Final and Initial Sample Size Determination
POINT ESTIMATION AND INTERVAL ESTIMATION
Chap 8-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 8 Estimation: Single Population Statistics for Business and Economics.
Copyright 2004 David J. Lilja1 Errors in Experimental Measurements Sources of errors Accuracy, precision, resolution A mathematical model of errors Confidence.
Error Propagation. Uncertainty Uncertainty reflects the knowledge that a measured value is related to the mean. Probable error is the range from the mean.
Chapter 8 Estimation: Single Population
Chapter Topics Confidence Interval Estimation for the Mean (s Known)
Estimating a Population Proportion
How confident are we that our sample means make sense? Confidence intervals.
Survey Methodology Sampling error and sample size EPID 626 Lecture 4.
Normal and Sampling Distributions A normal distribution is uniquely determined by its mean, , and variance,  2 The random variable Z = (X-  /  is.
Continuous Probability Distribution  A continuous random variables (RV) has infinitely many possible outcomes  Probability is conveyed for a range of.
Standard error of estimate & Confidence interval.
Leon-Guerrero and Frankfort-Nachmias,
Chapter 6 Random Error The Nature of Random Errors
AM Recitation 2/10/11.
LECTURE 17 THURSDAY, 2 APRIL STA291 Spring
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.
Lecture 14 Dustin Lueker. 2  Inferential statistical methods provide predictions about characteristics of a population, based on information in a sample.
CS433 Modeling and Simulation Lecture 16 Output Analysis Large-Sample Estimation Theory Dr. Anis Koubâa 30 May 2009 Al-Imam Mohammad Ibn Saud University.
LECTURER PROF.Dr. DEMIR BAYKA AUTOMOTIVE ENGINEERING LABORATORY I.
Estimating a Population Proportion
Lecture 2 Forestry 3218 Lecture 2 Statistical Methods Avery and Burkhart, Chapter 2 Forest Mensuration II Avery and Burkhart, Chapter 2.
Determination of Sample Size: A Review of Statistical Theory
Lecture 2 Review Probabilities Probability Distributions Normal probability distributions Sampling distributions and estimation.
Estimation Chapter 8. Estimating µ When σ Is Known.
Statistical Fundamentals: Using Microsoft Excel for Univariate and Bivariate Analysis Alfred P. Rovai Estimation PowerPoint Prepared by Alfred P. Rovai.
LECTURE 25 THURSDAY, 19 NOVEMBER STA291 Fall
LECTURE 3: ANALYSIS OF EXPERIMENTAL DATA
Lecture 2d: Performance Comparison. Quality of Measurement Characteristics of a measurement tool (timer) Accuracy: Absolute difference of a measured value.
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.
Chapter 10 Sampling: Theories, Designs and Plans.
INTRODUCTORY LECTURE 3 Lecture 3: Analysis of Lab Work Electricity and Measurement (E&M)BPM – 15PHF110.
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.
Various Topics of Interest to the Inquiring Orthopedist Richard Gerkin, MD, MS BGSMC GME Research.
Analysis of Experimental Data; Introduction
ERT 207 Analytical Chemistry ERT 207 ANALYTICAL CHEMISTRY Dr. Saleha Shamsudin.
Computer Performance Modeling Dirk Grunwald Prelude to Jain, Chapter 12 Laws of Large Numbers and The normal distribution.
Lecture 8: Measurement Errors 1. Objectives List some sources of measurement errors. Classify measurement errors into systematic and random errors. Study.
ESTIMATION OF THE MEAN. 2 INTRO :: ESTIMATION Definition The assignment of plausible value(s) to a population parameter based on a value of a sample statistic.
Chapter 8 Estimation ©. Estimator and Estimate estimator estimate An estimator of a population parameter is a random variable that depends on the sample.
Statistics for Business and Economics 7 th Edition Chapter 7 Estimation: Single Population Copyright © 2010 Pearson Education, Inc. Publishing as Prentice.
CHAPTER 6: SAMPLING, SAMPLING DISTRIBUTIONS, AND ESTIMATION Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
Confidence Intervals Cont.
Confidence Intervals and Sample Size
Chapter 6 Inferences Based on a Single Sample: Estimation with Confidence Intervals Slides for Optional Sections Section 7.5 Finite Population Correction.
ESTIMATION.
STA 291 Spring 2010 Lecture 12 Dustin Lueker.
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Al-Imam Mohammad Ibn Saud University Large-Sample Estimation Theory
Introduction to Instrumentation Engineering
Significant Figures The significant figures of a (measured or calculated) quantity are the meaningful digits in it. There are conventions which you should.
Arithmetic Mean This represents the most probable value of the measured variable. The more readings you take, the more accurate result you will get.
Chapter 6 Confidence Intervals.
Uncertainty and Error
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Lecture Slides Elementary Statistics Twelfth Edition
BUSINESS MARKET RESEARCH
Chapter 8: Estimating with Confidence
Sample Proportions Section 9.2.
Chapter 8: Estimating with Confidence
Inference for Proportions
Chapter 6 Confidence Intervals.
Chapter 8: Estimating with Confidence
Precision & Uncertainties
STA 291 Summer 2008 Lecture 12 Dustin Lueker.
STA 291 Spring 2008 Lecture 12 Dustin Lueker.
Presentation transcript:

Lecture 2d1: Quality of Measurements

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 2

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 1 Error 2 Measured value Probability -E x-2E 1/4 +E x x+2E

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) {x1, x2, … xn} - Samples Gaussian distribution m – mean s – standard deviation Confidence interval: [ c1, c2 ] Significance level:  Confidence coefficient: 1- Confidence level: (1-)×100 Pr[ c1 ≤ x ≤ c2 ] = 1- Pr[ x < c1 ] = Pr[ x > c2] = /2

Confidence Intervals Case 1: number of measurements is large (n≥30) Confidence interval: [ c1, c2 ] Sample variances s2 is a good estimate of 2. - Sample mean - Standard deviation is obtained from the precomputed table

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

Normal Distribution

Confidence Intervals Case 2: number of measurements is small (n<30) Sample variances s2 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) 90% confidence interval means that there is a 90% chance that the actual mean is within that interval.

t Distribution

Wider interval  Less precise knowledge about the mean Confidence Intervals 90% c1= 6.5 c2= 9.4 95% c1= 6.1 c2= 9.7 99% c1= 5.3 c2=10.6 Wider interval  Less precise knowledge about the mean

Determining the Number of measurements Needed Confidence Intervals Determining the Number of measurements Needed

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

Confidence Intervals Ex: Based on a preliminary test, mean response time is 20 seconds and standard deviation is 5. How many repetitions are needed to get the response time accurate within 1 second at 95% confidence? e is 1 in 20 

Confidence Intervals Confidence Intervals for Proportions When we are interested in the number of times events occur. Binomial 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 for Proportions Determining the number of measurements needed:

Confidence Intervals Ex: How much time the processor spends executing the operating system compared with how much time it spends executing user programs? Experiment: At every 10 ms, an interrupt routine increments 2 counters: n=counts the number of interrupts occurred (incremented every time), m=counts if operating system is executing Results in 1 minute are m=658, n=6000 95% confidence level for this ratio is: With 5% chance of being wrong, we can say that the processor spends 10.2-11.8% of its time executing operating system.

Confidence Intervals Ex: How long must this experiment be run to know with 95% confidence that the processor spends executing operating system with an error of 0.5%?  Requires 3.46 hours