Correlation and simple linear regression Marek Majdan Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD;

Slides:



Advertisements
Similar presentations
AP Statistics Section 3.2 C Coefficient of Determination
Advertisements

Introduction to R project Marek Majdan Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD;
Parametric hypotheses tests
Kin 304 Regression Linear Regression Least Sum of Squares
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
Chapter 10 Regression. Defining Regression Simple linear regression features one independent variable and one dependent variable, as in correlation the.
Correlation & Regression Chapter 15. Correlation statistical technique that is used to measure and describe a relationship between two variables (X and.
Regression and Correlation
Chapter 3 Summarizing Descriptive Relationships ©.
Regression Analysis In regression analysis we analyze the relationship between two or more variables. The relationship between two or more variables could.
Chapter 21 Correlation. Correlation A measure of the strength of a linear relationship Although there are at least 6 methods for measuring correlation,
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Regression and Correlation
Linear Regression Analysis
Linear Regression and Correlation
Descriptive Methods in Regression and Correlation
Linear Regression.
Relationship of two variables
Biostatistics Unit 9 – Regression and Correlation.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Y=a+bx Sum of squares of errors Linear Regression: Method of Least Squares The Method of Least Squares is a procedure to determine the best fit line to.
CHAPTER 3 INTRODUCTORY LINEAR REGRESSION. Introduction  Linear regression is a study on the linear relationship between two variables. This is done by.
Basic Concepts of Correlation. Definition A correlation exists between two variables when the values of one are somehow associated with the values of.
Regression Regression relationship = trend + scatter
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
The correlation coefficient, r, tells us about strength (scatter) and direction of the linear relationship between two quantitative variables. In addition,
Scatter Diagrams Objective: Draw and interpret scatter diagrams. Distinguish between linear and nonlinear relations. Use a graphing utility to find the.
Section 2.6 – Draw Scatter Plots and Best Fitting Lines A scatterplot is a graph of a set of data pairs (x, y). If y tends to increase as x increases,
9.1B – Computing the Correlation Coefficient by Hand
Chapter 12: Correlation and Linear Regression 1.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
SIMPLE LINEAR REGRESSION AND CORRELLATION
y=a+bx Linear Regression: Method of Least Squares slope y intercept y
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Correlation and Median-Median Line Statistics Test: Oct. 20 (Wednesday)
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
AP STATISTICS LESSON 3 – 3 (DAY 2) The role of r 2 in regression.
REGRESSION AND CORRELATION SIMPLE LINEAR REGRESSION 10.2 SCATTER DIAGRAM 10.3 GRAPHICAL METHOD FOR DETERMINING REGRESSION 10.4 LEAST SQUARE METHOD.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 9 l Simple Linear Regression 9.1 Simple Linear Regression 9.2 Scatter Diagram 9.3 Graphical.
4.2 – Linear Regression and the Coefficient of Determination Sometimes we will need an exact equation for the line of best fit. Vocabulary Least-Squares.
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
Chapter 12: Correlation and Linear Regression 1.
Linear Regression Essentials Line Basics y = mx + b vs. Definitions
Regression and Correlation of Data Summary
CHAPTER 3 Describing Relationships
Regression and Correlation
Kin 304 Regression Linear Regression Least Sum of Squares
Correlation and Regression
CHS 221 Biostatistics Dr. wajed Hatamleh
Correlation and regression
SIMPLE LINEAR REGRESSION MODEL
Simple Linear Regression
Correlation and Regression
BPK 304W Regression Linear Regression Least Sum of Squares
CHAPTER 10 Correlation and Regression (Objectives)
REGRESSION.
Correlation and Regression
Chapter 10 Correlation and Regression
Least-Squares Regression
Correlation and Regression
7.1 Draw Scatter Plots & Best-Fitting Lines
Correlation and Regression
Correlation & Regression
Regression and Correlation of Data
Presentation transcript:

Correlation and simple linear regression Marek Majdan Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD;

Correlation and simple linear regression Both are used to analyse paired data Purpose of both procedures is to explore relationships between two variables Correlation handles variables as equal SLR distinguishes between independent variable (X) and dependent variable (Y) Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD;

Scatter plot Scatter plot is used to primary visual exploration of the relationship between two variables Relationship: linear or non-linear Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD;

Correlation Computes correlation coefficient as a measure of size and direction of relationship Correlation coefficients: number from -1 to +1 including 0, which marks independence of the analyzed variables Both variables are numerical In R: cor.test (x,y) Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD;

Simple Linear Regression Used to analyze how the independent variable influences the dependent variable Relationship expressed as a regression equation: y=a+bx y=dependent variable a=intercept (value of Y corresponding to X=0) b=regression coefficient x=independent variable Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD;

Simple Linear Regression Regression line is a graphical representation of the regression equation – a straight line is drawn over the scatterplot of the analyzed data Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD;

Simple Linear Regression Method of least squared: regression line slope is calculated so that the sum of squares of distances of each point from the line is the smallest possible This way the line ‘explains’ the points to the highest possible degree The degree to which the line explains the points is expressed by the coefficient of determination, ‘R 2 ’ (a number between 0 and 1, or 0 and 100%) Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD;

Simple Linear Regression In R: regression analysis: lm (y~x, data=database) regression line: plot (x,y) abline(lm(y~x), data=database) Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD;