Single Regression Equation

Slides:



Advertisements
Similar presentations
Managerial Economics in a Global Economy
Advertisements

Lesson 10: Linear Regression and Correlation
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
1 Simple Linear Regression and Correlation The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES Assessing the model –T-tests –R-square.
9. SIMPLE LINEAR REGESSION AND CORRELATION
SIMPLE LINEAR REGRESSION
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 11 Notes Class notes for ISE 201 San Jose State University.
SIMPLE LINEAR REGRESSION
REGRESSION Predict future scores on Y based on measured scores on X Predictions are based on a correlation from a sample where both X and Y were measured.
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Linear Regression and Linear Prediction Predicting the score on one variable.
1 Chapter 17: Introduction to Regression. 2 Introduction to Linear Regression The Pearson correlation measures the degree to which a set of data points.
Correlation and Regression Analysis
Linear Regression.  Uses correlations  Predicts value of one variable from the value of another  ***computes UKNOWN outcomes from present, known outcomes.
Regression Analysis British Biometrician Sir Francis Galton was the one who used the term Regression in the later part of 19 century.
Lecture 5 Correlation and Regression
Matrices and Systems Engineering Frank Lipsky copyrighted.
SIMPLE LINEAR REGRESSION
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Relationship of two variables
Chapter 14 – Correlation and Simple Regression Math 22 Introductory Statistics.
Chapter 6 & 7 Linear Regression & Correlation
Correlation is a statistical technique that describes the degree of relationship between two variables when you have bivariate data. A bivariate distribution.
1 Dr. Jerrell T. Stracener EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers Department of Engineering Management, Information.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
MTH 161: Introduction To Statistics
Linear Regression Handbook Chapter. Experimental Testing Data are collected, in scientific experiments, to test the relationship between various measurable.
Linear Regression Model In regression, x = independent (predictor) variable y= dependent (response) variable regression line (prediction line) ŷ = a +
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
CORRELATION. Correlation key concepts: Types of correlation Methods of studying correlation a) Scatter diagram b) Karl pearson’s coefficient of correlation.
1 Regression & Correlation (1) 1.A relationship between 2 variables X and Y 2.The relationship seen as a straight line 3.Two problems 4.How can we tell.
Correlation and Regression: The Need to Knows Correlation is a statistical technique: tells you if scores on variable X are related to scores on variable.
CHAPTER 5 CORRELATION & LINEAR REGRESSION. GOAL : Understand and interpret the terms dependent variable and independent variable. Draw a scatter diagram.
Economics 173 Business Statistics Lecture 10 Fall, 2001 Professor J. Petry
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
LOOKING FOR PATTERNS BETWEEN VARIABLES WHY DO SCIENTISTS COLLECT DATA, GRAPH IT AND WRITE EQUATIONS TO EXPRESS RELATIONSHIPS BETWEEN VARIABLES ?
Linear Regression Essentials Line Basics y = mx + b vs. Definitions
CHAPTER 10 & 13 Correlation and Regression
Part 5 - Chapter
Practice. Practice Practice Practice Practice r = X = 20 X2 = 120 Y = 19 Y2 = 123 XY = 72 N = 4 (4) 72.
REGRESSION ANALYSIS Definition:
A Session On Regression Analysis
Multiple Regression.
Introduction to Statistics for the Social Sciences SBS200 - Lecture Section 001, Spring 2017 Room 150 Harvill Building 9:00 - 9:50 Mondays, Wednesdays.
Understanding Standards Event Higher Statistics Award
The Least-Squares Regression Line
Quantitative Methods Simple Regression.
2.1 Equations of Lines Write the point-slope and slope-intercept forms
CHAPTER 10 Correlation and Regression (Objectives)
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Section 11.1: Least squares estimation CIS Computational.
CORRELATION.
Correlation and Regression
REGRESSION.
Solve Systems of Equations
3.1 Reading Graphs; Linear Equations in Two Variables
SIMPLE LINEAR REGRESSION
Correlation and Regression
Karl’s Pearson Correlation
SIMPLE LINEAR REGRESSION
Regression & Prediction
Chapter Thirteen McGraw-Hill/Irwin
3 basic analytical tasks in bivariate (or multivariate) analyses:
Chapter 14 Multiple Regression
REGRESSION ANALYSIS 11/28/2019.
Presentation transcript:

Single Regression Equation Dr. Anshul Singh Thapa

Regression Analysis It is clear from the definition of regression equation that it is a statistical device with the help of which we are in position to estimate (or predict) the unknown values of one variable (Y) from known values of another variable (X). The analysis used is called the simple liner regression analysis – simple because there is only one predictor or independent variable, and linear because of the assumed linear relationship between the dependent and dependent variable. The term linear means that an equation of a straight line of the form Y = a + b X, where ‘a’ and ‘b’ are constant, is used to describe the average relationship that exist between the two variables.

Regression Lines If we take the case of two variables X and Y, we shall have two regression lines as the regression of X and Y and the regression of Y on X. The regression line of Y on X gives the most probable values of X for given value of Y. However when there is either perfect positive or perfect negative correlation between the two variables (r = ± 1) the regression lines will coincide, i.e., we will have only one line. The farther the two regression line from each other, the lesser the degree of cancellation and the nearer the two regression lines to each other, the higher is the degree of correlation. If the variables are independent, r is zero and the lines of regression are at right angles i.e., parallel to OX and OY

Regression Equation Regression equation, also known as estimating equations, are algebraic expression of the regression lines. Since there are two regression lines, there are two regression equations – the regression equation of X on Y is used to describe the variations in the value of X for given changes in Y and the regression equation of Y on X is used to describe the variation in the values of Y for given changes in X.

Regression Equation of Y on X Regression Equation of X on Y The regression equation of Y on X is expressed as follows: Y = a+ b X It may be noted that in this equation ‘Y’ is a dependent variable i.e., its value depends on X. ‘X’ is independent variable, i.e., we can take a given value of X and compute the value of Y. ‘a’ is ‘Y-intersect” because its value is the point at which the regression line crosses the Y-axis that is the vertical axis ‘b’ is the ‘slope’ of line. It represent change in Y variable for a unit change in X variable. ‘a’ and ‘b’ in the equation are called numerical constants because for any given straight line, their value does not changed. The value of constants ‘a’ and ‘b’ are obtained by the method of Least Squares The regression equation of X on Y is expressed as follows: X = a+ b Y

Normal Equations X on Y (X = a + bY) Y on X (Y = a + bX) To determine the values of ‘a’ and ‘b’ the following two normal equations are to be solved simultaneously. ΣX = Na + bΣY ΣXY = aΣY + b ΣY2 To determine the values of ‘a’ and ‘b’ the following two normal equations are to be solved simultaneously. ΣY = Na + bΣX ΣXY = aΣX + b ΣX2

Regression equation X Y 6 9 2 11 10 5 4 8 7

Regression equation X Y XY 6 9 54 2 11 22 10 5 50 4 8 32 7 56

Regression equation X Y XY X2 6 9 54 36 2 11 22 4 10 5 50 100 8 32 16 7 56 64

Regression equation X Y XY X2 Y2 6 9 54 36 81 2 11 22 4 121 10 5 50 100 25 8 32 16 64 7 56 49

Regression equation X Y XY X2 Y2 6 9 54 36 81 2 11 22 4 121 10 5 50 100 25 8 32 16 64 7 56 49 ΣX = 30 ΣY = 40 ΣXY = 214 ΣX2 = 220 ΣY2= 340

X on Y Equations Solution ΣX = Na + bΣY ΣXY = aΣY + b ΣY2 ΣX = 30 ΣY = 40 ΣXY = 214 ΣX2 = 220 ΣY2= 340 30 = 5a + 40b …………….i 214 = 40a + 340b………..ii 240 = 40a + 320b…………..iii (Mult. 8) 214 = 40a + 340b…………….iv 26 = - 20b -20b = 26 b = 26/20 b = -1.3 ΣX = Na + bΣY 30 = 5a + (1.3) 40 5a = 30 + 52 a = 82/5 a= 16.4

Y on X Equations Solution ΣY = Na + bΣX ΣXY = aΣX + b ΣX2 ΣX = 30 ΣY = 40 ΣXY = 214 ΣX2 = 220 ΣY2= 340 40 = 5a + 30b …………….i 214 = 30a + 220b………..ii 240 = 30a + 180b………..iii (Mult. 6) 214 = 30a + 220b…………….iv 26 = - 40b -40b = 26 b = 26/40 b = 0.65 ΣY = Na + bΣX 40 = 5a + (0.65) 30 5a = 40 + 19.5 a = 59.5/5 a= 11.9

Calculate the regression equation of Y on X and If the value of X is 65 calculate the value of Y 50 30 60 40 80 70

Calculate the regression equation of Y on X and If the value of X is 65 calculate the value of Y XY 50 30 1500 60 3600 40 2000 3000 80 4800 70 5600 4200

Calculate the regression equation of Y on X and If the value of X is 65 calculate the value of Y XY X2 50 30 1500 2500 60 3600 40 2000 3000 80 4800 6400 70 5600 1600 4200 4900

Calculate the regression equation of Y on X and If the value of X is 65 calculate the value of Y XY X2 Y2 50 30 1500 2500 900 60 3600 40 2000 1600 3000 80 4800 6400 70 5600 4900 4200

Calculate the regression equation of Y on X and If the value of X is 65 calculate the value of Y XY X2 Y2 50 30 1500 2500 900 60 3600 40 2000 1600 3000 80 4800 6400 70 5600 4900 4200 ΣX=540 ΣY=450 ΣXY=28200 ΣX2 =34000 ΣY2=24100

Y on X 450 = 9a + 540b 28200 = 540a + 34000b 27000 = 540a + 32400b (Mult. 60) -1200 = -1600b 1600b = 1200 b = 1200/1600 b = 0.75 ΣY = Na + bΣX 450 = 9a + 540 (0.75) 9a + 405 = 450 9a = 450 – 405 a = 45/9 a = 5 Y = a +bX Y = 5 + (0.75) 65 Y = 53.75