Simple Linear Regression the model, estimation and testing

Similar documents
CRITERIA FOR USE. A GRAPHICAL EXPLANATION OF BI-VARIATE (2 VARIABLE) REGRESSION ANALYSISSys

STATISTICS INFORMED DECISIONS USING DATA

MMI 409 Spring 2009 Final Examination Gordon Bleil. 1. Is there a difference in depression as a function of group and drug?

Statistics for Psychology

Dr. Kelly Bradley Final Exam Summer {2 points} Name

Business Statistics Probability

Pitfalls in Linear Regression Analysis

bivariate analysis: The statistical analysis of the relationship between two variables.

Chapter 3 CORRELATION AND REGRESSION

Linear Regression in SAS

Midterm STAT-UB.0003 Regression and Forecasting Models. I will not lie, cheat or steal to gain an academic advantage, or tolerate those who do.

IAPT: Regression. Regression analyses

The Pretest! Pretest! Pretest! Assignment (Example 2)

NORTH SOUTH UNIVERSITY TUTORIAL 2

Multiple Linear Regression (Dummy Variable Treatment) CIVL 7012/8012

12.1 Inference for Linear Regression. Introduction

Simple Linear Regression

Research Methods in Forest Sciences: Learning Diary. Yoko Lu December Research process

10. LINEAR REGRESSION AND CORRELATION

Final Exam Version A

Class 7 Everything is Related

1.4 - Linear Regression and MS Excel

MEA DISCUSSION PAPERS

3.2 Least- Squares Regression

Correlation and regression

Unit 1 Exploring and Understanding Data

Multiple Regression Analysis

Chapter 3: Describing Relationships

Regression Including the Interaction Between Quantitative Variables

Psychology Research Process

Conditional Distributions and the Bivariate Normal Distribution. James H. Steiger

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

11/18/2013. Correlational Research. Correlational Designs. Why Use a Correlational Design? CORRELATIONAL RESEARCH STUDIES

HW 3.2: page 193 #35-51 odd, 55, odd, 69, 71-78

Problem #1 Neurological signs and symptoms of ciguatera poisoning as the start of treatment and 2.5 hours after treatment with mannitol.

Section 3.2 Least-Squares Regression

2.75: 84% 2.5: 80% 2.25: 78% 2: 74% 1.75: 70% 1.5: 66% 1.25: 64% 1.0: 60% 0.5: 50% 0.25: 25% 0: 0%

BOOTSTRAPPING CONFIDENCE LEVELS FOR HYPOTHESES ABOUT QUADRATIC (U-SHAPED) REGRESSION MODELS

REGRESSION MODELLING IN PREDICTING MILK PRODUCTION DEPENDING ON DAIRY BOVINE LIVESTOCK

Chapter 1: Exploring Data

Chapter 3: Examining Relationships

Sample Math 71B Final Exam #1. Answer Key

Find the slope of the line that goes through the given points. 1) (-9, -68) and (8, 51) 1)

CHAPTER TWO REGRESSION

Understandable Statistics

UNIVERSITY OF TORONTO SCARBOROUGH Department of Computer and Mathematical Sciences Midterm Test February 2016

Still important ideas

SCATTER PLOTS AND TREND LINES

SPRING GROVE AREA SCHOOL DISTRICT. Course Description. Instructional Strategies, Learning Practices, Activities, and Experiences.

MULTIPLE LINEAR REGRESSION 24.1 INTRODUCTION AND OBJECTIVES OBJECTIVES

Readings: Textbook readings: OpenStax - Chapters 1 13 (emphasis on Chapter 12) Online readings: Appendix D, E & F

TEACHING REGRESSION WITH SIMULATION. John H. Walker. Statistics Department California Polytechnic State University San Luis Obispo, CA 93407, U.S.A.

Chapter 11 Multiple Regression

Multiple Regression. James H. Steiger. Department of Psychology and Human Development Vanderbilt University

Biology 345: Biometry Fall 2005 SONOMA STATE UNIVERSITY Lab Exercise 5 Residuals and multiple regression Introduction

South Australian Research and Development Institute. Positive lot sampling for E. coli O157

Regression CHAPTER SIXTEEN NOTE TO INSTRUCTORS OUTLINE OF RESOURCES

CHILD HEALTH AND DEVELOPMENT STUDY

Midterm Exam MMI 409 Spring 2009 Gordon Bleil

Study Guide for the Final Exam

STATISTICS AND RESEARCH DESIGN

Results. Example 1: Table 2.1 The Effect of Additives on Daphnia Heart Rate. Time (min)

Psychology Research Process

WDHS Curriculum Map Probability and Statistics. What is Statistics and how does it relate to you?

Content. Basic Statistics and Data Analysis for Health Researchers from Foreign Countries. Research question. Example Newly diagnosed Type 2 Diabetes

Table of Contents. Plots. Essential Statistics for Nursing Research 1/12/2017

Simple Linear Regression: Prediction. Instructor: G. William Schwert

Results & Statistics: Description and Correlation. I. Scales of Measurement A Review

Problem Set 3 ECN Econometrics Professor Oscar Jorda. Name. ESSAY. Write your answer in the space provided.

FORM C Dr. Sanocki, PSY 3204 EXAM 1 NAME

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

Choosing a Significance Test. Student Resource Sheet

Lecture 6B: more Chapter 5, Section 3 Relationships between Two Quantitative Variables; Regression

AP Stats Chap 27 Inferences for Regression

Chapter 2 Organizing and Summarizing Data. Chapter 3 Numerically Summarizing Data. Chapter 4 Describing the Relation between Two Variables

BOOTSTRAPPING CONFIDENCE LEVELS FOR HYPOTHESES ABOUT REGRESSION MODELS

11/24/2017. Do not imply a cause-and-effect relationship

Clincial Biostatistics. Regression

Online Supplementary Appendix

SPSS output for 420 midterm study

SUMMER 2011 RE-EXAM PSYF11STAT - STATISTIK

111, section 8.6 Applications of the Normal Distribution

EXECUTIVE SUMMARY DATA AND PROBLEM

MODULE S1 DESCRIPTIVE STATISTICS

Multiple Linear Regression Analysis

Research paper. Split-plot ANOVA. Split-plot design. Split-plot design. SPSS output: between effects. SPSS output: within effects

12/30/2017. PSY 5102: Advanced Statistics for Psychological and Behavioral Research 2

Week 17 and 21 Comparing two assays and Measurement of Uncertainty Explain tools used to compare the performance of two assays, including

Effect of Sample Size on Correlation and Regression Coefficients

Decomposition of the Genotypic Value

5 To Invest or not to Invest? That is the Question.

Regression Equation. November 29, S10.3_3 Regression. Key Concept. Chapter 10 Correlation and Regression. Definitions

Chapter 23. Inference About Means. Copyright 2010 Pearson Education, Inc.

CHAPTER III RESEARCH METHODOLOGY

Differential Item Functioning

PSYCHOLOGY 300B (A01) One-sample t test. n = d = ρ 1 ρ 0 δ = d (n 1) d

CHAPTER 3 RESEARCH METHODOLOGY

Lecture 12: more Chapter 5, Section 3 Relationships between Two Quantitative Variables; Regression

Daniel Boduszek University of Huddersfield

Transcription:

Simple Linear Regression the model, estimation and testing Lecture No. 05

Example 1 A production manager has compared the dexterity test scores of five assembly-line employees with their hourly productivity.

Example 1 dependent variable random error (residual) intercept independent variable slope

Simple Linear Regression the model The goal of a regression analysis is to obtain predictions of one variable using the known values of another

Simple Linear Regression Three assumptions: The ε term is assumed to be random variable that: 1. Has a mean of 0 2. Is normally distributed 3. Has constant variance at every value of X (Homoscedastic)

Simple Linear Regression Three assumptions: For any given value of x, the y values are assumed to be normally distributed about the population regression line and to have the same standard deviation σ The regression line based on sample data is an estimate of this true line.

Example 1 Sample regression line

The Least-Squares Criterion The least-squares criterion requires that the sum of the squared deviations between y values in the scatter diagram and y values predicted by the equation be minimized. In symbolic terms:

Determining the Least-Squares Regression Line

Example 1

Example 1

Example 1 - Point Estimates Using the Regression Line If a job applicant were to score x = 15 on the manual dexterity test, we would predict this person would be capable of producing 64.2 units per hour on the assembly line.

Estimation of standard error To develop interval estimates for the dependent variable, we must first determine the standard error of estimate. This is a standard deviation describing the dispersion of data points above and below the regression line. The formula for the standard error of estimate is shown below and is very similar to that for determining a sample standard deviation s:

Example 1 A production manager has compared the dexterity test scores of five assembly-line employees with their hourly productivity.

Example 1 Now calculate the standard error of estimate as

Confidence and prediction Interval for the mean of y given a specific x value Given a specific value of x, we can make two kinds of interval estimates regarding y: (1) a confidence interval for the (unknown) true mean of y, and (2) a prediction interval for an individual y observation.

Confidence interval for the mean of y given a specific x value

Example 1 Confidence Interval For persons scoring x = 15 on the dexterity test, what is the 95% confidence interval for their mean productivity? For the 95% level of confidence and df=n-2=3, t =3.182 and the 95% confidence interval can now be calculated as Based on these calculations, we have 95% confidence that the mean productivity for persons scoring x = 15 on the dexterity test will be between 59.919 and 68.481 units per hour.

Prediction Interval for an Individual y Observation For a given value of x, the estimation interval for an individual y observation is called the prediction interval. Prediction interval for an individual y, given a specific value of x: additional 1

Example 1 Prediction Interval A prospective employee has scored x = 15 on the dexterity test. What is the 95% prediction interval for his productivity? For this applicant, we have 95% confidence that his productivity as an employee would be between 54.436 and 73.964 units per hour.

Example 1 Prediction Interval The 95% prediction interval for individual y values becomes slightly wider whenever the interval is based on x values that are farther away from the mean of x.

Testing and Estimation for the Slope

Testing and Estimation for the Slope

Example 1 Testing and Estimation for the Slope An equivalent method of testing the significance of the linear relationship is to examine whether the slope β 1 of the population regression line could be zero. For the dexterity test data, the slope of the sample regression line was b 1 = 3.0. 1. Using the 0.05 level of significance, examine whether the slope of the population regression line could be zero. 2. Construct the 95% confidence interval for the slope of the population regression line.

Example 1 Testing and Estimation for the Slope

Example 1 Testing and Estimation for the Slope p value We reject the null hypothesis

Confidence interval for the Slope

Example 1 Testing and Estimation for the Slope 95% Confidence Interval for the Slope of the Population Regression Line

Example 2 50 randomly selected students took a math aptitude test before they began their statistics course. The Statistics Department has three questions. What linear regression equation best predicts statistics performance, based on math aptitude scores? If a student made an 80 on the aptitude test, what grade would we expect him to make in statistics? Make a confidence prediction interval for x=80 using 0.05 level of significance

Example 2 Solution in Excel

Example 2

Example 2

Example 2

Example 2 Solution in STATISTICA

Example 2 1 2 3

Example 2 1 2 3

Example 2

Example 2 another way to plot the graphs 1 2 3 4

Example 2 another way to plot the graphs

Example 2 another way to plot the graphs Regression bands Prediction intervals Confidence intervals

Example 2 1 2 3

Example 2 If a student made an 80 on the aptitude test, what grade would we expect him to make in statistics? Make a confidence prediction interval for x=80 using 0.05 level of significance.

Example 2