Dependence and scatter-plots. MVE-495: Lecture 4 Correlation and Regression

Size: px
Start display at page:

Download "Dependence and scatter-plots. MVE-495: Lecture 4 Correlation and Regression"

Transcription

1 Dependence and scatter-plots MVE-495: Lecture 4 Correlation and Regression It is common for two or more quantitative variables to be measured on the same individuals. Then it is useful to consider what relationship there ma be between the variables. Scatter-plot represents one variable plotted against another. Etension of a rubber spring as a function of applied force Fuel econom (miles travelled on one gallon) as a function of speed. Data on ear 1997 for various US car models There seems to be a clear linear relationship between the variables, known as Hooke s law, although there is some non-linear dependence for small values of the force. The most economic speeds are about 50 km/h and km/h for man models.

2 Linear relations and correlation A particularl common and important relationship which ma arise between variables is when the points lie approimatel upon a straight line. A statistical tool which measures the strength of such a linear relationship is the correlation coefficient between the variables. Assuming that the variables being measured are X and Y, and that the observations are ( 1, 1 ), ( 2, 2 ),..., ( n, n ), then the sample correlation coefficient is Properties of the correlation coefficient Sample correlation coefficient r is an estimate of its theoretical counterpart, correlation coefficient ρ between random variables defined as ρ = cov(x, Y ), var X var Y r = S XY SXX S YY, where where cov(x, Y ) = E [ (X E X)(Y E Y ) ] is the covariance between X and Y. S XY = Σ i ( i )( i ȳ) = Σ i i i n ȳ S XX = Σ i ( i ) 2 = Σ i 2 i n 2 S YY = Σ i ( i ȳ) 2 = Σ i 2 i nȳ 2. Linear vs. non-linear relations Value of both r and ρ alwas lies between 1 and +1. When it is equal (close) to 1 or to +1, X and Y are (almost perfectl) linearl dependent. Hence the points in the scatter plot lie eactl on (close to) a straight line with negative or positive slope respectivel. Positive (negative) value of r means that the larger values of X tend to correspond to larger (smaller) values of Y. If the correlation coefficient is near zero, then there is no evidence of a linear relation between X and Y. There ma however still be a strong non-linear relation. The value of the correlation coefficient for the points in this scatter-plot which lie eactl on the curve = 2 is zero!

3 Linear relation and causation If r is far from zero, so there is strong evidence of a linear association, this does not impl that a change in the value of X will cause a change in the value of Y. It is etremel eas to fall into the error of believing that this does prove something of the kind, especiall if the value of Y measures some biological value (e.g., blood pressure) which treatment aims to change. There are at least two other possibilities: It is changes in the value of Y which cause changes in the value of X. Both X and Y are being controlled b some third unobserved variable (spurious correlation). Onl additional eperimental or surve work can establish such a causal link but this does not rest on correlation alone. Fitting a straight line Assuming that there is good reason to believe that X values could be used to predict Y values, the scatter-plot shows no clear evidence of a non-linear relation between X and Y, it is sensible to fit Y values to X values b means of a straight line which equation will be ŷ = a + b, Note that we are here treating X and Y asmmetricall regarding X as a predictor variable and Y as a response or outcome variable. We are in essence assuming that changes in X can be epected to cause changes in Y. The precautions noted earlier in making such assumptions must of course be observed in this case. where ŷ denotes the fitted value.

4 Residuals Having constructed our line, we shall then have two distinct points in our scatter diagram corresponding to each observation ( i, i ). The first is the observation point itself, and the second is the point ( i, ŷ i ), the fitted point on the straight line. The difference e i = i ŷ i is called the i-th residual. The usual method of fitting the straight line is the method of least squares in which the constants a and b are chosen so that S 2 = e e e2 n min It can be proved that the values i e i S 2 = = 0 i e 2 i = i e i = 6.38 S 2 = i e 2 i = b = S XY /S XX a = ȳ b minimise the sum of squares of the residuals. Regression model It can be shown that S YY = Σ i ( i ȳ) 2 = Σ i ( i ŷ i ) 2 + Σ i (ŷ i ȳ) 2 or, in other terms, SS total = SS residual + SS regression. The second term can also be written as SS regression = r 2 SS total, Therefore theoretical model of regression is i = α + β i + ε i, where the intercept α and the slope β are unknown parameters to be estimated and ε i, in the simplest case, are assumed to be independent and commonl N(0, σ 2 )-distributed with unknown σ. where r is the correlation coefficient. Thus r 2 represents the proportion of the total variation in the response values which is accounted for as being caused b variation in the X values. The first term represents the part of the variation in the responses which is presumed to be random.

5 Testing significance of linear regression Assuming the regression model above is correct, we can use it to estimate man things. Each of the estimates has an approimate normal distribution, with its own standard error, and from this we can construct as usual t-confidence intervals for the true value of the quantit being estimated. The ke question is whether the regression is significant, i.e. is the slope β is non-zero. For β we have: 1 Estimate: b = S XY /S XX ; Associated standard error s/ S XX ; Corresponding (1 α) confidence interval for β: b ± t n 2,α/2 s/ S XX. where s 2 = S 2 /(n 2) the mean sum of squares of the residuals. Thus the true value of the slope β is covered b the random interval (b t n 2,α/2 s/ S XX, b + t n 2,α/2 s/ S XX ) with probabilit 1 α. Therefore, if this interval does not contain 0, β is significantl non-zero at 100α% error level. This means that it is still possible that β = 0, but the probabilit to observe such etreme values of b is less than α. (1) Confidence intervals for linear regression Similarl, one can check various values of the other characteristics: 2 α the intercept of the regression line on the Y -ais: Estimate: a = ȳ b ; Associated standard error: s 1/n + 2 /S XX ; Corresponding (1 α) confidence interval for α: a ± t n 2,α/2 s 1/n + 2 /S XX. 3 The MEAN value of Y when X = 0 : Estimate: ŷ( 0 ) = a + b 0 ; Associated standard error: s 1/n + ( 0 ) 2 /S XX ; Corresponding (1 α) confidence interval for the mean response when X = 0 : a + b 0 ± t n 2,α/2 s 1/n + ( 0 ) 2 /S XX. 4 An INDIVIDUAL value of Y when X = 0 : Estimate: ŷ( 0 ) = a + b 0 ; Associated st. error: s 1 + 1/n + ( 0 ) 2 /S XX ; Corresponding (1 α) prediction interval: a + b 0 ± t n 2,α/2 s 1 + 1/n + ( 0 ) 2 /S XX.

6 Regression in Matlab Matlab s fitlm function fits a regression line (linear model) to the data. For the Hooke s law eample in the beginning, lm=fitlm(force,etension) plot(lm) Tping lm shows further details: Solid red is the regression line, but an straight line within the dotted curves would not contradict data at 95% confidence. Significance of coefficients The line reads that the response variable is modelled as a linear combination of a constant and one eplanator variable. Estimate gives the corresponding coefficients, so that etension is modelled as a linear function force. SE is the standard error of these coefficient estimates, i.e. s/ S XX for the gradient estimate as in Eq. (1). Residuals etension ( force) are stored in vector lm.residuals.raw and can be used to check the regression assumptions. pvalue is another machiner to check the regression significance. If this value is less than the error level ou have chosen to work with, sa 5% (equivalentl, 95% confidence), then the corresponding coefficient is significantl non-zero (with this confidence). Since < 0.05, the regression is significant at 95% confidence level. It is natural to epect that zero force implies zero etension, but substituting force=0 into the regression equation gives etension=intercept= However, the corresponding pvalue is > 0.05, thus the intercept is not significant and could be set to 0 with 5% error associated with such a decision.

Variance. Standard deviation VAR = = value. Unbiased SD = SD = 10/23/2011. Functional Connectivity Correlation and Regression.

Variance. Standard deviation VAR = = value. Unbiased SD = SD = 10/23/2011. Functional Connectivity Correlation and Regression. 10/3/011 Functional Connectivity Correlation and Regression Variance VAR = Standard deviation Standard deviation SD = Unbiased SD = 1 10/3/011 Standard error Confidence interval SE = CI = = t value for

More information

UNIT 6 DESCRIBING DATA Lesson 2: Working with Two Variables. Instruction. Guided Practice Example 1

UNIT 6 DESCRIBING DATA Lesson 2: Working with Two Variables. Instruction. Guided Practice Example 1 Guided Practice Eample 1 Andrew wants to estimate his gas mileage, or miles traveled per gallon of gas used. He records the number of gallons of gas he purchased and the total miles he traveled with that

More information

Correlation. Bret Hanlon and Bret Larget. Department of Statistics University of Wisconsin Madison. December 6, Correlation 1 / 25

Correlation. Bret Hanlon and Bret Larget. Department of Statistics University of Wisconsin Madison. December 6, Correlation 1 / 25 Correlation Bret Hanlon and Bret Larget Department of Statistics Universit of Wisconsin Madison December 6, 2 Correlation / 25 The Big Picture We have just completed a length series of lectures on ANOVA

More information

Covariance and Correlation Class 7, Jeremy Orloff and Jonathan Bloom

Covariance and Correlation Class 7, Jeremy Orloff and Jonathan Bloom 1 Learning Goals Covariance and Correlation Class 7, 18.05 Jerem Orloff and Jonathan Bloom 1. Understand the meaning of covariance and correlation. 2. Be able to compute the covariance and correlation

More information

Linear regression Class 25, Jeremy Orloff and Jonathan Bloom

Linear regression Class 25, Jeremy Orloff and Jonathan Bloom 1 Learning Goals Linear regression Class 25, 18.05 Jerem Orloff and Jonathan Bloom 1. Be able to use the method of least squares to fit a line to bivariate data. 2. Be able to give a formula for the total

More information

Topic - 12 Linear Regression and Correlation

Topic - 12 Linear Regression and Correlation Topic 1 Linear Regression and Correlation Correlation & Regression Univariate & Bivariate tatistics U: frequenc distribution, mean, mode, range, standard deviation B: correlation two variables Correlation

More information

Chapter 13 Student Lecture Notes Department of Quantitative Methods & Information Systems. Business Statistics

Chapter 13 Student Lecture Notes Department of Quantitative Methods & Information Systems. Business Statistics Chapter 13 Student Lecture Notes 13-1 Department of Quantitative Methods & Information Sstems Business Statistics Chapter 14 Introduction to Linear Regression and Correlation Analsis QMIS 0 Dr. Mohammad

More information

Chapter 12 - Part I: Correlation Analysis

Chapter 12 - Part I: Correlation Analysis ST coursework due Friday, April - Chapter - Part I: Correlation Analysis Textbook Assignment Page - # Page - #, Page - # Lab Assignment # (available on ST webpage) GOALS When you have completed this lecture,

More information

Correlation and regression. Correlation and regression analysis. Measures of association. Why bother? Positive linear relationship

Correlation and regression. Correlation and regression analysis. Measures of association. Why bother? Positive linear relationship 1 Correlation and regression analsis 12 Januar 2009 Monda, 14.00-16.00 (C1058) Frank Haege Department of Politics and Public Administration Universit of Limerick frank.haege@ul.ie www.frankhaege.eu Correlation

More information

11. Regression and Least Squares

11. Regression and Least Squares 11. Regression and Least Squares Prof. Tesler Math 186 Winter 2016 Prof. Tesler Ch. 11: Linear Regression Math 186 / Winter 2016 1 / 23 Regression Given n points ( 1, 1 ), ( 2, 2 ),..., we want to determine

More information

AMS 315/576 Lecture Notes. Chapter 11. Simple Linear Regression

AMS 315/576 Lecture Notes. Chapter 11. Simple Linear Regression AMS 315/576 Lecture Notes Chapter 11. Simple Linear Regression 11.1 Motivation A restaurant opening on a reservations-only basis would like to use the number of advance reservations x to predict the number

More information

Measuring the fit of the model - SSR

Measuring the fit of the model - SSR Measuring the fit of the model - SSR Once we ve determined our estimated regression line, we d like to know how well the model fits. How far/close are the observations to the fitted line? One way to do

More information

Inference about the Slope and Intercept

Inference about the Slope and Intercept Inference about the Slope and Intercept Recall, we have established that the least square estimates and 0 are linear combinations of the Y i s. Further, we have showed that the are unbiased and have the

More information

STATISTICAL DATA ANALYSIS IN EXCEL

STATISTICAL DATA ANALYSIS IN EXCEL Microarra Center STATISTICAL DATA ANALYSIS IN EXCEL Lecture 5 Linear Regression dr. Petr Nazarov 14-1-213 petr.nazarov@crp-sante.lu Statistical data analsis in Ecel. 5. Linear regression OUTLINE Lecture

More information

A11.1 Areas under curves

A11.1 Areas under curves Applications 11.1 Areas under curves A11.1 Areas under curves Before ou start You should be able to: calculate the value of given the value of in algebraic equations of curves calculate the area of a trapezium.

More information

MAT2377. Rafa l Kulik. Version 2015/November/26. Rafa l Kulik

MAT2377. Rafa l Kulik. Version 2015/November/26. Rafa l Kulik MAT2377 Rafa l Kulik Version 2015/November/26 Rafa l Kulik Bivariate data and scatterplot Data: Hydrocarbon level (x) and Oxygen level (y): x: 0.99, 1.02, 1.15, 1.29, 1.46, 1.36, 0.87, 1.23, 1.55, 1.40,

More information

Lecture 11: Simple Linear Regression

Lecture 11: Simple Linear Regression Lecture 11: Simple Linear Regression Readings: Sections 3.1-3.3, 11.1-11.3 Apr 17, 2009 In linear regression, we examine the association between two quantitative variables. Number of beers that you drink

More information

Correlation and simple linear regression S5

Correlation and simple linear regression S5 Basic medical statistics for clinical and eperimental research Correlation and simple linear regression S5 Katarzyna Jóźwiak k.jozwiak@nki.nl November 15, 2017 1/41 Introduction Eample: Brain size and

More information

Midterm 2 - Solutions

Midterm 2 - Solutions Ecn 102 - Analysis of Economic Data University of California - Davis February 24, 2010 Instructor: John Parman Midterm 2 - Solutions You have until 10:20am to complete this exam. Please remember to put

More information

Systems of Linear Equations: Solving by Graphing

Systems of Linear Equations: Solving by Graphing 8.1 Sstems of Linear Equations: Solving b Graphing 8.1 OBJECTIVE 1. Find the solution(s) for a set of linear equations b graphing NOTE There is no other ordered pair that satisfies both equations. From

More information

Research Design - - Topic 15a Introduction to Multivariate Analyses 2009 R.C. Gardner, Ph.D.

Research Design - - Topic 15a Introduction to Multivariate Analyses 2009 R.C. Gardner, Ph.D. Research Design - - Topic 15a Introduction to Multivariate Analses 009 R.C. Gardner, Ph.D. Major Characteristics of Multivariate Procedures Overview of Multivariate Techniques Bivariate Regression and

More information

Biostatistics in Research Practice - Regression I

Biostatistics in Research Practice - Regression I Biostatistics in Research Practice - Regression I Simon Crouch 30th Januar 2007 In scientific studies, we often wish to model the relationships between observed variables over a sample of different subjects.

More information

Linear correlation. Chapter Introduction to linear correlation

Linear correlation. Chapter Introduction to linear correlation Chapter 64 Linear 64.1 Introduction to linear Correlation is a measure of the amount of association eisting between two variables. For linear, if points are plotted on a graph and all the points lie on

More information

Chapter 11. Correlation and Regression

Chapter 11. Correlation and Regression Chapter 11 Correlation and Regression Correlation A relationship between two variables. The data can be represented b ordered pairs (, ) is the independent (or eplanator) variable is the dependent (or

More information

Regression and Correlation

Regression and Correlation Chapter 1-6 Regression and Correlation 1-6-1 Linear Regression and Correlation Analysis Not enough to know what impacts things but need to know how they impact. Correlation establishes if something impacts,

More information

Ch 2: Simple Linear Regression

Ch 2: Simple Linear Regression Ch 2: Simple Linear Regression 1. Simple Linear Regression Model A simple regression model with a single regressor x is y = β 0 + β 1 x + ɛ, where we assume that the error ɛ is independent random component

More information

CHAPTER EIGHT Linear Regression

CHAPTER EIGHT Linear Regression 7 CHAPTER EIGHT Linear Regression 8. Scatter Diagram Example 8. A chemical engineer is investigating the effect of process operating temperature ( x ) on product yield ( y ). The study results in the following

More information

RELATIONS AND FUNCTIONS through

RELATIONS AND FUNCTIONS through RELATIONS AND FUNCTIONS 11.1.2 through 11.1. Relations and Functions establish a correspondence between the input values (usuall ) and the output values (usuall ) according to the particular relation or

More information

MA123, Chapter 8: Idea of the Integral (pp , Gootman)

MA123, Chapter 8: Idea of the Integral (pp , Gootman) MA13, Chapter 8: Idea of the Integral (pp. 155-187, Gootman) Chapter Goals: Understand the relationship between the area under a curve and the definite integral. Understand the relationship between velocit

More information

Scatter plot of data from the study. Linear Regression

Scatter plot of data from the study. Linear Regression 1 2 Linear Regression Scatter plot of data from the study. Consider a study to relate birthweight to the estriol level of pregnant women. The data is below. i Weight (g / 100) i Weight (g / 100) 1 7 25

More information

Higher. Differentiation 28

Higher. Differentiation 28 Higher Mathematics UNIT OUTCOME Differentiation Contents Differentiation 8 Introduction to Differentiation 8 Finding the Derivative 9 Differentiating with Respect to Other Variables 4 Rates of Change 4

More information

( 7, 3) means x = 7 and y = 3. ( 7, 3) works in both equations so. Section 5 1: Solving a System of Linear Equations by Graphing

( 7, 3) means x = 7 and y = 3. ( 7, 3) works in both equations so. Section 5 1: Solving a System of Linear Equations by Graphing Section 5 : Solving a Sstem of Linear Equations b Graphing What is a sstem of Linear Equations? A sstem of linear equations is a list of two or more linear equations that each represents the graph of a

More information

CONTINUOUS SPATIAL DATA ANALYSIS

CONTINUOUS SPATIAL DATA ANALYSIS CONTINUOUS SPATIAL DATA ANALSIS 1. Overview of Spatial Stochastic Processes The ke difference between continuous spatial data and point patterns is that there is now assumed to be a meaningful value, s

More information

Business Statistics. Lecture 10: Correlation and Linear Regression

Business Statistics. Lecture 10: Correlation and Linear Regression Business Statistics Lecture 10: Correlation and Linear Regression Scatterplot A scatterplot shows the relationship between two quantitative variables measured on the same individuals. It displays the Form

More information

Chapter 12 - Lecture 2 Inferences about regression coefficient

Chapter 12 - Lecture 2 Inferences about regression coefficient Chapter 12 - Lecture 2 Inferences about regression coefficient April 19th, 2010 Facts about slope Test Statistic Confidence interval Hypothesis testing Test using ANOVA Table Facts about slope In previous

More information

: The model hypothesizes a relationship between the variables. The simplest probabilistic model: or.

: The model hypothesizes a relationship between the variables. The simplest probabilistic model: or. Chapter Simple Linear Regression : comparing means across groups : presenting relationships among numeric variables. Probabilistic Model : The model hypothesizes an relationship between the variables.

More information

For use after the chapter Graphing Linear Equations and Functions 3 D. 7. 4y 2 3x 5 4; (0, 1) x-intercept: 6 y-intercept: 3.

For use after the chapter Graphing Linear Equations and Functions 3 D. 7. 4y 2 3x 5 4; (0, 1) x-intercept: 6 y-intercept: 3. Chapter Test A Write the coordinates of the point.. A. B. D. C. A. D C B.... Tell whether the ordered pair is a solution of the equation.. ; (, ) 7.. ; (, ). 7. ; (, ). Draw the line that has the given

More information

TMA4255 Applied Statistics V2016 (5)

TMA4255 Applied Statistics V2016 (5) TMA4255 Applied Statistics V2016 (5) Part 2: Regression Simple linear regression [11.1-11.4] Sum of squares [11.5] Anna Marie Holand To be lectured: January 26, 2016 wiki.math.ntnu.no/tma4255/2016v/start

More information

Regression. Estimation of the linear function (straight line) describing the linear component of the joint relationship between two variables X and Y.

Regression. Estimation of the linear function (straight line) describing the linear component of the joint relationship between two variables X and Y. Regression Bivariate i linear regression: Estimation of the linear function (straight line) describing the linear component of the joint relationship between two variables and. Generally describe as a

More information

Scatter plot of data from the study. Linear Regression

Scatter plot of data from the study. Linear Regression 1 2 Linear Regression Scatter plot of data from the study. Consider a study to relate birthweight to the estriol level of pregnant women. The data is below. i Weight (g / 100) i Weight (g / 100) 1 7 25

More information

Estimating σ 2. We can do simple prediction of Y and estimation of the mean of Y at any value of X.

Estimating σ 2. We can do simple prediction of Y and estimation of the mean of Y at any value of X. Estimating σ 2 We can do simple prediction of Y and estimation of the mean of Y at any value of X. To perform inferences about our regression line, we must estimate σ 2, the variance of the error term.

More information

LINEAR REGRESSION ANALYSIS

LINEAR REGRESSION ANALYSIS LINEAR REGRESSION ANALYSIS MODULE V Lecture - 2 Correcting Model Inadequacies Through Transformation and Weighting Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technolog Kanpur

More information

Correlation and the Analysis of Variance Approach to Simple Linear Regression

Correlation and the Analysis of Variance Approach to Simple Linear Regression Correlation and the Analysis of Variance Approach to Simple Linear Regression Biometry 755 Spring 2009 Correlation and the Analysis of Variance Approach to Simple Linear Regression p. 1/35 Correlation

More information

CHAPTER 4 DESCRIPTIVE MEASURES IN REGRESSION AND CORRELATION

CHAPTER 4 DESCRIPTIVE MEASURES IN REGRESSION AND CORRELATION STP 226 ELEMENTARY STATISTICS CHAPTER 4 DESCRIPTIVE MEASURES IN REGRESSION AND CORRELATION Linear Regression and correlation allows us to examine the relationship between two or more quantitative variables.

More information

Lecture 8 CORRELATION AND LINEAR REGRESSION

Lecture 8 CORRELATION AND LINEAR REGRESSION Announcements CBA5 open in exam mode - deadline midnight Friday! Question 2 on this week s exercises is a prize question. The first good attempt handed in to me by 12 midday this Friday will merit a prize...

More information

Linear correlation. Contents. 1 Linear correlation. 1.1 Introduction. Anthony Tanbakuchi Department of Mathematics Pima Community College

Linear correlation. Contents. 1 Linear correlation. 1.1 Introduction. Anthony Tanbakuchi Department of Mathematics Pima Community College Introductor Statistics Lectures Linear correlation Testing two variables for a linear relationship Anthon Tanbakuchi Department of Mathematics Pima Communit College Redistribution of this material is prohibited

More information

f x, y x 2 y 2 2x 6y 14. Then

f x, y x 2 y 2 2x 6y 14. Then SECTION 11.7 MAXIMUM AND MINIMUM VALUES 645 absolute minimum FIGURE 1 local maimum local minimum absolute maimum Look at the hills and valles in the graph of f shown in Figure 1. There are two points a,

More information

LINEAR REGRESSION ANALYSIS. MODULE XVI Lecture Exercises

LINEAR REGRESSION ANALYSIS. MODULE XVI Lecture Exercises LINEAR REGRESSION ANALYSIS MODULE XVI Lecture - 44 Exercises Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Exercise 1 The following data has been obtained on

More information

STAT 511. Lecture : Simple linear regression Devore: Section Prof. Michael Levine. December 3, Levine STAT 511

STAT 511. Lecture : Simple linear regression Devore: Section Prof. Michael Levine. December 3, Levine STAT 511 STAT 511 Lecture : Simple linear regression Devore: Section 12.1-12.4 Prof. Michael Levine December 3, 2018 A simple linear regression investigates the relationship between the two variables that is not

More information

Mathematical Notation Math Introduction to Applied Statistics

Mathematical Notation Math Introduction to Applied Statistics Mathematical Notation Math 113 - Introduction to Applied Statistics Name : Use Word or WordPerfect to recreate the following documents. Each article is worth 10 points and can be printed and given to the

More information

Simple Linear Regression Analysis

Simple Linear Regression Analysis LINEAR REGRESSION ANALYSIS MODULE II Lecture - 6 Simple Linear Regression Analysis Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Prediction of values of study

More information

ECON2228 Notes 2. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 47

ECON2228 Notes 2. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 47 ECON2228 Notes 2 Christopher F Baum Boston College Economics 2014 2015 cfb (BC Econ) ECON2228 Notes 2 2014 2015 1 / 47 Chapter 2: The simple regression model Most of this course will be concerned with

More information

Data Analysis and Statistical Methods Statistics 651

Data Analysis and Statistical Methods Statistics 651 y 1 2 3 4 5 6 7 x Data Analysis and Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasini/teaching.html Lecture 32 Suhasini Subba Rao Previous lecture We are interested in whether a dependent

More information

16.5. Maclaurin and Taylor Series. Introduction. Prerequisites. Learning Outcomes

16.5. Maclaurin and Taylor Series. Introduction. Prerequisites. Learning Outcomes Maclaurin and Talor Series 6.5 Introduction In this Section we eamine how functions ma be epressed in terms of power series. This is an etremel useful wa of epressing a function since (as we shall see)

More information

14.2 Choosing Among Linear, Quadratic, and Exponential Models

14.2 Choosing Among Linear, Quadratic, and Exponential Models Name Class Date 14.2 Choosing Among Linear, Quadratic, and Eponential Models Essential Question: How do ou choose among, linear, quadratic, and eponential models for a given set of data? Resource Locker

More information

Consider a slender rod, fixed at one end and stretched, as illustrated in Fig ; the original position of the rod is shown dotted.

Consider a slender rod, fixed at one end and stretched, as illustrated in Fig ; the original position of the rod is shown dotted. 4.1 Strain If an object is placed on a table and then the table is moved, each material particle moves in space. The particles undergo a displacement. The particles have moved in space as a rigid bod.

More information

Answers Investigation 3

Answers Investigation 3 Answers Investigation Applications 1. a. (See Figure 1.) b. Rectangles With Area 1 in. b. Points will var. Sample: Rectangles With Area in. 1 1 Width (in.) 1 Width (in.) 1 Length (in.) c. As length increases,

More information

Simple Linear Regression

Simple Linear Regression Simple Linear Regression ST 370 Regression models are used to study the relationship of a response variable and one or more predictors. The response is also called the dependent variable, and the predictors

More information

Simple linear regression: linear relationship between two qunatitative variables. Linear Regression. The regression line

Simple linear regression: linear relationship between two qunatitative variables. Linear Regression. The regression line Linear Regression Simple linear regression: linear relationship etween two qunatitative variales The regression line Facts aout least-squares regression Residuals Influential oservations Cautions aout

More information

P.4 Lines in the Plane

P.4 Lines in the Plane 28 CHAPTER P Prerequisites P.4 Lines in the Plane What ou ll learn about Slope of a Line Point-Slope Form Equation of a Line Slope-Intercept Form Equation of a Line Graphing Linear Equations in Two Variables

More information

INF Introduction to classifiction Anne Solberg

INF Introduction to classifiction Anne Solberg INF 4300 8.09.17 Introduction to classifiction Anne Solberg anne@ifi.uio.no Introduction to classification Based on handout from Pattern Recognition b Theodoridis, available after the lecture INF 4300

More information

CHAPTER 5. Jointly Probability Mass Function for Two Discrete Distributed Random Variables:

CHAPTER 5. Jointly Probability Mass Function for Two Discrete Distributed Random Variables: CHAPTER 5 Jointl Distributed Random Variable There are some situations that experiment contains more than one variable and researcher interested in to stud joint behavior of several variables at the same

More information

LESSON #11 - FORMS OF A LINE COMMON CORE ALGEBRA II

LESSON #11 - FORMS OF A LINE COMMON CORE ALGEBRA II LESSON # - FORMS OF A LINE COMMON CORE ALGEBRA II Linear functions come in a variet of forms. The two shown below have been introduced in Common Core Algebra I and Common Core Geometr. TWO COMMON FORMS

More information

HUMBEHV 3HB3 Correlation Week 3

HUMBEHV 3HB3 Correlation Week 3 HUMBEHV 3HB3 Correlation Week 3 Prof. Patrick Bennett Correlation & Regression Over the net two weeks, we discuss two concepts that focus on the relationship between variables: correlation and regression

More information

Intro to Linear Regression

Intro to Linear Regression Intro to Linear Regression Introduction to Regression Regression is a statistical procedure for modeling the relationship among variables to predict the value of a dependent variable from one or more predictor

More information

SMAM 314 Exam 49 Name. 1.Mark the following statements true or false (10 points-2 each)

SMAM 314 Exam 49 Name. 1.Mark the following statements true or false (10 points-2 each) SMAM 314 Exam 49 Name 1.Mark the following statements true or false (10 points-2 each) _F A. When fitting a least square equation it is necessary that the observations come from a normal distribution.

More information

Wooldridge, Introductory Econometrics, 4th ed. Chapter 2: The simple regression model

Wooldridge, Introductory Econometrics, 4th ed. Chapter 2: The simple regression model Wooldridge, Introductory Econometrics, 4th ed. Chapter 2: The simple regression model Most of this course will be concerned with use of a regression model: a structure in which one or more explanatory

More information

Copyright, 2008, R.E. Kass, E.N. Brown, and U. Eden REPRODUCTION OR CIRCULATION REQUIRES PERMISSION OF THE AUTHORS

Copyright, 2008, R.E. Kass, E.N. Brown, and U. Eden REPRODUCTION OR CIRCULATION REQUIRES PERMISSION OF THE AUTHORS Copright, 8, RE Kass, EN Brown, and U Eden REPRODUCTION OR CIRCULATION REQUIRES PERMISSION OF THE AUTHORS Chapter 6 Random Vectors and Multivariate Distributions 6 Random Vectors In Section?? we etended

More information

MA123, Chapter 1: Equations, functions and graphs (pp. 1-15)

MA123, Chapter 1: Equations, functions and graphs (pp. 1-15) MA123, Chapter 1: Equations, functions and graphs (pp. 1-15) Date: Chapter Goals: Identif solutions to an equation. Solve an equation for one variable in terms of another. What is a function? Understand

More information

Intro to Linear Regression

Intro to Linear Regression Intro to Linear Regression Introduction to Regression Regression is a statistical procedure for modeling the relationship among variables to predict the value of a dependent variable from one or more predictor

More information

Econ 3790: Statistics Business and Economics. Instructor: Yogesh Uppal

Econ 3790: Statistics Business and Economics. Instructor: Yogesh Uppal Econ 3790: Statistics Business and Economics Instructor: Yogesh Uppal Email: yuppal@ysu.edu Chapter 14 Covariance and Simple Correlation Coefficient Simple Linear Regression Covariance Covariance between

More information

Section 4.1 Increasing and Decreasing Functions

Section 4.1 Increasing and Decreasing Functions Section.1 Increasing and Decreasing Functions The graph of the quadratic function f 1 is a parabola. If we imagine a particle moving along this parabola from left to right, we can see that, while the -coordinates

More information

3.7 Linear and Quadratic Models

3.7 Linear and Quadratic Models 3.7. Linear and Quadratic Models www.ck12.org 3.7 Linear and Quadratic Models Learning Objectives Identif functions using differences and ratios. Write equations for functions. Perform eponential and quadratic

More information

Inference for Regression Inference about the Regression Model and Using the Regression Line

Inference for Regression Inference about the Regression Model and Using the Regression Line Inference for Regression Inference about the Regression Model and Using the Regression Line PBS Chapter 10.1 and 10.2 2009 W.H. Freeman and Company Objectives (PBS Chapter 10.1 and 10.2) Inference about

More information

Regression and correlation. Correlation & Regression, I. Regression & correlation. Regression vs. correlation. Involve bivariate, paired data, X & Y

Regression and correlation. Correlation & Regression, I. Regression & correlation. Regression vs. correlation. Involve bivariate, paired data, X & Y Regression and correlation Correlation & Regression, I 9.07 4/1/004 Involve bivariate, paired data, X & Y Height & weight measured for the same individual IQ & exam scores for each individual Height of

More information

Chapte The McGraw-Hill Companies, Inc. All rights reserved.

Chapte The McGraw-Hill Companies, Inc. All rights reserved. 12er12 Chapte Bivariate i Regression (Part 1) Bivariate Regression Visual Displays Begin the analysis of bivariate data (i.e., two variables) with a scatter plot. A scatter plot - displays each observed

More information

12.1 Systems of Linear equations: Substitution and Elimination

12.1 Systems of Linear equations: Substitution and Elimination . Sstems of Linear equations: Substitution and Elimination Sstems of two linear equations in two variables A sstem of equations is a collection of two or more equations. A solution of a sstem in two variables

More information

Correlation. Relationship between two variables in a scatterplot. As the x values go up, the y values go down.

Correlation. Relationship between two variables in a scatterplot. As the x values go up, the y values go down. Correlation Relationship between two variables in a scatterplot. As the x values go up, the y values go up. As the x values go up, the y values go down. There is no relationship between the x and y values

More information

Statistical Techniques II EXST7015 Simple Linear Regression

Statistical Techniques II EXST7015 Simple Linear Regression Statistical Techniques II EXST7015 Simple Linear Regression 03a_SLR 1 Y - the dependent variable 35 30 25 The objective Given points plotted on two coordinates, Y and X, find the best line to fit the data.

More information

Historical Note. Regression. Line of Best Fit

Historical Note. Regression. Line of Best Fit 11 4 Regression Objective 4. Compute the equation of the regression line. In studing relationships between two variables, collect the data and then construct a scatter plot. The purpose of the scatter

More information

Midterm 2 - Solutions

Midterm 2 - Solutions Ecn 102 - Analysis of Economic Data University of California - Davis February 23, 2010 Instructor: John Parman Midterm 2 - Solutions You have until 10:20am to complete this exam. Please remember to put

More information

Business Statistics. Chapter 14 Introduction to Linear Regression and Correlation Analysis QMIS 220. Dr. Mohammad Zainal

Business Statistics. Chapter 14 Introduction to Linear Regression and Correlation Analysis QMIS 220. Dr. Mohammad Zainal Department of Quantitative Methods & Information Systems Business Statistics Chapter 14 Introduction to Linear Regression and Correlation Analysis QMIS 220 Dr. Mohammad Zainal Chapter Goals After completing

More information

The Sigmoidal Approximation of Łukasiewicz Operators

The Sigmoidal Approximation of Łukasiewicz Operators The Sigmoidal Approimation of Łukasiewicz Operators József Dombi, Zsolt Gera Universit of Szeged, Institute of Informatics e-mail: {dombi gera}@inf.u-szeged.hu Abstract: In this paper we propose an approimation

More information

Determination of Young s modulus of glass by Cornu s apparatus

Determination of Young s modulus of glass by Cornu s apparatus Determination of Young s modulus of glass b Cornu s apparatus Objective To determine Young s modulus and Poisson s ratio of a glass plate using Cornu s method. Theoretical Background Young s modulus, also

More information

Categorical Predictor Variables

Categorical Predictor Variables Categorical Predictor Variables We often wish to use categorical (or qualitative) variables as covariates in a regression model. For binary variables (taking on only 2 values, e.g. sex), it is relatively

More information

Data transformation. Core: Data analysis. Chapter 5

Data transformation. Core: Data analysis. Chapter 5 Chapter 5 5 Core: Data analsis Data transformation ISBN 978--7-56757-3 Jones et al. 6 66 Core Chapter 5 Data transformation 5A Introduction You first encountered data transformation in Chapter where ou

More information

5.6 RATIOnAl FUnCTIOnS. Using Arrow notation. learning ObjeCTIveS

5.6 RATIOnAl FUnCTIOnS. Using Arrow notation. learning ObjeCTIveS CHAPTER PolNomiAl ANd rational functions learning ObjeCTIveS In this section, ou will: Use arrow notation. Solve applied problems involving rational functions. Find the domains of rational functions. Identif

More information

LESSON #12 - FORMS OF A LINE COMMON CORE ALGEBRA II

LESSON #12 - FORMS OF A LINE COMMON CORE ALGEBRA II LESSON # - FORMS OF A LINE COMMON CORE ALGEBRA II Linear functions come in a variet of forms. The two shown below have been introduced in Common Core Algebra I and Common Core Geometr. TWO COMMON FORMS

More information

Machine Learning. Module 3-4: Regression and Survival Analysis Day 2, Asst. Prof. Dr. Santitham Prom-on

Machine Learning. Module 3-4: Regression and Survival Analysis Day 2, Asst. Prof. Dr. Santitham Prom-on Machine Learning Module 3-4: Regression and Survival Analysis Day 2, 9.00 16.00 Asst. Prof. Dr. Santitham Prom-on Department of Computer Engineering, Faculty of Engineering King Mongkut s University of

More information

2-3. Linear Regression and Correlation. Vocabulary

2-3. Linear Regression and Correlation. Vocabulary Chapter 2 Lesson 2-3 Linear Regression and Correlation BIG IDEA The regression line is the line of best fi t to data. The correlation coeffi cient measures the strength and direction of a linear pattern

More information

LESSON #48 - INTEGER EXPONENTS COMMON CORE ALGEBRA II

LESSON #48 - INTEGER EXPONENTS COMMON CORE ALGEBRA II LESSON #8 - INTEGER EXPONENTS COMMON CORE ALGEBRA II We just finished our review of linear functions. Linear functions are those that grow b equal differences for equal intervals. In this unit we will

More information

Linear Regression. Simple linear regression model determines the relationship between one dependent variable (y) and one independent variable (x).

Linear Regression. Simple linear regression model determines the relationship between one dependent variable (y) and one independent variable (x). Linear Regression Simple linear regression model determines the relationship between one dependent variable (y) and one independent variable (x). A dependent variable is a random variable whose variation

More information

Summary EXPLANATION AND EXAMPLES CHECKING BASIC CONCEPTS FOR SECTION 2.5. ƒ 2x - 1 ƒ 5. CHAPTER 2 Summary 157

Summary EXPLANATION AND EXAMPLES CHECKING BASIC CONCEPTS FOR SECTION 2.5. ƒ 2x - 1 ƒ 5. CHAPTER 2 Summary 157 6360_ch0pp076-68.qd 0/6/08 4:3 PM Page 57 CHAPTER Summar 57 CHECKING BASIC CONCEPTS FOR SECTION.5. Rewrite 4 b using an absolute value.. Graph = ƒ 3 - ƒ b hand. 3. (a) Solve the equation ƒ - ƒ = 5. (b)

More information

Correlation & Regression. Dr. Moataza Mahmoud Abdel Wahab Lecturer of Biostatistics High Institute of Public Health University of Alexandria

Correlation & Regression. Dr. Moataza Mahmoud Abdel Wahab Lecturer of Biostatistics High Institute of Public Health University of Alexandria بسم الرحمن الرحيم Correlation & Regression Dr. Moataza Mahmoud Abdel Wahab Lecturer of Biostatistics High Institute of Public Health University of Alexandria Correlation Finding the relationship between

More information

EDEXCEL ANALYTICAL METHODS FOR ENGINEERS H1 UNIT 2 - NQF LEVEL 4 OUTCOME 4 - STATISTICS AND PROBABILITY TUTORIAL 3 LINEAR REGRESSION

EDEXCEL ANALYTICAL METHODS FOR ENGINEERS H1 UNIT 2 - NQF LEVEL 4 OUTCOME 4 - STATISTICS AND PROBABILITY TUTORIAL 3 LINEAR REGRESSION EDEXCEL AALYTICAL METHODS FOR EGIEERS H1 UIT - QF LEVEL 4 OUTCOME 4 - STATISTICS AD PROBABILITY TUTORIAL 3 LIEAR REGRESSIO Tabular and graphical form: data collection methods; histograms; bar charts; line

More information

Testing Bridge Thickness

Testing Bridge Thickness . Testing Bridge Thickness Goals Make tables and graphs to represent data Describe relationships between variables Use data patterns to make predictions In their previous work in Variables and Patterns

More information

H.Algebra 2 Summer Review Packet

H.Algebra 2 Summer Review Packet H.Algebra Summer Review Packet 1 Correlation of Algebra Summer Packet with Algebra 1 Objectives A. Simplifing Polnomial Epressions Objectives: The student will be able to: Use the commutative, associative,

More information

LESSON 4.3 GRAPHING INEQUALITIES

LESSON 4.3 GRAPHING INEQUALITIES LESSON.3 GRAPHING INEQUALITIES LESSON.3 GRAPHING INEQUALITIES 9 OVERVIEW Here s what ou ll learn in this lesson: Linear Inequalities a. Ordered pairs as solutions of linear inequalities b. Graphing linear

More information

Relationships between variables. Association Examples: Smoking is associated with heart disease. Weight is associated with height.

Relationships between variables. Association Examples: Smoking is associated with heart disease. Weight is associated with height. Relationships between variables. Association Examples: Smoking is associated with heart disease. Weight is associated with height. Income is associated with education. Functional relationships between

More information

Algebra 2 Chapter 2 Page 1

Algebra 2 Chapter 2 Page 1 Mileage (MPGs) Section. Relations and Functions. To graph a relation, state the domain and range, and determine if the relation is a function.. To find the values of a function for the given element of

More information