Introduction, class rules, error analysis Julia Velkovska

Slides:



Advertisements
Similar presentations
Experimental Measurements and their Uncertainties
Advertisements

Welcome to PHYS 225a Lab Introduction, class rules, error analysis Julia Velkovska.
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
Experimental Uncertainties: A Practical Guide What you should already know well What you need to know, and use, in this lab More details available in handout.
The Simple Linear Regression Model: Specification and Estimation
Chapter 10 Simple Regression.
Data Handling l Classification of Errors v Systematic v Random.
Types of Errors Difference between measured result and true value. u Illegitimate errors u Blunders resulting from mistakes in procedure. You must be careful.
Statistical Treatment of Data Significant Figures : number of digits know with certainty + the first in doubt. Rounding off: use the same number of significant.
Relationships Among Variables
Standard error of estimate & Confidence interval.
Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one.
IB Chemistry Chapter 11, Measurement & Data Processing Mr. Pruett
STA Lecture 161 STA 291 Lecture 16 Normal distributions: ( mean and SD ) use table or web page. The sampling distribution of and are both (approximately)
Lecture 12 Statistical Inference (Estimation) Point and Interval estimation By Aziza Munir.
Measurement Uncertainties Physics 161 University Physics Lab I Fall 2007.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
Physics 270 – Experimental Physics. Standard Deviation of the Mean (Standard Error) When we report the average value of n measurements, the uncertainty.
LECTURER PROF.Dr. DEMIR BAYKA AUTOMOTIVE ENGINEERING LABORATORY I.
Lab 3b: Distribution of the mean
Uncertainty & Error “Science is what we have learned about how to keep from fooling ourselves.” ― Richard P. FeynmanRichard P. Feynman.
Error and Error Analysis. Types of error Random error – Unbiased error due to unpredictable fluctuations in the environment, measuring device, and so.
Chapter 4 Linear Regression 1. Introduction Managerial decisions are often based on the relationship between two or more variables. For example, after.
Error and Error Analysis. Types of error Random error – Unbiased error due to unpredictable fluctuations in the environment, measuring device, and so.
Stat 112: Notes 2 Today’s class: Section 3.3. –Full description of simple linear regression model. –Checking the assumptions of the simple linear regression.
Uncertainty in Measurement
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
LECTURE 3: ANALYSIS OF EXPERIMENTAL DATA
Uncertainty & Errors in Measurement. Waterfall by M.C. Escher.
Analysis of Experimental Data; Introduction
Statistics Presentation Ch En 475 Unit Operations.
Uncertainty2 Types of Uncertainties Random Uncertainties: result from the randomness of measuring instruments. They can be dealt with by making repeated.
Chapter 8 Estimation ©. Estimator and Estimate estimator estimate An estimator of a population parameter is a random variable that depends on the sample.
Chapter 11: Measurement and data processing Objectives: 11.1 Uncertainty and error in measurement 11.2 Uncertainties in calculated results 11.3 Graphical.
MEASUREMENT AND DATA PROCESSING UNCERTAINTY AND ERROR IN MEASUREMENT Measurement involves comparing to a standard Base units MeasurementUnitSymbol.
Topic 11 Measurement and data processing
The simple linear regression model and parameter estimation
Chapter 4: Basic Estimation Techniques
Chapter 4 Basic Estimation Techniques
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Part 5 - Chapter
Measures of Dispersion
Part 5 - Chapter 17.
Error and Error Analysis
Basic Estimation Techniques
The Simple Linear Regression Model: Specification and Estimation
Hypothesis Testing and Confidence Intervals (Part 1): Using the Standard Normal Lecture 8 Justin Kern October 10 and 12, 2017.
POSC 202A: Lecture Lecture: Substantive Significance, Relationship between Variables 1.
Basic Estimation Techniques
Correlation and Regression
Statistical Methods For Engineers
Statistics Review ChE 477 Winter 2018 Dr. Harding.
Introduction to Instrumentation Engineering
Part 5 - Chapter 17.
Significant Figures The significant figures of a (measured or calculated) quantity are the meaningful digits in it. There are conventions which you should.
Review of Hypothesis Testing
measurement and data processing Topic 11.1 & 11.2 (not 11.3)
Assigning and Propagating Uncertainties
Graphing with Uncertainties
measurement and data processing Topic 11.1 & 11.2 (not 11.3)
Introduction to Instrumentation Engineering
Simple Linear Regression
CHAPTER 12 More About Regression
Statistical Data Analysis
Chapter 8 Estimation.
Precision & Uncertainties
Propagation of Error Berlin Chen
Regression Models - Introduction
CHAPTER – 1.2 UNCERTAINTIES IN MEASUREMENTS.
Statistical inference for the slope and intercept in SLR
Presentation transcript:

Introduction, class rules, error analysis Julia Velkovska Welcome to PHYS 225a Lab Introduction, class rules, error analysis Julia Velkovska

Lab objectives To introduce you to modern experimental techniques and apparatus. Develop your problem solving skills. To teach you how to: Document an experiment ( Elog – a web-based logbook!) Interpret a measurement (error analysis) Report your result (formal lab report) Lab safety: Protect people Protect equipment

Navigating the 225a Lab web page http://www.hep.vanderbilt.edu/~velkovja/VUteach/PHY225a

A measurement is not very meaningful without an error estimate! “Error” does NOT mean “blunder” or “mistake”.

No measurement made is ever exact. The accuracy (correctness) and precision (number of significant figures) of a measurement are always limited by: Apparatus used skill of the observer the basic physics in the experiment and the experimental technique used to access it Goal of experimenter: to obtain the best possible value of some quantity or to validate/falsify a theory. What comprises a deviation from a theory ? Every measurement MUST give the RANGE of possible values

Types of errors (uncertainties) and how to deal with them: Systematic Result from mis-calibrated device Experimental technique that always gives a measurement higher (or lower) than the true value Systematic errors are difficult to assess, because often we don’t really understand their source ( if we did, we would correct them) One way to estimate the systematic error is to try a different method for the same measurement Random Deal with those using statistics What type of error is the little Indian making ?

Determining Random Errors: if you do just 1 measurement of a quantity of interest Instrument limit of error and least count least count is the smallest division that is marked on the instrument The instrument limit of error is the precision to which a measuring device can be read, and is always equal to or smaller than the least count. Estimating uncertainty A volt meter may give you 3 significant digits, but you observe that the last two digits oscillate during the measurement. What is the error ?

Example: Determine the Instrument limit of error and least count

Determining Random Errors: if you do multiple measurements of a quantity of interest Most random errors have a Gaussian distribution ( also called normal distribution) This fact is a consequence of a very important theorem: the central limit theorem When you overlay many random distributions, each with an arbitrary probability distribution, different mean value and a finite variance => the resulting distribution is Gaussian μ – mean, σ2 - variance

Average, average deviation, standard deviation Average: sum the measured values; divide by the number of measurements Average deviation: find the absolute value of the difference between each measured value and the AVERAGE, then divide by the number of measurements Sample standard deviation: s (biased: divide by N …or unbiased: divide by N-1) . Use either one in your lab reports.

Example: average, average deviation, standard deviation Suppose we repeat a measurement several times and record the different values. We can then find the average value, here denoted by a symbol between angle brackets, <t>, and use it as our best estimate of the reading. How can we determine the uncertainty? Let us use the following data as an example. Column 1 shows a time in seconds. Example: average, average deviation, standard deviation Time, t, [sec].  (t - <t>), [sec] |t - <t>|, [sec] (t-<t>)2    [sec2] 7.4  8.1 7.9 7.0  <t> = 7.6 average

Example: average, average deviation, standard deviation Suppose we repeat a measurement several times and record the different values. We can then find the average value, here denoted by a symbol between angle brackets, <t>, and use it as our best estimate of the reading. How can we determine the uncertainty? Let us use the following data as an example. Column 1 shows a time in seconds. Example: average, average deviation, standard deviation Time, t, [sec].  (t - <t>), [sec] |t - <t>|, [sec] (t-<t>)2    [sec2] 7.4  -0.2 0.2 0.04 8.1 0.5 0.25 7.9 0.3 0.09 7.0  -0.6 0.6 0.36 <t> = 7.6 average <t-<t>>= 0.0 <|t-<t>|>= 0.4 Average deviation   (unbiased) Std. dev = 0.50

Some Exel functions =SUM(A2:A5) Find the sum of values in the range of cells A2 to A5. .=AVERAGE(A2:A5) Find the average of the numbers in the range of cells A2 to A5. =AVEDEV(A2:A5) Find the average deviation of the numbers in the range of cells A2 to A5. =STDEV(A2:A5) Find the sample standard deviation (unbiased) of the numbers in the range of cells A2 to A5. =STDEVP(A2:A5) Find the sample standard deviation (biased) of the numbers in the range of cells A2 to A5.

Range of possible values: confidence intervals Suppose you measure the density of calcite as (2.65 ± 0.04) g/cm3 . The textbook value is 2.71 g/cm3 . Do the two values agree? Rule of thumb: if the measurements are within 2 s -they agree with each other. The probability that you will get a value that is outside this interval just by chance is less than 5%.. 0.9999994             0.9999366 0.9973002 0.9544997 0.6826895        CI range Random distributions are typically Gaussian, centered about the mean

Why take many measurements ? Note the in the definition of σ, there is a sqrt(N) in the denominator , where N is the number of measurements

Indirect measurements You want to know quantity X, but you measure Y and Z You know that X is a function of Y and Z You estimate the error on Y and Z: How to get the error of X ? The procedure is called “error propagation”. General rule: f is a function of the independent variables u,v,w ….etc . All of these are measured and their errors are estimated. Then to get the error on f:

How to propagate the errors: specific examples ( proof and examples done on the white board) Addition and subtraction: x+y; x-y Add absolute errors Multiplication by an exact number: a*x Multiply absolute error by the number Multiplication and division Add relative errors

Another common case: determine the variable of interest as the slope of a line Linear regression: what does it mean ? How do we get the errors on the parameters of the fit ?

Linear regression I You want to measure speed You measure distance You measure time Distance/time = speed You made 1 measurement : not very accurate You made 10 measurements You could determine the speed from each individual measurement, then average them But this assumes that you know the intercept as well as the slope of the line distance/time Many times, you have a systematic error in the intercept Can you avoid that error propagating in your measurement of the slope ?

Linear regression: least square fit Data points (xi, yi) , i = 1…N Assume that y = a+bx: straight line Find the line that best fits that collection of points that you measured Then you know the slope and the intercept You can then predict y for any value of x Or you know the slope with accuracy which is better than any individual measurement How to obtain that: a least square fit

Residuals: The vertical distance between the line and the data points A linear regression fit finds the line which minimizes the sum of the squares of all residuals

How good is the fit? r2 – the regression parameter If there is no correlation between x and y , r2 = 0 If there is a perfect linear relation between x and y, the r2 = 1

Exel will also give you the error on the slope + a lot more ( I won’t go into it) Use:Tools/Data analysis/Regression You get a table like this: errors slope

Happy error hunting !