Error Analysis, Statistics, Graphing and Excel Necessary skills for Chem V01BL.

Slides:



Advertisements
Similar presentations
Lesson 10: Linear Regression and Correlation
Advertisements

Kin 304 Regression Linear Regression Least Sum of Squares
Welcome to PHYS 225a Lab Introduction, class rules, error analysis Julia Velkovska.
Correlation and regression
Chapter 7 Statistical Data Treatment and Evaluation
Inference for Regression
Regression Analysis Once a linear relationship is defined, the independent variable can be used to forecast the dependent variable. Y ^ = bo + bX bo is.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Chapter 10 Regression. Defining Regression Simple linear regression features one independent variable and one dependent variable, as in correlation the.
Regression Analysis Using Excel. Econometrics Econometrics is simply the statistical analysis of economic phenomena Here, we just summarize some of the.
Regression Regression: Mathematical method for determining the best equation that reproduces a data set Linear Regression: Regression method applied with.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
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.
Lecture 4: Correlation and Regression Laura McAvinue School of Psychology Trinity College Dublin.
SIMPLE LINEAR REGRESSION
Chapter Topics Types of Regression Models
Lecture 16 – Thurs, Oct. 30 Inference for Regression (Sections ): –Hypothesis Tests and Confidence Intervals for Intercept and Slope –Confidence.
Simple Linear Regression Analysis
Statistical Treatment of Data Significant Figures : number of digits know with certainty + the first in doubt. Rounding off: use the same number of significant.
1 c. The t Test with Multiple Samples Till now we have considered replicate measurements of the same sample. When multiple samples are present, an average.
Inference for regression - Simple linear regression
IB Chemistry Chapter 11, Measurement & Data Processing Mr. Pruett
1 Least squares procedure Inference for least squares lines Simple Linear Regression.
Ch4 Describing Relationships Between Variables. Pressure.
Basic Probability (Chapter 2, W.J.Decoursey, 2003) Objectives: -Define probability and its relationship to relative frequency of an event. -Learn the basic.
Ch4 Describing Relationships Between Variables. Section 4.1: Fitting a Line by Least Squares Often we want to fit a straight line to data. For example.
Statistical Methods Statistical Methods Descriptive Inferential
Direct Relationships. Relationships When a certain quantity (say temperature) has an effect on another quantity (say the volume of a gas), there is a.
Linear Regression Handbook Chapter. Experimental Testing Data are collected, in scientific experiments, to test the relationship between various measurable.
Uncertainty & Error “Science is what we have learned about how to keep from fooling ourselves.” ― Richard P. FeynmanRichard P. Feynman.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Chapter 4 Linear Regression 1. Introduction Managerial decisions are often based on the relationship between two or more variables. For example, after.
Lesson Multiple Regression Models. Objectives Obtain the correlation matrix Use technology to find a multiple regression equation Interpret the.
10B11PD311 Economics REGRESSION ANALYSIS. 10B11PD311 Economics Regression Techniques and Demand Estimation Some important questions before a firm are.
CHEMISTRY ANALYTICAL CHEMISTRY Fall Lecture 6.
Curve Fitting Pertemuan 10 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Regression Analysis Deterministic model No chance of an error in calculating y for a given x Probabilistic model chance of an error First order linear.
V. Rouillard  Introduction to measurement and statistical analysis CURVE FITTING In graphical form, drawing a line (curve) of best fit through.
Error Analysis, Statistics, Graphing and Excel Necessary skills for Chem V01BL.
Quantitative Methods. Bivariate Regression (OLS) We’ll start with OLS regression. Stands for  Ordinary Least Squares Regression. Relatively basic multivariate.
PreCalculus 1-7 Linear Models. Our goal is to create a scatter plot to look for a mathematical correlation to this data.
Week 2 Normal Distributions, Scatter Plots, Regression and Random.
Bivariate Regression. Bivariate Regression analyzes the relationship between two variables. Bivariate Regression analyzes the relationship between two.
Chapter 13 Linear Regression and Correlation. Our Objectives  Draw a scatter diagram.  Understand and interpret the terms dependent and independent.
Regression and Correlation of Data Summary
CHAPTER 3 Describing Relationships
Regression Analysis AGEC 784.
Correlation & Regression
Have you got your workbook with you
AP Statistics Chapter 14 Section 1.
Correlation and Simple Linear Regression
Kin 304 Regression Linear Regression Least Sum of Squares
Inference for Regression
Introduction, class rules, error analysis Julia Velkovska
BPK 304W Regression Linear Regression Least Sum of Squares
POSC 202A: Lecture Lecture: Substantive Significance, Relationship between Variables 1.
BPK 304W Correlation.
Correlation and Simple Linear Regression
CHAPTER 29: Multiple Regression*
Comparing k Populations
Multiple Regression Models
Correlation and Simple Linear Regression
Statistical Inference about Regression
BA 275 Quantitative Business Methods
Correlation and Regression
Simple Linear Regression and Correlation
Error Analysis, Statistics, Graphing and Excel
Multivariate Analysis Regression
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Presentation transcript:

Error Analysis, Statistics, Graphing and Excel Necessary skills for Chem V01BL

Error Analysis Percent Error Good way to determine how good your experimental design/technique is, is by calculating the percent error Requires you measure some observable for which there is an accepted “true” value Accuracy: the % error measures closeness of agreement between a measured and true value. Accuracy is a measure of systematic errors (biases)

Error Analysis Mean Value In experiments random errors exist. When measuring some observable to assess these random errors we repeat measurements in independent trials We report the mean value We generally then report the % error for the mean value

Error Analysis Standard Deviation It is important to measure how large the random errors are in an experiment We measure this using the standard deviation σ This normally requires at least 6 independent trials Can be evaluated for a column of data in Excel with the =STDEV(A1:A10) type syntax σ is a measure of precision. The smaller σ is, the more precise the measurement was.

Error Analysis Standard Deviation Continued In particle physics they use the standard of 5σ for the declaration of a discovery At this level there is only a chance of 1 in 2,000,000 that the value was arrived at was a random fluctuation about the true value

Error Analysis Standard Deviation Continued

Error Analysis Rejecting Outliers: Q Test In our experiments we often won’t have enough time to take at least 6 independent trials The Q test is a way of deciding if any given trial is an outlier The Q test tells us with 90%, 95% or 99% confidence that a trial point is in error and can be thrown out If so the average and standard deviation can be recalculated without that point

Error Analysis Q Test If Q > Q x% then the point is rejected at the x% confidence level N: Q 90% : Q 95% : Q 99% :

Error Analysis Q Test With the data as it stands the average is 0.255±0.057 Q 90% = 0.642, Q 95% = 0.710, and Q 99% = If Q > Q x% then the point is rejected at the x% confidence level Here are Q = 0.8 which means it can be rejected at both the 90% and 95% level but not at the 99% level If we reject it the average becomes 0.230±0.031 Nxd^2xgapQ E av0.2546sum d^ range0.135 σ0.0565

Graphing and Excel Graphing is a widely used technique for determining mathematical relationships (correlations) between a dependent and independent variable To determine if two variables are correlated can be measured by calculating the coefficient of determination R 2 Here y(xi) is the value of the independent value for the dependent value and f(x i ) is the function attempting model y=f(x i ) As we shall see if R 2 >0.99 data fits the model We will routinely use Excel to plot two variables which are linearly correlated and use Excel to determine the equation for the line The slope of that line, and the intercept will both correspond to scientific observables that are of considerable value to us

Graphing and Excel Correlated data: ideal gas law Find the relationship between the volume of 1 mole of O 2 and its temperature at 1 atmosphere The equation for the straight line where y = V and x = T gives The R 2 =1 means there is a perfect linear correlation between T and V V(L)T( o C)

Graphing and Excel Correlated data: ideal gas law Find the relationship between the volume of 1 mole of O 2 and its Pressure at 273K. P is the independent variable (x) and Volume the dependent variable (y) P(torr)V(mL) Black line is a linear trendline y = mx + b Orange line is a power trendline y = mx b

Graphing and Excel Correlated data: ideal gas law Find the relationship between the volume of 1 mole of O 2 and its Pressure at 273K. P is the independent variable (x) and Volume the dependent variable (y) When we plot P vs 1/V R 2 = , when we plot P vs V R 2 = So P(torr)1/V(mL)

Graphing and Excel Uncorrelated data House value versus Street Address

Graphing and Excel Often data from a trendline fit is used to obtain certain observables. With any experimentally measured quantity we need to estimate the random error In kinetics σ Ea and σ ln(A) are needed! can be calculated with LINEST function in Excel

Summary using LINEST In a free cell type =LINEST(Yvalues,Xvalues,TRUE,TRUE) enter Select 2 columns x 5 rows with the cell which you types LINEST in being the top left In the formula window hit Command Enter on a mac In the formula window hit Control Shift Enter on windows Slope intercept σ slope σ intercept R 2 s(y) s(y) error bar in y F degrees freedom (terms calculating R) σ reg σ residual (terms calculating R)

Tonight Answer the problem set on pages Each student must individually make a graphs of V vs T, V vs P, 1/V vs P. Each graph curve should be fitted using a linear trendline where the equation and R 2 value is shown. Use the graphing procedure given on page 9 For question 4 calculate the standard deviations for the slope and the intercept and attempt to put error bars using dy