1 732G21/732A35/732G28.  732G21 Sambandsmodeller One semester=Regr.analysis+ + analysis of.

Slides:



Advertisements
Similar presentations
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Advertisements

Chapter 12 Inference for Linear Regression
The Simple Regression Model
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
11 Simple Linear Regression and Correlation CHAPTER OUTLINE
Ch11 Curve Fitting Dr. Deshi Ye
Objectives (BPS chapter 24)
The General Linear Model. The Simple Linear Model Linear Regression.
Topic 3: Simple Linear Regression. Outline Simple linear regression model –Model parameters –Distribution of error terms Estimation of regression parameters.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Multiple regression analysis
The Simple Linear Regression Model: Specification and Estimation
Chapter 10 Simple Regression.
Linear Regression with One Regression
Chapter 13 Introduction to Linear Regression and Correlation Analysis
The Simple Regression Model
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
Linear Regression and Correlation Analysis
Chapter 13 Introduction to Linear Regression and Correlation Analysis
FIN357 Li1 The Simple Regression Model y =  0 +  1 x + u.
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Chapter 14 Introduction to Linear Regression and Correlation Analysis
1 732G21/732A35/732G28. Formal statement  Y i is i th response value  β 0 β 1 model parameters, regression parameters (intercept, slope)  X i is i.
Linear Regression/Correlation
Slide 1 DSCI 5180: Introduction to the Business Decision Process Spring 2013 – Dr. Nick Evangelopoulos Lectures 4-5: Simple Regression Analysis (Ch. 3)
Review for Final Exam Some important themes from Chapters 9-11 Final exam covers these chapters, but implicitly tests the entire course, because we use.
Introduction to Linear Regression and Correlation Analysis
Inference for regression - Simple linear regression
Linear Regression Analysis Additional Reference: Applied Linear Regression Models – Neter, Kutner, Nachtsheim, Wasserman The lecture notes of Dr. Thomas.
Linear Regression and Correlation
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Introduction to Linear Regression
Chap 12-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 12 Introduction to Linear.
Multiple regression - Inference for multiple regression - A case study IPS chapters 11.1 and 11.2 © 2006 W.H. Freeman and Company.
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.
Multiple Regression Petter Mostad Review: Simple linear regression We define a model where are independent (normally distributed) with equal.
1 11 Simple Linear Regression and Correlation 11-1 Empirical Models 11-2 Simple Linear Regression 11-3 Properties of the Least Squares Estimators 11-4.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
Economics 173 Business Statistics Lecture 10 Fall, 2001 Professor J. Petry
Multiple Regression Analysis: Estimation. Multiple Regression Model y = ß 0 + ß 1 x 1 + ß 2 x 2 + …+ ß k x k + u -ß 0 is still the intercept -ß 1 to ß.
Lecture 10 Introduction to Linear Regression and Correlation Analysis.
Simple linear regression and correlation Regression analysis is the process of constructing a mathematical model or function that can be used to predict.
1 AAEC 4302 ADVANCED STATISTICAL METHODS IN AGRICULTURAL RESEARCH Part II: Theory and Estimation of Regression Models Chapter 5: Simple Regression Theory.
Statistics 350 Lecture 2. Today Last Day: Section Today: Section 1.6 Homework #1: Chapter 1 Problems (page 33-38): 2, 5, 6, 7, 22, 26, 33, 34,
Introduction. We want to see if there is any relationship between the results on exams and the amount of hours used for studies. Person ABCDEFGHIJ Hours/
Chapter 12 Simple Regression Statistika.  Analisis regresi adalah analisis hubungan linear antar 2 variabel random yang mempunyai hub linear,  Variabel.
Simple linear regression. What is simple linear regression? A way of evaluating the relationship between two continuous variables. One variable is regarded.
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
STA302/1001 week 11 Regression Models - Introduction In regression models, two types of variables that are studied:  A dependent variable, Y, also called.
The simple linear regression model and parameter estimation
Lecture 11: Simple Linear Regression
Chapter 20 Linear and Multiple Regression
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
The Simple Linear Regression Model: Specification and Estimation
Linear Regression and Correlation Analysis
...Relax... 9/21/2018 ST3131, Lecture 3 ST5213 Semester II, 2000/2001
CHAPTER 26: Inference for Regression
Linear Regression/Correlation
Simple Linear Regression
The Simple Linear Regression Model: Specification and Estimation
Simple Linear Regression
Linear Regression and Correlation
Simple Linear Regression
Linear Regression and Correlation
Regression Models - Introduction
Correlation and Simple Linear Regression
Correlation and Simple Linear Regression
Presentation transcript:

1 732G21/732A35/732G28

 732G21 Sambandsmodeller One semester=Regr.analysis+ + analysis of variance (teacher: Lotta Hallberg) 732G28 Regression methods Half of semester=Regr. analysis 732A35 Linear statistical models Almost one semester=Regr. Analysis+ + analysis of variance (teacher: Lotta Hallberg) 732G21/732A35/732G282

 Course language: English, but you may use Swedish  We use It’s learning (accessed via Student portal) (show…)  9 Lectures  8 Labs (computer). Deadlines, around 5 days after lab ends  8 Lessons=I solve problems on the whiteboard + lab discussion  One written final exam  Course book: Kutner, M.H., Nachtsheim, C.J., Neter, J. and Li, W. Applied Linear Statistical Models with Student Data CD, 5th Edition, ISBN G21/732A35/732G283

 Linear statistical models are widely used in ◦ Business ◦ Economics ◦ Engineering ◦ Social, biological sciences ◦ Etc Example: A database contains price of houses sold in Linköping in 2009, their age, size, other parameters. ◦ Given parameters of a new house  determine its approximate market price  Determine reasonable price bounds 732G21/732A35/732G284

 Analysis of databases  Observations (records, cases) in rows  Variables in columns ◦ Explanatory variables (predictors, inputs) X i ◦ Response Y, we assume Y=f(X 1,…,X n ) In this lecture, models with only one explanatory variable 732G21/732A35/732G285 NoArea (X 1 )Age (X 2 )Price (Y) ,530, ,800,000 …………

 Real data can seldom be presented as Y=βX (observation errors, missing inputs etc) 732G21/732A35/732G286 Example: Age and salary for a sample of eight persons from a company. AgeSalary Scatterplot

 Presented relation is almost linear  Linear regression analysis: find a linear finction as close as possible to the data 732G21/732A35/732G287

 For each X, there is a probability distribution P(Y=y|X=x) of Y  The aim is to find a regression function E(Y|X=x) 732G21/732A35/732G288

Construction of regression models  Selection of prediction variables (variance reduction)  Functional form (from theory, approximation)  Domain of the model Software  MINITAB  SAS  SPSS  Matlab  Excel 732G21/732A35/732G289

Formal statement  Y i is i th response value  β 0 β 1 model parameters, regression parameters (intercept, slope)  X i is i th predictor value  is i.i.d. random vars with expectation zero and variance σ 2 732G21/732A35/732G2810

Features (show…)  All Y i and Y j are uncorrelated Meaning of regression parameters  β 0 response value at X=0  β 1 change in EY per unit increase in X 732G21/732A35/732G2811

Given data set Method of least squares:  Observed response Y i  Estimated response  Deviation  Regression fit is good when all deviations are minimized (see pict) -> minimimize sum of squares 732G21/732A35/732G2812

 How to find minimum of Q? Estimators of β 0 and β 1  732G21/732A35/732G2813

Exercise (For salary data, MINITAB): 1. Make scatterplot (Scatterplot…, with, without regression lien) 2. Perform regression using ”Regression…” 3. Perform regression using ”Fitted line plot..” 4. Calculate coefficients by hand 732G21/732A35/732G2814

732G21/732A35/732G2815

Gauss-Markov theorem  Estimators b 0 and b 1 are unbiased and have minimum variance among all unbiased estimators  Unbiased  bias=Eb 0 -β 0 =0  Eb 0 =β 0  Analogously, Eb 1 =β 1 Show illustration… 732G21/732A35/732G2816

 Mean (expected response)  Point estimator of mean response (fitted value) Residuals 732G21/732A35/732G2817

 Plot of residuals (obtain it with MINITAB) 732G21/732A35/732G2818

 Properties of residuals 1. (because ) 2. is minimum possible 3. (because of 1) 4., (can be shown) 5. Regression line always goes through 732G21/732A35/732G2819

 Estimate of variance of single population (sample variance)  In regression, we compute s 2 using residuals (look at residual plot) 732G21/732A35/732G2820

 Why divided by n-2? Because E(MSE)=σ 2  Important: In general, unbiased d - degrees of freedom, number of model parameteres Example: Compute residuals, SSE, MSE, find it in MINITAB output 732G21/732A35/732G2821

 Minitab ◦ Graph → Scatterplot ◦ Stat → Regression ◦ Stat->Fitted Line Plot 732G21/732A35/732G2822

 Course book, Ch. 1 up to page G21/732A35/732G2823