Data Handling & Analysis ZO4030 Linear Regression Andrew Jackson

Slides:



Advertisements
Similar presentations
Objective - To graph linear equations using the slope and y-intercept.
Advertisements

Kin 304 Regression Linear Regression Least Sum of Squares
Linear Equations Review. Find the slope and y intercept: y + x = -1.
10-3 Inferences.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Linear regression models
Objectives (BPS chapter 24)
Inference for Regression 1Section 13.3, Page 284.
LINEAR REGRESSION: What it Is and How it Works Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
LINEAR REGRESSION: What it Is and How it Works. Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
LINEAR REGRESSION: What it Is and How it Works. Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r Assumptions.
REGRESSION What is Regression? What is the Regression Equation? What is the Least-Squares Solution? How is Regression Based on Correlation? What are the.
1 Review of Correlation A correlation coefficient measures the strength of a linear relation between two measurement variables. The measure is based on.
Quantitative Business Analysis for Decision Making Simple Linear Regression.
6.4 Prediction -We have already seen how to make predictions about our dependent variable using our OLS estimates and values for our independent variables.
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.
Simple Linear Regression Analysis
Chapter 2 – Simple Linear Regression - How. Here is a perfect scenario of what we want reality to look like for simple linear regression. Our two variables.
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Lecture 5 Correlation and Regression
Correlation & Regression
Introduction to Linear Regression and Correlation Analysis
Inference for regression - Simple linear regression
Chapter 11 Simple Regression
12b. Regression Analysis, Part 2 CSCI N207 Data Analysis Using Spreadsheet Lingma Acheson Department of Computer and Information Science,
Inferences for Regression
Data Handling & Analysis BD7054 Scatter Plots Andrew Jackson
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
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.
Linear Regression Handbook Chapter. Experimental Testing Data are collected, in scientific experiments, to test the relationship between various measurable.
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.
Regression Regression relationship = trend + scatter
Simple Linear Regression. The term linear regression implies that  Y|x is linearly related to x by the population regression equation  Y|x =  +  x.
Multiple Regression BPS chapter 28 © 2006 W.H. Freeman and Company.
Chapter 6 Simple Regression Introduction Fundamental questions – Is there a relationship between two random variables and how strong is it? – Can.
Basic Statistics Linear Regression. X Y Simple Linear Regression.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
Method 3: Least squares regression. Another method for finding the equation of a straight line which is fitted to data is known as the method of least-squares.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Hypothesis Testing Example 3: Test the hypothesis that the average content of containers of a particular lubricant is 10 litters if the contents of random.
By Samuel Chukwuemeka (Samdom For Peace) USING TECHNOLOGY TO DETERMINE SAMPLE LINEAR CORRELATION COEFFICIENT AND THE LEAST-SQUARES.
Research Methods: 2 M.Sc. Physiotherapy/Podiatry/Pain Correlation and Regression.
Chapter 13 Lesson 13.2a Simple Linear Regression and Correlation: Inferential Methods 13.2: Inferences About the Slope of the Population Regression Line.
Graphing Lines Using Slope-Intercept Form
§ 1.5 Equations of Lines.
Regression.
Linear Regression Special Topics.
AP Statistics Chapter 14 Section 1.
Kin 304 Regression Linear Regression Least Sum of Squares
§ 1.5 Equations of Lines.
BPK 304W Regression Linear Regression Least Sum of Squares
Multiple Regression A curvilinear relationship between one variable and the values of two or more other independent variables. Y = intercept + (slope1.
No notecard for this quiz!!
Regression.
Regression.
Review of Chapter 2 Some Basic Concepts: Sample center
Regression.
Relationship between two continuous variables: correlations and linear regression both continuous. Correlation – larger values of one variable correspond.
Regression Chapter 8.
Regression.
Simple Linear Regression
Correlation and Regression
3 4 Chapter Describing the Relation between Two Variables
Slope-intercept Form of Equations of Straight Lines
Inference for Regression
Created by Erin Hodgess, Houston, Texas
Chapter 14 Multiple Regression
Inferences 10-3.
Presentation transcript:

Data Handling & Analysis ZO4030 Linear Regression Andrew Jackson

Linear type data How are two measures related?

Testing this relationship How confident are we in this relationship? – Simple correlation test cor.test() Parametric Non-parametric What is the mathematical form of this relationship? – Linear regression Allows us to test different mathematical equations Allows us to predict values we have not observed

The equation of a line Mathematicians use – Y = mX + c Statisticians use – y = b 1 x + b 0 To calculate the coefficients use – b 1 = (y 2 -y 1 )/(x 2 -x 1 ) – b 0 = y-b 1 x

Different slopes Y = b 1 X + b 0 b 1 > 0 b 1 = 0 b 1 < 0

Different intercepts Y = b 1 X + b 0 Parallel lines

Sample data

Regression model assumptions Inherently assume a straight line relationship The residuals, or errors are assumed to be normally distributed – Need to test this – And make sure they are evenly spread above and below the line along its length

Computer Session One room for 16 from 2pm-4pm (EE PC 2) One room for 16 from 2pm-2.50pm (EE PC 1) Add body mass data to the brain size dataset – Link sent via We are going to investigate how brain size is related to body mass.