ANALYTICAL CHEMISTRY ERT 207

Slides:



Advertisements
Similar presentations
Chapter 12 Simple Linear Regression
Advertisements

Chap 12-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 12 Simple Regression Statistics for Business and Economics 6.
Forecasting Using the Simple Linear Regression Model and Correlation
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Learning Objectives Copyright © 2004 John Wiley & Sons, Inc. Bivariate Correlation and Regression CHAPTER Thirteen.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Learning Objectives 1 Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Definition  Regression Model  Regression Equation Y i =  0 +  1 X i ^ Given a collection of paired data, the regression equation algebraically describes.
Introduction to Regression Analysis
Chapter 14 Introduction to Linear Regression and Correlation Analysis
Chapter 12 Simple Regression
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 13-1 Chapter 13 Simple Linear Regression Basic Business Statistics 11 th Edition.
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Chapter 12a Simple Linear Regression
The Simple Regression Model
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
1 Pertemuan 13 Uji Koefisien Korelasi dan Regresi Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
Pengujian Parameter Koefisien Korelasi Pertemuan 04 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Chapter Topics Types of Regression Models
Linear Regression and Correlation Analysis
1 Simple Linear Regression Chapter Introduction In this chapter we examine the relationship among interval variables via a mathematical equation.
Chapter 13 Introduction to Linear Regression and Correlation Analysis
SIMPLE LINEAR REGRESSION
Korelasi dalam Regresi Linear Sederhana Pertemuan 03 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
Pertemua 19 Regresi Linier
Chapter 14 Introduction to Linear Regression and Correlation Analysis
Correlation and Regression Analysis
Chapter 7 Forecasting with Simple Regression
Introduction to Regression Analysis, Chapter 13,
Simple Linear Regression
Linear Regression Analysis
Lecture 15 Basics of Regression Analysis
Regression and Correlation Methods Judy Zhong Ph.D.
SIMPLE LINEAR REGRESSION
Introduction to Linear Regression and Correlation Analysis
MAT 254 – Probability and Statistics Sections 1,2 & Spring.
Statistics for Business and Economics 7 th Edition Chapter 11 Simple Regression Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch.
© 2003 Prentice-Hall, Inc.Chap 13-1 Basic Business Statistics (9 th Edition) Chapter 13 Simple Linear Regression.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 12-1 Correlation and Regression.
Introduction to Linear Regression
Chap 12-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 12 Introduction to Linear.
Linear Regression and Correlation Analysis. Regression Analysis Regression Analysis attempts to determine the strength of the relationship between one.
Applied Quantitative Analysis and Practices LECTURE#22 By Dr. Osman Sadiq Paracha.
EQT 373 Chapter 3 Simple Linear Regression. EQT 373 Learning Objectives In this chapter, you learn: How to use regression analysis to predict the value.
Applied Quantitative Analysis and Practices LECTURE#23 By Dr. Osman Sadiq Paracha.
Correlation Correlation is used to measure strength of the relationship between two variables.
Introduction to Correlation Analysis. Objectives Correlation Types of Correlation Karl Pearson’s coefficient of correlation Correlation in case of bivariate.
CORRELATION: Correlation analysis Correlation analysis is used to measure the strength of association (linear relationship) between two quantitative variables.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Lecture 10: Correlation and Regression Model.
Chapter Thirteen Copyright © 2006 John Wiley & Sons, Inc. Bivariate Correlation and Regression.
Correlation Coefficient -used as a measure of correlation between 2 variables -the closer observed values are to the most probable values, the more definite.
1 Virtual COMSATS Inferential Statistics Lecture-25 Ossam Chohan Assistant Professor CIIT Abbottabad.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
Statistics for Managers Using Microsoft® Excel 5th Edition
Lecture 10 Introduction to Linear Regression and Correlation Analysis.
BUSINESS MATHEMATICS & STATISTICS. Module 6 Correlation ( Lecture 28-29) Line Fitting ( Lectures 30-31) Time Series and Exponential Smoothing ( Lectures.
Bivariate Regression. Bivariate Regression analyzes the relationship between two variables. Bivariate Regression analyzes the relationship between two.
Chapter 13 Simple Linear Regression
Statistics for Managers using Microsoft Excel 3rd Edition
Linear Regression and Correlation Analysis
Simple Linear Regression
Correlation and Regression
Introduction to Regression
Presentation transcript:

ANALYTICAL CHEMISTRY ERT 207 Lecture 5 Coefficient correlation Coefficient determination Calibration curve (slope & intercept)

Mid-term preparation Wednesday 6 November, 9am BASIC STATISTICS Define accuracy and precision, remember ways of describing accuracy and precision, types of errors, understand the concept of significant figures, standard deviation. UTILIZATION OF STATISTICS IN DATA ANALYSIS Identify the significant testing. Calculate the T test and Q test.

Scatter Plots and Correlation A scatter plot (or scatter diagram) is used to show the relationship between two variables Correlation analysis is used to measure strength of the association (linear relationship) between two variables Only concerned with strength of the relationship No causal effect is implied

Scatter Plot Examples Linear relationships Curvilinear relationships y

Scatter Plot Examples Strong relationships Weak relationships y y x x

Scatter Plot Examples No relationship y x y x

Correlation Coefficient The population correlation coefficient ρ (rho) measures the strength of the association between the variables The sample correlation coefficient r is an estimate of ρ and is used to measure the strength of the linear relationship in the sample observations

Features of ρ and r Unit free Range between -1 and 1 The closer to -1, the stronger the negative linear relationship The closer to 1, the stronger the positive linear relationship The closer to 0, the weaker the linear relationship

Examples of Approximate r Values y y y x x x r = -1 r = -.6 r = 0 y y x x r = +.3 r = +1

Calculating the Correlation Coefficient Sample correlation coefficient: or the algebraic equivalent: where: r = Sample correlation coefficient n = Sample size x = Value of the independent variable y = Value of the dependent variable

Example: You are developing a new analytical method for the determination of blood urea nitrogen (BUN). You want to determine whether your method differs significantly from a standard one for analyzing a range sample concentrations expected to be found in the routine laboratory. It has been ascertained that the two methods have comparable precisions. Following are two sets of the results for a number of individual samples:

Sample Your Method (mg/dL) ,x Standard Method (mg/dL) ,y A 10.2 10.5 B 12.7 11.9 C 8.6 8.7 D 7.5 16.9 E 11.2 10.9 F 11.5 11.1

Coefficient of Determination, R2 The coefficient of determination is the portion of the total variation in the dependent variable that is explained by variation in the independent variable The coefficient of determination is also called R-squared and is denoted as R2 where

Coefficient of Determination, R2 Note: In the single independent variable case, the coefficient of determination is where: R2 = Coefficient of determination r = Simple correlation coefficient

Total variation is made up of two parts: Total sum of Squares Sum of Squares Error Sum of Squares Regression where: = Average value of the dependent variable y = Observed values of the dependent variable = Estimated value of y for the given x value

SST = total sum of squares Measures the variation of the yi values around their mean y SSE = error sum of squares Variation attributable to factors other than the relationship between x and y SSR = regression sum of squares Explained variation attributable to the relationship between x and y

Explained and Unexplained Variation y yi   y SSE = (yi - yi )2 _ SST = (yi - y)2  _ y  SSR = (yi - y)2 _ _ y y x Xi

Examples of Approximate R2 Values y R2 = 1 Perfect linear relationship between x and y: 100% of the variation in y is explained by variation in x x R2 = 1 y x R2 = +1

Examples of Approximate R2 Values y 0 < R2 < 1 Weaker linear relationship between x and y: Some but not all of the variation in y is explained by variation in x x y x

Examples of Approximate R2 Values y No linear relationship between x and y: The value of Y does not depend on x. (None of the variation in y is explained by variation in x) x R2 = 0

Introduction to Regression Analysis Regression analysis is used to: Predict the value of a dependent variable based on the value of at least one independent variable Explain the impact of changes in an independent variable on the dependent variable Dependent variable: the variable we wish to explain Independent variable: the variable used to explain the dependent variable

Simple Linear Regression Model Only one independent variable, x Relationship between x and y is described by a linear function Changes in y are assumed to be caused by changes in x

Types of Regression Models Positive Linear Relationship Relationship NOT Linear Negative Linear Relationship No Relationship

Method of Least Squares Find “best” line by minimizing vertical deviation between the points and the line. Chemistry 215 Copyright D Sharma

Calculating the Residual

Linear Regression Fitting a straight line to observations Small residual errors Large residual error Error = (Actual value) – (Predicted value)

Least Squares Parameters SLOPE INTERCEPT

Calibration Curves A calibration curve shows the response of an analytical method to known quantities of analyte. For example, a spectroscopic analysis of a protein sample… Necessary solutions: Standard solutions Blank solution Sample solution(s) Protein from the cancer-causing oncogene called ras (Credit: Sung-Hou Kim/UC Berkeley)

Constructing a Calibration Curve Spectroscopic analysis of a protein sample…

Constructing a Calibration Curve Spectroscopic analysis of a protein sample…cont. Determination of an unknown value (x) based on its response (y) Equation of linear response y = m  (x) + b Abs = m  (µg protein) + b y = 0.0163 (x) +0.004 …where y is the corrected abs. Determine the unknown concentration based on its absorbance

Tips for Calibrating Instruments Know the limitations of your instrument Limits of detection (or LOD) Range of linearity Watch-out for interferences Overlapping spectral responses (e.g., from impurities) Unwanted sample precipitation Use serial dilutions where possible Less error than preparing individual samples

Serial Dilution (A Review)

Using spreadsheet for plotting calibration curves Some useful statistical syntaxes: AVERAGE = mean of series of number MEDIAN = median of series of number STDEV = standard deviation VAR = variance RSQ = R- squared

Fluoresence intensity Riboflavin (ppm) Fluoresence intensity 0.000 0.00 0.100 5.80 0.200 12.20 0.400 22.30 0.800 43.30

Slope, intercept and coefficient determination We can use the Excel statistical functions to calculate the slope and intercept for a series of data , and the R2 value without a plot Open a new spreadsheet and enter the calibration data from the previous example. In cell A9 type INTERCEPT, cell A10, SLOPE AND cell A11, R-Squared. Highlight cell B9 Click on fx: Statistical And scroll down to INTERCEPT and click OK

For known_x’s, enter the array A3:A7 and for known_y’s, enter B3:B7, then click OK. The INTERCEPT is displayed in cell B9. Now repeat , highlighting cell B10, scrolling to SLOPE , and entering the same arrays. The Slope appears in cell B10. Followed the same way for R-squared.

Exercise The following data were obtained to get a calibration curve for the determination of Zn in the wastewater by using atomic absorption spectrometry (AAS). Using calculator or computer, plot the data and find the best straight line equation and correlation determination.

Zn concentration (ppm) Absorbance 2 0.095 4 0.194 6 0.290 8 0.390 10 0.466

Solution: The equation of the straight line is: Y =0.047X + 0.002 Correlation determination (R2) = 0.998