Introduction to Data Analysis

Size: px
Start display at page:

Download "Introduction to Data Analysis"

Transcription

1 Introduction to Data Analysis Analysis of Experimental Errors How to Report and Use Experimental Errors Statistical Analysis of Data Simple statistics of data Plotting and displaying the data Summary

2 Errors and Uncertainties experimental error " mistake experimental error " blunder experimental error = inevitable uncertainty of the measurement The measured value alone is not enough. We also need the experimental error.

3 Testing the Theories and Models Experimental data should be consistent with you theory (model) and inconsistent with alternative ones to prove them wrong. Example: Bending of the light near the Sun. 1. simplest classical theory 0. careful classical analysis Einstein s general relativity 1.8 Solar eclipse needed to check: Dyson, Eddington, Davidson, year 1919, a=, 95% confidence, 1.7 < α <.3. Consistent with 1.8 and inconsistent with 0.9!!

4 Types of Experimental Errors Random errors rotating table + stopwatch voltage measurements i) revealed by repeating the measurements ii) may be estimated statistically Systematic errors measuring glass car performance calibration errors in general are invisible detected by comparison with results of alternative method or equipment

5 How to Report & Use the Errors Experimental result: measured value of x = x best δx ± the best estimate for x x best - δx < x < x best + δx uncertainty, error, margin of error Usually 95% confidence is suggested: 95% sure x inside the limits 5% chance x is outside the limits

6 Some Basic Rules Experimental errors should be always rounded to one significant digit. g = ± g = ± wrong correct Thus error calculations become simple estimates. Exception: if the leading significant digit of the error is 1, keep one digit more. Everest is m high ±

7 Some Basic Rules The last significant figure in the answer should be the same order of magnitude as the uncertainty. ± ± 9 3 ± During the calculation retain one more digit than is finally justified to decrease the error.

8 Error in a Sum or a Difference Two (or more) independently measured variables: x = x best dx ± y = y best dy ± δ(x y) = δx + δy ± δ(x y z.) = δx + δy + δz +. ± ± ± If x, y, z,. are large, but (x ± y ± z ±.) is small Å trouble! Overall error is large.

9 Calculating Relative Errors relative error = (fractional uncertainty) δx x x = 50 1 cm = 0.0 ± ± δx x δx x x = cm =

10 Relative errors of product and ratio of two variables. x= x ± δx δx<< x best y = y ± δ y δ y<< y best δ ( xy) =? xy xy = ( xbest ± δx)( ybest ± δ y) xbest ybest ± ( xbestδ y + ybestδx) δ( xy) = xbestδ y + ybestδx δ( xy) δx δ y = + xy y x best best For product xy the relative error is the sum of relative errors of x and y.

11 Relative errors of product and ratio of two variables. δ ( ) ± δ ± δ x/ y x x x 1 x/ x =? x/ y = x/ y y ± δ y y 1 ± δ y/ y best best best best best best xbest 1 + δx/ xbest x best δx δ y max = 1+ + ybest 1 δ y/ ybest ybest xbest ybest xbest 1 δx/ xbest x best δx δ y min = 1 ybest 1 + δ y/ ybest ybest xbest ybest δ ( x / y) δ x δ y = + x y y x / best best

12 Simple Rules. When the measured quantities are added or subtracted the errors add. When the measured quantities are multiplied or divided, the relative errors add.

13 Propagation of Errors We have upper bounds on errors for sum/difference and product/quotient of measurables. Can we do any better? If errors are independent and random: the errors are added in quadrature. q = x+ y ( ) ( ) δq = δx + δ y δx+ δ y q = x z ( u w) ( )... ( ) ( )... ( ) δq = δx + + δz + δu + + δw δx δz+ δu δw

14 l l 1 = 5.3± 0.cm = 7. ± 0.cm l = l + l 1 Propagation of Errors δl = δl + δl = mm ( ) ( ) ( ) ( ) 1 = δl + δl = mm + mm = 4mm 1 For measurables there is no great difference, but for n measurables the difference is 1/ n.

15 Propagation of Errors Relative error of product/quotient: q x... z = u... w δq δx δz δu δw = q x z u w δx δz δu δw x z u w If the relative errors for n measurables are the same, we gain 1/ n in relative error.

16 Propagation of Errors D.C. electric motor, V - voltage, I - current. efficiency, e work doneby motor = = energy delivered to motor relativeerror for m, h, V, I = 1% relativeerror for t = 5% mgh VIt δq δm δh δv δi δt = = q m h V I t ( ) ( ) ( ) ( ) ( ) 1% + 1% + 1% + 1% + 5% = 9% 5% δm δh δv δi δt = 1% + 1% + 1% + 1% + 5% = 9% m h V I t

17 Propagation of Errors If many measurables, the error is dominated by the one from the worse measurable: δe e δt t What if measure x, but need an error for f(x)? Suggest that the error is small Do Taylor expansion of f about x best df ( x) f( x) = f( xbest ) ± δ x dx

18 Propagation of Errors Relative error of a power: n q x q x n q x δ δ = = General case - function of several variables: z z q x x q q z z q x x q q z x q δ δ δ δ δ δ = ),..., (

19 Propagation of Errors Example: measuring g with a simple pendulum, L-length, T-oscillation period T=π (L/g) 1/ Å g=4 π L/T δ ( T T ) δ T = T L = 9.95±0.1 cm, δl/l=0.1% δt/t=0.% δ g g 4 (9.95cm) g best = δ L T = 1.936±0.004 sec. δg = x 979 cm/sec = 4 cm/sec = L + δ T T = π 979cm / sec ( 1.936sec) = ( 0.1) + ( 0.) % = 0.4% δ g g

20 Statistical Analysis of Random Errors. Random: small Systematic: small Random: large Systematic: small Random: small Systematic: large Random: large Systematic: large

21 Statistical Analysis of Random Errors. Random: small Systematic:? Random: large Systematic:? Random: small Systematic:? Random: large Systematic:?

22 Statistical Analysis of Random Errors. 1st case: we knew the value of the measured quantity. a) not realistic, b) not very interesting nd case - realistic, no chance of determining the systematic error. Concentrate on random errors and repeat the measurements several times. x 1, x, x 3, x 4,...

23 Statistical Analysis of Random Errors measure x several times, get a set of data: x 1, x,, x N try to estimate the variability (dispersion) of the measurable and it s best value. Example: manufacturer of metal parts Complaints: non-uniformity of melting temperatures. Analysis: Pick a representative batch of parts and measure melting temperatures. Get a set of data: t 1, t,, t N for all N parts from the sample.

24 Statistical Analysis of Random Errors Calculate the average (mean) t: (our estimate for the true value of t) N 1 tbest = t = t N i = 1 i Sort the data: t1 t... tn t j n j n j /N 1/0 3/0 8/0 6/0 /0 0 n j/ N probability of t j t t j + 1

25 Statistical Analysis of Random Errors N i= 1 ti N j j = = j tn N 1 normalized probability Plot a histogram. Increase N Å get a smoother histogram. If the errors are random and small, we get a Gaussian bell-shaped curve at N Å infinity. But we can get more information on random errors before that...

26 Statistical Analysis of Random Errors Example: 5 measurements of some value. 71, 7, 7, 73, 71 N x i= 1 xbest = x = = 71.8= 5 N Trial Measured Deviation Deviation number value d i squared i i i i d = x x d = 0 d =.8 j

27 Statistical Analysis of Random Errors Linear deviations are no good to characterize the statistics of random errors: have zero average, Let s go for squares. Definition: Standard deviation σ x : σ 1 1 N N ( ) d ( x x) = = x i i N i= 1 N i= 1 Root mean square (RMS) deviation of the measurements x 1, x,, x N

28 Statistical Analysis of Random Errors Standard deviation - measure of the accuracy of a single measurement or of the width of the data distribution (histogram). At NÅinfinity histogram turns into a bell-shaped Gaussian curve.

29 Statistical Analysis of Random Errors Standard deviation in a single measurement: σ x characterizes the average error of the measurements x 1, x,, x N. At large N the distribution approaches Gaussian and P(x true - σ x < x < x true + σ x ) = 68%. If you make a single measurement knowing σ x for the method used, it s 68% probable that your x is distance σ x or less form x true. You may be 68% confident that the single measurement is within σ x from the correct answer.

30 Statistical Analysis of Random Errors Standard deviation of the mean: x 1, x,, x N suggest x best = Σx i /N. How good (accurate) is our knowledge of x best? It may be proven that: σ x = σ x 1 N Standard deviation of the mean Or: Average of N measurements gives a 1/N 1/ smaller error, than a single measurement. x = x best ± σ x N

31 Statistical Analysis of Random Errors Example: Measure elasticity constants of springs. 86, 85, 84, 89, 85, 89, 87, 85, 8, 85 k = 85.7N / m, σ.16n/ m N/ m k If we make 10 measurements and get k = 85.7N/m σ k δ kwillbe 0.7N/m 10 k = 85.7 ± 0.7N / m The more measurements we make or the larger is the sample, the more accurate is the measurement!!

32 Gaussian Distribution If the errors of the measurement are random and small, we approach the Gaussian distribution at large N. xµ=5 σ=1 xµ=5 σ=3

33 b a Gaussian Distribution ( x x) 1 G = exp x, σ σ π σ P(x, x + dx) = G(x)dx (probability density) P(a x b) = G(x)dx G(x)dx = 1 (normalized) G(x + dx) = G(x dx) (symmetric with respect to x)

34 x + σ x σ x+ σ x σ ( ) Gaussian Distribution x G(x)dx = x = x (first moment) best x x G(x)dx σ (second moment) = remember "experimental" x and σ? At N is replaced by. x G(x)dx 0.68 (68%) xg(x)dx 0.95 (95%)

35 Least Squares Fitting So far: Single measurable x, though multiple measurements to get the statistics. Analysis of random errors. Now: The statistics is known. Multiple measurables y 1, y,, y N, at different values of x: x 1, x,, x N ; y i = f(x i ). We are figuring out f(x). Two possible approaches: Either : 1. Measure y i,. Plot the data. 3. Guess the form of y = f(x) & make the fit. Or: 1. Have an idea of y = f(x).. Set the experiment. 3. Plot the data to check the initial guess (model).

36 Least Squares Fitting The lore: 1. Get many points.. Plot the data. 3. Play with the coordinates (lin-lin, log-lin, log-log). 4. Look for the simplest possible fits.

37 Least Squares Fitting The simplest case - linear dependence: y = a x + b. x 1, x,, x N & y 1, y,, y N What are the best a and b to fit the data? Suggest Gaussian distribution for each y i, know σ y. Assume the fit curve is the true f(x), ax i +b is the true value of y i. Construct P(y 1, y,, y N ; a,b) probability of having the set of data y 1, y,, y N. Maximize P(y 1, y,, y N ; a,b) with respect to a & b and find the corresponding a and b. Compare a and b with theory (if we have any).

38 For a single measurement: Least Squares Fitting measured value 1 i i + P( yi ) ~ exp σ y σ y ( y ( a x b) ) For a set of measurements: P( y 1, y,..., χ y = N ) ~ N i= 1 P( y Welook for : 1 ) P( y ( y ( a x + b) ) i σ χ a i y )... P( y N ) ~ σ χ = 0 & = 0 b 1 N y true value exp χ

39 Least Squares Fitting We have a system of linear equations for a and b: N χ = x ( ) i y i (axi + b) = 0 a σ y i= 1 N χ = ( y ) i (axi + b) = 0 b σ y i= 1 a x + b x = x y a xi + Nb= yi i i i i

40 The solutions are: Least Squares Fitting a b = = xy x y i i i i i i i i i x y x x y, where i = x ( x ) i A x + b - least squares fit to the data, or line of regression of y on x.

41 Linear Least Squares, General case Our fitting function in general case is: F(x) = a 1 f 1 (x) + a f (x) + + a n f n (x) Note that the function itself does not have to be linear for the problem to be linear in the fitting parameters. Let us find a compact way to formulate the least squares problem.

42 Linear Least Squares, General case Thus we have: vectors x, y and a: x1 points y1 x =... where the data, y =... the data, was taken xn yn a1 fitting a =... parameters an and functions f ( x), f ( x),..., f ( x). 1 n

43 Linear Least Squares, General case The problem now looks like: y= F( x ) + e, wheree isaresidual: i i i mismatch between the measured value and the one predicted by the fit. Let s intorduce vector e: e1 e =... en i

44 Linear Least Squares, General case Let us express the problem in matrix notation: f1( x1) f( x1)... fn ( x1) 1( ) ( )... ( ) Z= f x f x fn x f1( xn) f( xn)... fn( xn) Overall we have now: y = Z a+ e Fitting problem in matrix notation. N i = i=1 T Look for min e min( ee)

45 Linear Least Squares, General case N N Look for min ei min n = y i za ij j = i=1 i=1 j= 1 min ( T ( y z a) ( y z a) ) ( T ee) a k ( y z a) = 0 for 1 k n ( y z a) = ak T 0

46 Linear Least Squares, General case ( a) z ( y z a) = ak T ( z ) ( y z a) ( ) = 0 T ( ) ( ) z z... z y z a = 0 for 1 k n 1k k Nk Using Matlab colon notation: T ( z ) ( ) ( ) z a = z y :,k :, k T Or after putting all n equations together: T T z z a = z y T 0

47 Linear Least Squares, General case In general case linear lest squares problem can be formulated as a set of linear equations. Ways to solve: 1. Gaussian elimination.. To calculate the matrix inverse: ( T ) 1 T a = z z z y Suitable for Matlab, see homework 9.

48 Nonlinear Regression (Least Squares) What if the fitting function is not linear in fitting parameters? We get a nonlinear equation (system of equations). Example: f(x) = a (1 - e 1 -a x ) + e y = f (x ;a,a,...,a ) + e or just y = f(x ) + e i i 1 1 m i i i i Again look for the minimum of to the fitting parameters. N i=1 i e with respect

49 Matlab Function FMINSEARCH. Accepts as input parameters: 1. Name of the function (FUN) to be minimized. Vector with initial guess X0 for the fitting parameters Returns: Vector X of fitting parameters providing the local minimum of FUN. Function FUN accepts vector X and returns the scalar value dependent on X. In our case (hw10) FUN should calculate dependent on the fitting parameters b, m, A 1, A, N e i=1 i

50 Matlab Function FMINSEARCH. Syntax: x = FMINSEARCH(FUN,X0) or x = FMINSEARCH(FUN,X0,OPTIONS) See OPTIMSET for the detail on OPTIONS. x = FMINSEARCH(FUN,X0,OPTIONS,P1,P,..) in case you want to pass extra parameters to FMINSEARCH If no options are set use OPTIONS = [] as a place holder. to specify the FUN: x = fminsearch(@myfun,x0)

51 Gauss-Newton method for nonlinear regression y = f (x ;a,a,...,a ) + e or just y = f(x ) + e i i 1 1 m i i i i Look for the minimum of e with respect to a. 1. Make an initial guess for a: a0.. Linearize the equations (use Taylor expansion about a0). 3. Solve for a - correction to a0 a1=a0+ a - improved a-s and our new initial guess. 4. Back to (1). k,j+1 k,j N 5. Repeat until a -a < ε for any k. i=1 i i

52 Gauss-Newton method for nonlinear regression Linearization by Taylor expansion: f(x,a0) y f(x ) e f(x,a0) e n i i = i + i i + + i j= 1 a n f(x,a0) y f (x,a0) e for i = 1,,...,N n i i i = + i j= 1 a n or in matrix form: D = Z a+e, where f(x 1,a0) f(x 1,a0) y1 f(x 1,a0)... a1 a n D=..., and Z = yn f(x N,a0) f(x N,a0) f(x N,a0)... a1 an

53 Gauss-Newton method for nonlinear regression Linear regression: y = Z a + e Now,nonlinear regression : D = Z a+e. Old good linear equations with a in plce of a, D in place of y and Z with partial derivatives in place of Z with values of functions. Solve it for a, use a1=a0+ a as the new initial guess and repeat the procedure untill the convergence criteria are met...

Error Analysis How Do We Deal With Uncertainty In Science.

Error Analysis How Do We Deal With Uncertainty In Science. How Do We Deal With Uncertainty In Science. 1 Error Analysis - the study and evaluation of uncertainty in measurement. 2 The word error does not mean mistake or blunder in science. 3 Experience shows no

More information

Errors: What they are, and how to deal with them

Errors: What they are, and how to deal with them Errors: What they are, and how to deal with them A series of three lectures plus exercises, by Alan Usher Room 111, a.usher@ex.ac.uk Synopsis 1) Introduction ) Rules for quoting errors 3) Combining errors

More information

The Treatment of Numerical Experimental Results

The Treatment of Numerical Experimental Results Memorial University of Newfoundl Department of Physics Physical Oceanography The Treatment of Numerical Experimental Results The purpose of these notes is to introduce you to some techniques of error analysis

More information

Propagation of Error Notes

Propagation of Error Notes Propagation of Error Notes From http://facultyfiles.deanza.edu/gems/lunaeduardo/errorpropagation2a.pdf The analysis of uncertainties (errors) in measurements and calculations is essential in the physics

More information

Instrumentation & Measurement AAiT. Chapter 2. Measurement Error Analysis

Instrumentation & Measurement AAiT. Chapter 2. Measurement Error Analysis Chapter 2 Measurement Error Analysis 2.1 The Uncertainty of Measurements Some numerical statements are exact: Mary has 3 brothers, and 2 + 2 = 4. However, all measurements have some degree of uncertainty

More information

Physics 403. Segev BenZvi. Propagation of Uncertainties. Department of Physics and Astronomy University of Rochester

Physics 403. Segev BenZvi. Propagation of Uncertainties. Department of Physics and Astronomy University of Rochester Physics 403 Propagation of Uncertainties Segev BenZvi Department of Physics and Astronomy University of Rochester Table of Contents 1 Maximum Likelihood and Minimum Least Squares Uncertainty Intervals

More information

Notes Errors and Noise PHYS 3600, Northeastern University, Don Heiman, 6/9/ Accuracy versus Precision. 2. Errors

Notes Errors and Noise PHYS 3600, Northeastern University, Don Heiman, 6/9/ Accuracy versus Precision. 2. Errors Notes Errors and Noise PHYS 3600, Northeastern University, Don Heiman, 6/9/2011 1. Accuracy versus Precision 1.1 Precision how exact is a measurement, or how fine is the scale (# of significant figures).

More information

APPENDIX A: DEALING WITH UNCERTAINTY

APPENDIX A: DEALING WITH UNCERTAINTY APPENDIX A: DEALING WITH UNCERTAINTY 1. OVERVIEW An uncertainty is always a positive number δx > 0. If the uncertainty of x is 5%, then δx =.05x. If the uncertainty in x is δx, then the fractional uncertainty

More information

Electromagnetism lab project

Electromagnetism lab project Electromagnetism lab project Contents 1. Overview of the course 2. How to analyse errors in measurements 3. How to make graphical representations (plots) Overview Four lab experiments Biot Savart s law

More information

PHY 101L - Experiments in Mechanics

PHY 101L - Experiments in Mechanics PHY 101L - Experiments in Mechanics introduction to error analysis What is Error? In everyday usage, the word error usually refers to a mistake of some kind. However, within the laboratory, error takes

More information

BRIEF SURVEY OF UNCERTAINITY IN PHYSICS LABS

BRIEF SURVEY OF UNCERTAINITY IN PHYSICS LABS BRIEF SURVEY OF UNCERTAINITY IN PHYSICS LABS THREE CASES OF UNCERTAINTY CALCULATION There are two main situations when dealing with uncertainty calculation of a given parameter; or it is measured or it

More information

Lab 1: Simple Pendulum 1. The Pendulum. Laboratory 1, Physics 15c Due Friday, February 16, in front of Sci Cen 301

Lab 1: Simple Pendulum 1. The Pendulum. Laboratory 1, Physics 15c Due Friday, February 16, in front of Sci Cen 301 Lab 1: Simple Pendulum 1 The Pendulum Laboratory 1, Physics 15c Due Friday, February 16, in front of Sci Cen 301 Physics 15c; REV 0 1 January 31, 2007 1 Introduction Most oscillating systems behave like

More information

Dealing with uncertainty

Dealing with uncertainty Appendix A Dealing with uncertainty A.1 Overview An uncertainty is always a positive number δx > 0. If you measure x with a device that has a precision of u, thenδx is at least as large as u. Fractional

More information

Chapter 3 Experimental Error

Chapter 3 Experimental Error Chapter 3 Experimental Error Homework Due Friday January 27 Problems: 3-2, 3-5, 3-9, 3-10, 3-11, 3-12, 3-14, 3-19 Chapter 3 Experimental Error Uncertainties They are everywhere!! We need to learn to understand

More information

Dealing with uncertainty

Dealing with uncertainty Appendix A Dealing with uncertainty A.1 Overview An uncertainty is always a positive number δx > 0. If you measure x with a device that has a precision of u, thenδx is at least as large as u. Fractional

More information

Appendix II Calculation of Uncertainties

Appendix II Calculation of Uncertainties Part 1: Sources of Uncertainties Appendix II Calculation of Uncertainties In any experiment or calculation, uncertainties can be introduced from errors in accuracy or errors in precision. A. Errors in

More information

Introduction to Uncertainty and Treatment of Data

Introduction to Uncertainty and Treatment of Data Introduction to Uncertainty and Treatment of Data Introduction The purpose of this experiment is to familiarize the student with some of the instruments used in making measurements in the physics laboratory,

More information

MSM120 1M1 First year mathematics for civil engineers Revision notes 4

MSM120 1M1 First year mathematics for civil engineers Revision notes 4 MSM10 1M1 First year mathematics for civil engineers Revision notes 4 Professor Robert A. Wilson Autumn 001 Series A series is just an extended sum, where we may want to add up infinitely many numbers.

More information

Check List - Data Analysis

Check List - Data Analysis Chem 360 Check List - Data Analysis Reference: Taylor, J. R. An Introduction to Error Analysis; University Science Books, 2nd Ed., (Oxford University Press): Mill Valley, CA,1997 Listed below are data

More information

More Examples Of Generalized Coordinates

More Examples Of Generalized Coordinates Slides of ecture 8 Today s Class: Review Of Homework From ecture 7 Hamilton s Principle More Examples Of Generalized Coordinates Calculating Generalized Forces Via Virtual Work /3/98 /home/djsegal/unm/vibcourse/slides/ecture8.frm

More information

BRIDGE CIRCUITS EXPERIMENT 5: DC AND AC BRIDGE CIRCUITS 10/2/13

BRIDGE CIRCUITS EXPERIMENT 5: DC AND AC BRIDGE CIRCUITS 10/2/13 EXPERIMENT 5: DC AND AC BRIDGE CIRCUITS 0//3 This experiment demonstrates the use of the Wheatstone Bridge for precise resistance measurements and the use of error propagation to determine the uncertainty

More information

5 Error Propagation We start from eq , which shows the explicit dependence of g on the measured variables t and h. Thus.

5 Error Propagation We start from eq , which shows the explicit dependence of g on the measured variables t and h. Thus. 5 Error Propagation We start from eq..4., which shows the explicit dependence of g on the measured variables t and h. Thus g(t,h) = h/t eq..5. The simplest way to get the error in g from the error in t

More information

Chapter 6: The Definite Integral

Chapter 6: The Definite Integral Name: Date: Period: AP Calc AB Mr. Mellina Chapter 6: The Definite Integral v v Sections: v 6.1 Estimating with Finite Sums v 6.5 Trapezoidal Rule v 6.2 Definite Integrals 6.3 Definite Integrals and Antiderivatives

More information

Modern Methods of Data Analysis - WS 07/08

Modern Methods of Data Analysis - WS 07/08 Modern Methods of Data Analysis Lecture VIa (19.11.07) Contents: Uncertainties (II): Re: error propagation Correlated uncertainties Systematic uncertainties Re: Error Propagation (I) x = Vi,j and µi known

More information

STATISTICS OF OBSERVATIONS & SAMPLING THEORY. Parent Distributions

STATISTICS OF OBSERVATIONS & SAMPLING THEORY. Parent Distributions ASTR 511/O Connell Lec 6 1 STATISTICS OF OBSERVATIONS & SAMPLING THEORY References: Bevington Data Reduction & Error Analysis for the Physical Sciences LLM: Appendix B Warning: the introductory literature

More information

Uncertainty in Measurement

Uncertainty in Measurement CHICO STATE UNIVERSITY, PHYSICS DEPARTMENT DR. CULBREATH FALL 2015 Uncertainty in Measurement REFERENCES: Many sections of this text adapted and summarized from An Introduction to Error Analysis: The Study

More information

Measurements and Data Analysis

Measurements and Data Analysis Measurements and Data Analysis 1 Introduction The central point in experimental physical science is the measurement of physical quantities. Experience has shown that all measurements, no matter how carefully

More information

Intermediate Lab PHYS 3870

Intermediate Lab PHYS 3870 Intermediate Lab PHYS 3870 Lecture 4 Comparing Data and Models Quantitatively Linear Regression Introduction Section 0 Lecture 1 Slide 1 References: Taylor Ch. 8 and 9 Also refer to Glossary of Important

More information

Uncertainty, Error, and Precision in Quantitative Measurements an Introduction 4.4 cm Experimental error

Uncertainty, Error, and Precision in Quantitative Measurements an Introduction 4.4 cm Experimental error Uncertainty, Error, and Precision in Quantitative Measurements an Introduction Much of the work in any chemistry laboratory involves the measurement of numerical quantities. A quantitative measurement

More information

Lecture 7: Optimal Smoothing

Lecture 7: Optimal Smoothing Department of Biomedical Engineering and Computational Science Aalto University March 17, 2011 Contents 1 What is Optimal Smoothing? 2 Bayesian Optimal Smoothing Equations 3 Rauch-Tung-Striebel Smoother

More information

Pre-Lab: Primer on Experimental Errors

Pre-Lab: Primer on Experimental Errors IUPUI PHYS 15 Laboratory Page 1 of 5 Pre-Lab: Primer on Eperimental Errors There are no points assigned for this Pre-Lab. n essential skill in the repertoire of an eperimental physicist is his/her ability

More information

BRIEF SURVEY OF UNCERTAINITY IN PHYSICS LABS

BRIEF SURVEY OF UNCERTAINITY IN PHYSICS LABS BRIEF SURVEY OF UNCERTAINITY IN PHYSICS LABS THREE CASES OF UNCERTAINTY CALCULATION There are two main situations when dealing with uncertainty calculation of a given parameter; or it is measured or it

More information

Course Project. Physics I with Lab

Course Project. Physics I with Lab COURSE OBJECTIVES 1. Explain the fundamental laws of physics in both written and equation form 2. Describe the principles of motion, force, and energy 3. Predict the motion and behavior of objects based

More information

Uncertainties and Error Propagation Part I of a manual on Uncertainties, Graphing, and the Vernier Caliper

Uncertainties and Error Propagation Part I of a manual on Uncertainties, Graphing, and the Vernier Caliper Contents Uncertainties and Error Propagation Part I of a manual on Uncertainties, Graphing, and the Vernier Caliper Copyright July 1, 2000 Vern Lindberg 1. Systematic versus Random Errors 2. Determining

More information

Numerical techniques to solve equations

Numerical techniques to solve equations Programming for Applications in Geomatics, Physical Geography and Ecosystem Science (NGEN13) Numerical techniques to solve equations vaughan.phillips@nateko.lu.se Vaughan Phillips Associate Professor,

More information

Introduction to Error Analysis

Introduction to Error Analysis Introduction to Error Analysis Part 1: the Basics Andrei Gritsan based on lectures by Petar Maksimović February 1, 2010 Overview Definitions Reporting results and rounding Accuracy vs precision systematic

More information

Chapter 2. Some Basic Probability Concepts. 2.1 Experiments, Outcomes and Random Variables

Chapter 2. Some Basic Probability Concepts. 2.1 Experiments, Outcomes and Random Variables Chapter 2 Some Basic Probability Concepts 2.1 Experiments, Outcomes and Random Variables A random variable is a variable whose value is unknown until it is observed. The value of a random variable results

More information

AE2160 Introduction to Experimental Methods in Aerospace

AE2160 Introduction to Experimental Methods in Aerospace AE160 Introduction to Experimental Methods in Aerospace Uncertainty Analysis C.V. Di Leo (Adapted from slides by J.M. Seitzman, J.J. Rimoli) 1 Accuracy and Precision Accuracy is defined as the difference

More information

Lecture 2: Reporting, Using, and Calculating Uncertainties 2. v = 6050 ± 30 m/s. v = 6047 ± 3 m/s

Lecture 2: Reporting, Using, and Calculating Uncertainties 2. v = 6050 ± 30 m/s. v = 6047 ± 3 m/s 1 CHAPTER 2: Reporting and Using Uncertainties Quoting a result as: Best Estimate ± Uncertainty In the Archimedes experiment result, we had a table which read Measurement of Crown Density by Two Experts

More information

Intermediate Lab PHYS 3870

Intermediate Lab PHYS 3870 Intermediate Lab PHYS 3870 Lecture 3 Distribution Functions References: Taylor Ch. 5 (and Chs. 10 and 11 for Reference) Taylor Ch. 6 and 7 Also refer to Glossary of Important Terms in Error Analysis Probability

More information

Error analysis for the physical sciences A course reader for phys 1140 Scott Pinegar and Markus Raschke Department of Physics, University of Colorado

Error analysis for the physical sciences A course reader for phys 1140 Scott Pinegar and Markus Raschke Department of Physics, University of Colorado Error analysis for the physical sciences A course reader for phys 1140 Scott Pinegar and Markus Raschke Department of Physics, University of Colorado Version 1.0 (September 9, 2012) 1 Part 1 (chapter 1

More information

1 Measurement Uncertainties

1 Measurement Uncertainties 1 Measurement Uncertainties (Adapted stolen, really from work by Amin Jaziri) 1.1 Introduction No measurement can be perfectly certain. No measuring device is infinitely sensitive or infinitely precise.

More information

Introduction to the General Physics Laboratories

Introduction to the General Physics Laboratories Introduction to the General Physics Laboratories September 5, 2007 Course Goals The goal of the IIT General Physics laboratories is for you to learn to be experimental scientists. For this reason, you

More information

Assume that you have made n different measurements of a quantity x. Usually the results of these measurements will vary; call them x 1

Assume that you have made n different measurements of a quantity x. Usually the results of these measurements will vary; call them x 1 #1 $ http://www.physics.fsu.edu/users/ng/courses/phy2048c/lab/appendixi/app1.htm Appendix I: Estimates for the Reliability of Measurements In any measurement there is always some error or uncertainty in

More information

Statistics for Data Analysis. Niklaus Berger. PSI Practical Course Physics Institute, University of Heidelberg

Statistics for Data Analysis. Niklaus Berger. PSI Practical Course Physics Institute, University of Heidelberg Statistics for Data Analysis PSI Practical Course 2014 Niklaus Berger Physics Institute, University of Heidelberg Overview You are going to perform a data analysis: Compare measured distributions to theoretical

More information

Error Analysis in Experimental Physical Science Mini-Version

Error Analysis in Experimental Physical Science Mini-Version Error Analysis in Experimental Physical Science Mini-Version by David Harrison and Jason Harlow Last updated July 13, 2012 by Jason Harlow. Original version written by David M. Harrison, Department of

More information

PHY 123 Lab 1 - Error and Uncertainty and the Simple Pendulum

PHY 123 Lab 1 - Error and Uncertainty and the Simple Pendulum To print higher-resolution math symbols, click the Hi-Res Fonts for Printing button on the jsmath control panel. PHY 13 Lab 1 - Error and Uncertainty and the Simple Pendulum Important: You need to print

More information

Physics 1050 Experiment 1. Introduction to Measurement and Uncertainty

Physics 1050 Experiment 1. Introduction to Measurement and Uncertainty Introduction to Measurement and Uncertainty Prelab Questions! Q These questions need to be completed before entering the lab. Show all workings. Prelab 1: A car takes time t = 2.5 +/- 0.2 s to travel a

More information

PARADISE VALLEY COMMUNITY COLLEGE PHYSICS COLLEGE PHYSICS I LABORATORY

PARADISE VALLEY COMMUNITY COLLEGE PHYSICS COLLEGE PHYSICS I LABORATORY PARADISE VALLEY COMMUNITY COLLEGE PHYSICS 111 - COLLEGE PHYSICS I LABORATORY PURPOSE OF THE LABORATORY: The laboratory exercises are designed to accomplish two objectives. First, the exercises will illustrate

More information

3. Measurement Error and Precision

3. Measurement Error and Precision 3.1 Measurement Error 3.1.1 Definition 3. Measurement Error and Precision No physical measurement is completely exact or even completely precise. - Difference between a measured value and the true value

More information

Solution of Algebric & Transcendental Equations

Solution of Algebric & Transcendental Equations Page15 Solution of Algebric & Transcendental Equations Contents: o Introduction o Evaluation of Polynomials by Horner s Method o Methods of solving non linear equations o Bracketing Methods o Bisection

More information

Preliminary Examination in Numerical Analysis

Preliminary Examination in Numerical Analysis Department of Applied Mathematics Preliminary Examination in Numerical Analysis August 7, 06, 0 am pm. Submit solutions to four (and no more) of the following six problems. Show all your work, and justify

More information

Physics 1140 Fall 2013 Introduction to Experimental Physics

Physics 1140 Fall 2013 Introduction to Experimental Physics Physics 1140 Fall 2013 Introduction to Experimental Physics Joanna Atkin Lecture 5: Recap of Error Propagation and Gaussian Statistics Graphs and linear fitting Experimental analysis Typically make repeat

More information

Treatment of Error in Experimental Measurements

Treatment of Error in Experimental Measurements in Experimental Measurements All measurements contain error. An experiment is truly incomplete without an evaluation of the amount of error in the results. In this course, you will learn to use some common

More information

Numerical Methods I Solving Nonlinear Equations

Numerical Methods I Solving Nonlinear Equations Numerical Methods I Solving Nonlinear Equations Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 MATH-GA 2011.003 / CSCI-GA 2945.003, Fall 2014 October 16th, 2014 A. Donev (Courant Institute)

More information

SOLUTION FOR HOMEWORK 12, STAT 4351

SOLUTION FOR HOMEWORK 12, STAT 4351 SOLUTION FOR HOMEWORK 2, STAT 435 Welcome to your 2th homework. It looks like this is the last one! As usual, try to find mistakes and get extra points! Now let us look at your problems.. Problem 7.22.

More information

Interpolation and Polynomial Approximation I

Interpolation and Polynomial Approximation I Interpolation and Polynomial Approximation I If f (n) (x), n are available, Taylor polynomial is an approximation: f (x) = f (x 0 )+f (x 0 )(x x 0 )+ 1 2! f (x 0 )(x x 0 ) 2 + Example: e x = 1 + x 1! +

More information

Experimental Uncertainty (Error) and Data Analysis

Experimental Uncertainty (Error) and Data Analysis E X P E R I M E N T 1 Experimental Uncertainty (Error) and Data Analysis INTRODUCTION AND OBJECTIVES Laboratory investigations involve taking measurements of physical quantities, and the process of taking

More information

Exercises and Answers to Chapter 1

Exercises and Answers to Chapter 1 Exercises and Answers to Chapter The continuous type of random variable X has the following density function: a x, if < x < a, f (x), otherwise. Answer the following questions. () Find a. () Obtain mean

More information

1 Measurement Uncertainties

1 Measurement Uncertainties 1 Measurement Uncertainties (Adapted stolen, really from work by Amin Jaziri) 1.1 Introduction No measurement can be perfectly certain. No measuring device is infinitely sensitive or infinitely precise.

More information

Problem Set 1. MAS 622J/1.126J: Pattern Recognition and Analysis. Due: 5:00 p.m. on September 20

Problem Set 1. MAS 622J/1.126J: Pattern Recognition and Analysis. Due: 5:00 p.m. on September 20 Problem Set MAS 6J/.6J: Pattern Recognition and Analysis Due: 5:00 p.m. on September 0 [Note: All instructions to plot data or write a program should be carried out using Matlab. In order to maintain a

More information

Error analysis for IPhO contestants

Error analysis for IPhO contestants Error analysis for IPhO contestants Heikki Mäntysaari University of Jyväskylä, Department of Physics Abstract In the experimental part of IPhO (and generally when performing measurements) you have to estimate

More information

EE4601 Communication Systems

EE4601 Communication Systems EE4601 Communication Systems Week 2 Review of Probability, Important Distributions 0 c 2011, Georgia Institute of Technology (lect2 1) Conditional Probability Consider a sample space that consists of two

More information

Association studies and regression

Association studies and regression Association studies and regression CM226: Machine Learning for Bioinformatics. Fall 2016 Sriram Sankararaman Acknowledgments: Fei Sha, Ameet Talwalkar Association studies and regression 1 / 104 Administration

More information

Regression. Oscar García

Regression. Oscar García Regression Oscar García Regression methods are fundamental in Forest Mensuration For a more concise and general presentation, we shall first review some matrix concepts 1 Matrices An order n m matrix is

More information

Physics: Uncertainties - Student Material (AH) 1

Physics: Uncertainties - Student Material (AH) 1 UNCERTAINTIES Summary of the Basic Theory associated with Uncertainty It is important to realise that whenever a physical quantity is being measured there will always be a degree of inaccuracy associated

More information

Uncertainty and Graphical Analysis

Uncertainty and Graphical Analysis Uncertainty and Graphical Analysis Introduction Two measures of the quality of an experimental result are its accuracy and its precision. An accurate result is consistent with some ideal, true value, perhaps

More information

Data Analysis, Standard Error, and Confidence Limits E80 Spring 2015 Notes

Data Analysis, Standard Error, and Confidence Limits E80 Spring 2015 Notes Data Analysis Standard Error and Confidence Limits E80 Spring 05 otes We Believe in the Truth We frequently assume (believe) when making measurements of something (like the mass of a rocket motor) that

More information

Intermediate Lab PHYS 3870

Intermediate Lab PHYS 3870 Intermediate Lab PHYS 3870 Lecture 2 Defining Errors References: Taylor Ch. 1, 2, 3 Introduction Section 0 Lecture 1 Slide 1 Also refer to [HANDOUT] Baird Problems (Ch 5-See web site) Glossary of Important

More information

MEM 255 Introduction to Control Systems: Modeling & analyzing systems

MEM 255 Introduction to Control Systems: Modeling & analyzing systems MEM 55 Introduction to Control Systems: Modeling & analyzing systems Harry G. Kwatny Department of Mechanical Engineering & Mechanics Drexel University Outline The Pendulum Micro-machined capacitive accelerometer

More information

Random Variables. P(x) = P[X(e)] = P(e). (1)

Random Variables. P(x) = P[X(e)] = P(e). (1) Random Variables Random variable (discrete or continuous) is used to derive the output statistical properties of a system whose input is a random variable or random in nature. Definition Consider an experiment

More information

PHYS Handout 6

PHYS Handout 6 PHYS 060 Handout 6 Handout Contents Golden Equations for Lectures 8 to Answers to examples on Handout 5 Tricks of the Quantum trade (revision hints) Golden Equations (Lectures 8 to ) ψ Â φ ψ (x)âφ(x)dxn

More information

Measurement Uncertainties

Measurement Uncertainties Measurement Uncertainties Introduction We all intuitively know that no experimental measurement can be "perfect''. It is possible to make this idea quantitative. It can be stated this way: the result of

More information

Numbers and Data Analysis

Numbers and Data Analysis Numbers and Data Analysis With thanks to George Goth, Skyline College for portions of this material. Significant figures Significant figures (sig figs) are only the first approimation to uncertainty and

More information

Experiment 2 Random Error and Basic Statistics

Experiment 2 Random Error and Basic Statistics PHY191 Experiment 2: Random Error and Basic Statistics 7/12/2011 Page 1 Experiment 2 Random Error and Basic Statistics Homework 2: turn in the second week of the experiment. This is a difficult homework

More information

Data Analysis, Standard Error, and Confidence Limits E80 Spring 2012 Notes

Data Analysis, Standard Error, and Confidence Limits E80 Spring 2012 Notes Data Analysis Standard Error and Confidence Limits E80 Spring 0 otes We Believe in the Truth We frequently assume (believe) when making measurements of something (like the mass of a rocket motor) that

More information

Physics for Scientists and Engineers. Chapter 1 Concepts of Motion

Physics for Scientists and Engineers. Chapter 1 Concepts of Motion Physics for Scientists and Engineers Chapter 1 Concepts of Motion Spring, 2008 Ho Jung Paik Physics Fundamental science concerned with the basic principles of the Universe foundation of other physical

More information

LECTURE 16 GAUSS QUADRATURE In general for Newton-Cotes (equispaced interpolation points/ data points/ integration points/ nodes).

LECTURE 16 GAUSS QUADRATURE In general for Newton-Cotes (equispaced interpolation points/ data points/ integration points/ nodes). CE 025 - Lecture 6 LECTURE 6 GAUSS QUADRATURE In general for ewton-cotes (equispaced interpolation points/ data points/ integration points/ nodes). x E x S fx dx hw' o f o + w' f + + w' f + E 84 f 0 f

More information

Experiment 2. Reaction Time. Make a series of measurements of your reaction time. Use statistics to analyze your reaction time.

Experiment 2. Reaction Time. Make a series of measurements of your reaction time. Use statistics to analyze your reaction time. Experiment 2 Reaction Time 2.1 Objectives Make a series of measurements of your reaction time. Use statistics to analyze your reaction time. 2.2 Introduction The purpose of this lab is to demonstrate repeated

More information

EXPERIMENT 2 Acceleration of Gravity

EXPERIMENT 2 Acceleration of Gravity Name Date: Course number: Laboratory Section: Partners Names: Last Revised on Februrary 3, 08 Grade: EXPERIENT Acceleration of Gravity. Pre-Laboratory Work [0 pts]. You have just completed the first part

More information

Welcome to Physics 40!

Welcome to Physics 40! Welcome to Physics 40! Physics 40: Mechanics Kinematics: The physics of motion Newton s Three Laws of Motion Energy: Kinetic and Potential Linear & Angular Momentum Conservation Laws Newton s Universal

More information

Fourier and Stats / Astro Stats and Measurement : Stats Notes

Fourier and Stats / Astro Stats and Measurement : Stats Notes Fourier and Stats / Astro Stats and Measurement : Stats Notes Andy Lawrence, University of Edinburgh Autumn 2013 1 Probabilities, distributions, and errors Laplace once said Probability theory is nothing

More information

Poisson distribution and χ 2 (Chap 11-12)

Poisson distribution and χ 2 (Chap 11-12) Poisson distribution and χ 2 (Chap 11-12) Announcements: Last lecture today! Labs will continue. Homework assignment will be posted tomorrow or Thursday (I will send email) and is due Thursday, February

More information

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80

More information

Linear Regression (continued)

Linear Regression (continued) Linear Regression (continued) Professor Ameet Talwalkar Professor Ameet Talwalkar CS260 Machine Learning Algorithms February 6, 2017 1 / 39 Outline 1 Administration 2 Review of last lecture 3 Linear regression

More information

Errors. Intensive Computation. Annalisa Massini 2017/2018

Errors. Intensive Computation. Annalisa Massini 2017/2018 Errors Intensive Computation Annalisa Massini 2017/2018 Intensive Computation - 2017/2018 2 References Scientific Computing: An Introductory Survey - Chapter 1 M.T. Heath http://heath.cs.illinois.edu/scicomp/notes/index.html

More information

Strong Lens Modeling (II): Statistical Methods

Strong Lens Modeling (II): Statistical Methods Strong Lens Modeling (II): Statistical Methods Chuck Keeton Rutgers, the State University of New Jersey Probability theory multiple random variables, a and b joint distribution p(a, b) conditional distribution

More information

SAZ3C NUMERICAL AND STATISTICAL METHODS Unit : I -V

SAZ3C NUMERICAL AND STATISTICAL METHODS Unit : I -V SAZ3C NUMERICAL AND STATISTICAL METHODS Unit : I -V UNIT-I Introduction Mathematical Preliminaries Errors: Computations, Formula Errors in a Series Approximation Roots of Equations Linear Equations Bisection

More information

AIMS Exercise Set # 1

AIMS Exercise Set # 1 AIMS Exercise Set #. Determine the form of the single precision floating point arithmetic used in the computers at AIMS. What is the largest number that can be accurately represented? What is the smallest

More information

Neural Network Training

Neural Network Training Neural Network Training Sargur Srihari Topics in Network Training 0. Neural network parameters Probabilistic problem formulation Specifying the activation and error functions for Regression Binary classification

More information

Kinetic Theory 1 / Probabilities

Kinetic Theory 1 / Probabilities Kinetic Theory 1 / Probabilities 1. Motivations: statistical mechanics and fluctuations 2. Probabilities 3. Central limit theorem 1 Reading check Main concept introduced in first half of this chapter A)Temperature

More information

ECE 422/522 Power System Operations & Planning/Power Systems Analysis II : 7 - Transient Stability

ECE 422/522 Power System Operations & Planning/Power Systems Analysis II : 7 - Transient Stability ECE 4/5 Power System Operations & Planning/Power Systems Analysis II : 7 - Transient Stability Spring 014 Instructor: Kai Sun 1 Transient Stability The ability of the power system to maintain synchronism

More information

IB Physics STUDENT GUIDE 13 and Processing (DCP)

IB Physics STUDENT GUIDE 13 and Processing (DCP) IB Physics STUDENT GUIDE 13 Chapter Data collection and PROCESSING (DCP) Aspect 1 Aspect Aspect 3 Levels/marks Recording raw data Processing raw data Presenting processed data Complete/ Partial/1 Not at

More information

Introduction to Statistics and Data Analysis

Introduction to Statistics and Data Analysis Introduction to Statistics and Data Analysis RSI 2005 Staff July 15, 2005 Variation and Statistics Good experimental technique often requires repeated measurements of the same quantity These repeatedly

More information

EC212: Introduction to Econometrics Review Materials (Wooldridge, Appendix)

EC212: Introduction to Econometrics Review Materials (Wooldridge, Appendix) 1 EC212: Introduction to Econometrics Review Materials (Wooldridge, Appendix) Taisuke Otsu London School of Economics Summer 2018 A.1. Summation operator (Wooldridge, App. A.1) 2 3 Summation operator For

More information

ME EXAM #1 Tuesday, October 7, :30 7:30 pm PHYS 112 and 114

ME EXAM #1 Tuesday, October 7, :30 7:30 pm PHYS 112 and 114 ME 36500 EXAM # Tuesday, October 7, 04 6:30 7:30 pm PHYS and 4 Division: Chiu(0:30) / Shelton(:30) / Bae(:30) (circle one) HW ID: Name: Solution Instructions () This is a closed book examination, but you

More information

Uncertainty and Bias UIUC, 403 Advanced Physics Laboratory, Fall 2014

Uncertainty and Bias UIUC, 403 Advanced Physics Laboratory, Fall 2014 Uncertainty and Bias UIUC, 403 Advanced Physics Laboratory, Fall 2014 Liang Yang* There are three kinds of lies: lies, damned lies and statistics. Benjamin Disraeli If your experiment needs statistics,

More information

PHYSICS 2150 LABORATORY

PHYSICS 2150 LABORATORY PHYSICS 2150 LABORATORY Instructors: Noel Clark James G. Smith Eric D. Zimmerman Lab Coordinator: Jerry Leigh Lecture 2 January 22, 2008 PHYS2150 Lecture 2 Announcements/comments The Gaussian distribution

More information

26, 24, 26, 28, 23, 23, 25, 24, 26, 25

26, 24, 26, 28, 23, 23, 25, 24, 26, 25 The ormal Distribution Introduction Chapter 5 in the text constitutes the theoretical heart of the subject of error analysis. We start by envisioning a series of experimental measurements of a quantity.

More information

Computer Vision Group Prof. Daniel Cremers. 9. Gaussian Processes - Regression

Computer Vision Group Prof. Daniel Cremers. 9. Gaussian Processes - Regression Group Prof. Daniel Cremers 9. Gaussian Processes - Regression Repetition: Regularized Regression Before, we solved for w using the pseudoinverse. But: we can kernelize this problem as well! First step:

More information