Simple Linear Regression

Size: px
Start display at page:

Download "Simple Linear Regression"

Transcription

1 Simple Linear Regression EdPsych 580 C.J. Anderson Fall 2005 Simple Linear Regression p. 1/80

2 Outline 1. What it is and why it s useful 2. How 3. Statistical Inference 4. Examining assumptions (diagnostics) 5. Comments on interpretation Simple Linear Regression p. 2/80

3 What is Regression The study of the (linear) relationship between two measurable (observable) variables. Gasoline consumption and driving speed. Height and weight. Salary and merit. Cost of wine as a function of annual rainfall. College GPA and high school GPA. Boiling point of water and atmospheric pressure. Speed to proof read a paragraph and amount of caffiene consumed. Simple Linear Regression p. 3/80

4 Form of the Relationship The nature of the relationship between two numeric variables is known, because Function relationship. E.g., physical laws, Weight = f(mass, gravity). But have measurement errors. Behavioral theories. e.g., judgements of heaviness Equations are often a reasonable approximation. Simple Linear Regression p. 4/80

5 Example of Physical Law (from Weisberg) James Forbe ( s) was a Scottish physicist Wanted to be able to estimate attitude above sea level from measurements of the boiling point of water. He knew that altitude could be determined from atmospheric pressure (measured with a barometer in 1840 barometers were very fragile). Simple Linear Regression p. 5/80

6 Forbe s Example (continued) Forbe s data : The boiling point of water was measured in degrees F o Atmospheric pressure was measured in inches of mercury (with air temperature adjustments). These data were collected at 17 locations in the Alps & Scotland. Forbe s Theory: Over the range of observed values of boiling points versus logarithm of pressure should be a straight line. Simple Linear Regression p. 6/80

7 Forbe s Data Simple Linear Regression p. 7/80

8 Forbe s Data (continued) Simple Linear Regression p. 8/80

9 Examples of behavioral theory Motor performance and age. Verbal skills and years of education. Time to solve a problem and size of group working on the problem. Quantitative GRE scores by the number of hours of college math courses taken. Others Before getting into the nitty gritty, let s take a quick look... Simple Linear Regression p. 9/80

10 Example Dependent variable or Y = quantitative GRE score. Independent variable or X = number of hours of college math courses taken. The strength of the relationship: r =.80. The form of the relationship,... look at the scatter plot.... Simple Linear Regression p. 10/80

11 The Data Simple Linear Regression p. 11/80

12 The Data and Conditional Means What minimizes i (Y i guess i ) 2 = i (Y i Ŷi) 2 = i (errors i) 2? Simple Linear Regression p. 12/80

13 Just the Means Simple Linear Regression p. 13/80

14 The Best fit line Simple Linear Regression p. 14/80

15 Uses of Regression Describe the relationship between variables succinctly (i.e., summarize). Measure the strength of the relationship. Predict one variable when values on other variable(s) are known. Adjust statistically control or experimental control responses for variable(s) known effects. Most often we try to summarize the relationship between two variables by a straight line**. Simple Linear Regression p. 15/80

16 Asymmetric Treatment of Variables The two variables play different roles: Y = response, dependent, outcome, predicted, or criterion. X = explanatory, independent, or predictors. The big question: How does Y vary with X? Simple Linear Regression p. 16/80

17 The Regression of Y on X The regression of Y on X corresponds to the curve (line) that gives the mean value of Y corresponding to each possible value of X. Conditional Distribution (mean) of Y given X. Notation: µ Y X or µ Y X or E(Y X) Very general definition of regression: µ Y X = mean of all Y values in the population with the same X value ( Doesn t have to be linear & Y doesn t have to be continuous ) Simple Linear Regression p. 17/80

18 How Suppose that we have measurements on n individuals of two variables, (X 1, Y 1 ), (X 2, Y 2 ),..., (X n, Y n ) e.g., X = number of hours college math courses. Y = quantitative GRE score. Always plot the data Look at form of the relationship? Any outliers? Simple Linear Regression p. 18/80

19 Simple Linear Regression Model Y i = µ y xi + ɛ i Y i = α + βx i + ɛ i Y i = µ + β(x i X) + ɛ i where X i s are known (and considered fixed). α is the Y intercept β population slope of regression line. ɛ i s are errors or residuals. µ = population mean of Y for X i = X. Simple Linear Regression p. 19/80

20 Assumptions Linear relationship between Y and X. For statistical inference, ɛ i N(0, σ 2 ) and independent Therefore, Y i N(µ Y xi, σ 2 ). E(Y i ) = E(α + βx i + ɛ i ) = α + βx i = µ Y xi σ 2 does not depend on X. MATLAB demo. Simple Linear Regression p. 20/80

21 Estimation: Method of Least Squares The Loss Function is n (Y i prediction i ) 2 = i=1 = = n (Y i Ŷi) 2 i=1 n (Y i (a + bx i )) 2 i=1 n ˆɛ 2 i i=1 For the best fit line, find those values of a and b so that the sum of squared errors is as small as possible. Simple Linear Regression p. 21/80

22 Least Squares Estimates The line goes through the point ( X,Ȳ ). The slope equals the change in Y for a 1 unit change in X, b = cov(x, Y ) var(x) The Y intercept equals = r xy s y s x a = Ȳ b X = Ȳ r xy s y s x X The estimated residuals equal ˆɛ i = (Y i Ŷi) = (Y i a bx i ) Simple Linear Regression p. 22/80

23 Least Squares Estimates The estimated residuals equal ˆɛ i = (Y i Ŷi) = (Y i a bx i ) There are two (linear) restrictions on ˆɛ i : n ˆɛ i = 0 and n ˆɛ i (X i X) = 0. i=1 i=1 Show why this is so... Simple Linear Regression p. 23/80

24 Eg:Least Squares Regression Line Graph of quant GRE vs hour math course will go here with various things identified. Simple Linear Regression p. 24/80

25 Example 2: IQ From Kodak & Skeels: the data are IQ of mothers and their adopted children when the child was 14 years old: Simple Linear Regression p. 25/80

26 Example 2: IQ Summary Statistics: Mother s IQ Child s IQ X = Ȳ = s x = s y = Estimating β : n = 9 r xy =.78 b = r xy s y s x = (.78) =.911 Estimating α: a = Ȳ b X = (.911)(84.11) Estimated Regression Line: Ŷ i = X i Simple Linear Regression p. 26/80

27 Estimated Regression Line b < 1: Nature of phenomenon? Artifact of regression? Simple Linear Regression p. 27/80

28 Plot of Residuals Simple Linear Regression p. 28/80

29 Decomposition of Y i Y i ˆɛ i Ŷ i = a + bx i Simple Linear Regression p. 29/80

30 Analysis of Variance Observations broken down into two independent parts: Y i = (model value) i + (error) i = Ŷi + ˆɛ i = (a + bx i ) + ˆɛ i Fact: Variance of a sum of independent variables equals the sum of the variance. Implication: (total variance of Y ) = (variance of Y due to model) + (variance of Y due to lack of fit) s 2 y = s 2 ŷ + s 2ˆɛ Simple Linear Regression p. 30/80

31 Analysis of Variance Variance of Y, s 2 y Residual variance, s 2ˆɛ Variance accounted for by the model, s 2 ŷ Simple Linear Regression p. 31/80

32 Analysis of Variance (continued) Partition of variance s 2 y = s 2 ŷ + s 2ˆɛ Divide both sides by s 2 y to get proportions 1 = (proportion of var(y ) accounted for by model) +(proportion of var(y ) not accounted for by model) 1 = s2 ŷ s 2 y + s2ˆɛ s 2 y What do s 2 y, s 2 ŷ and s2ˆɛ equal? Simple Linear Regression p. 32/80

33 Variances: s 2 ŷ & s2ˆɛ s 2 ŷ = = = 1 n 1 n (Ŷi Ȳ )2 i=1 (Sum of Squares model ) n 1 1 n 1 (SS model ) s 2ˆɛ = = 1 n 1 1 n 1 n (ˆɛ i 0) 2 i=1 n i=1 (SSres)= 1 n 1 n (SSˆɛ ) i=1 Simple Linear Regression p. 33/80

34 ANOVA (continued) Note s 2 y = 1 n 1 n i=1 (Y i Ȳ )2 = 1 n 1 SS total Partitioning variance and sums of squares: s 2 y = s 2 ŷ + s 2ˆɛ 1 n 1 (SS total ) = 1 n 1 (SS model ) + 1 n 1 (SS res) SS total = SS model + SSres The sums of squares partition. Simple Linear Regression p. 34/80

35 Closer look at s 2 ŷ /s2 y = SS model /SS total s 2 ŷ = = = = r 2 xy 1 n 1 1 n 1 1 n 1 s 2 y s 2 x = r 2 xys 2 y n (Ŷi Ȳ )2 i=1 n ([Ȳ + r xy i=1 n ( r xy s y (X i s X) i=1 x ( n i=1 (X i X) ) 2 n 1 s y s x (X i X)] Ȳ )2 ) 2 Simple Linear Regression p. 35/80

36 Coefficient of Determination: Multiple R 2 s 2 ŷ s 2 y = r2 xys 2 y s 2 y = r 2 xy = SS model SS total = R 2 = (Proportion of the variance of Y accounted for by model) ( ) Predicted variance R 2 = Total variance R 2 Also, s 2ˆɛ s 2 y = 1 r 2 xy = Proportion of the total variance unexplained by the model Simple Linear Regression p. 36/80

37 Coefficient of Determination: continued If we use the overall mean as the predictor, then SS total = Sum of squares errors of prediction If we use the conditional mean Ŷi (from the regression of Y i onto X i ), then SSres = Sum of squares errors of prediction The proportional reduction in sum of squared errors of prediction equals SS total SSres SS total = SS model SS total = R 2 Simple Linear Regression p. 37/80

38 Comparison: Ȳ vs Ŷi as Predictor Proportional reduction in error: R 2 = (1, 234, , 639)/1, 234, 453 = 802, 814/1, 234, 453 =.6503 Simple Linear Regression p. 38/80

39 Summary from our Examples (Most rounded to nearest integer) Statistics QuantGRE Adopted n 91 9 SS model 802,814 1,814 SSres 431,639 1,186 SS total 1,234,453 3,000 s 2 y 13, s 2ˆɛ 4, s 2 ŷ 8, R Simple Linear Regression p. 39/80

40 Statistical Inference in Regression Slope parameter β. Digression/connnection: t-test for correlation. Foreshadowing: analysis of variance, F -test. Fitted values µ y x Predictions of Y for a new observation. Simple Linear Regression p. 40/80

41 Statistical Inference: β H o : β = 0 vs H a : β 0. Why? Does X provide any predictive information? Does X provide any explanatory power regarding the variability of Y? Is Ȳ equal to Ŷ? (i.e. regression equation flat?) Are X and Y correlated? Simple Linear Regression p. 41/80

42 Statistical Inference: β (continued) IF Y i = α + βx i + ɛ i ɛ i N(0, σ 2 ) ɛ i are independent (i.e., Y i are independent). THEN b N ( β, σ 2 ) n i=1 (X i X) 2 Simple Linear Regression p. 42/80

43 Statistical Inference: β (continued) Then standard error of b: σ SE(b) = 2 n i=1 (X i X) 2 = σ 1 n i=1 (X i X) 2 Estimate of σ, ˆσ = ˆσ y x = sˆɛ = = SS res n 2 n i=1 (Y i Ŷi) 2 n 2 How do we use this information? Simple Linear Regression p. 43/80

44 Hypothesis Test: β (continued) Hypothesis test: H o : β = 0 vs H a : β 0 Assumptions: Y i = α + βx i + ɛ i ɛ i N(0,σ 2 ) ɛ i s are independent. Test Statistic: t = b 0 SE(b) Sampling Distribution of the test statistic (if H o and assumptions are true) is Students t with ν = n 2 degrees of freedom. Simple Linear Regression p. 44/80

45 Hypothesis Test & CI for β (continued) (1 α)100% Confidence interval for β b ± t n 2,(1 α/2) SE(b) Example... quant GRE versus hours of math courses. Recall that Y i = x i Simple Linear Regression p. 45/80

46 Hypothesis Test for β (example) Estimate of σ, n i=1 ˆσ = sˆɛ = (Y i Ȳ )2 = SSres = MS res n 2 df res = 91 2 = = Estimate of SE(b), SE(b) = sˆɛ 1 (n 2)s 2 x = /(89( )) = 69.96(.02) = 1.40 Test statistic: t = /1.40 = Using the t-distribution with df = 89, p <.001. Simple Linear Regression p. 46/80

47 Confidence Interval for β (example) A 95% Confidence interval for β, b ± t n 2,(1 α)/2 SE(b) ± 1.987(1.40) (15.22, 20.78) Simple Linear Regression p. 47/80

48 Regression Using SAS Analyst Program code that will produce regression diagnostics: ods html; ods graphics on; proc reg data=prep2; run; model quantgre=hoursmath / cib; plot quantgre*hoursmath; title QuantGRE vs HoursMath ; ods graphics off; ods html close; Output, regression, diagnostics, etc. Simple Linear Regression p. 48/80

49 Digression/Connection Recall the hypothesis H : ρ xy = 0 and test statistic, t = r xy (1 + r 2 xy)/(n 2) This is equivalent to the t-test for H o : β = 0, t = b SE(b) Implication: You do not have to assume bivariate normality for X and Y to test H o : ρ xy = 0. You only have to assume linearity, ɛ i N(0,σ 2 ), and independence. Simple Linear Regression p. 49/80

50 Test: Variance accounted for by model Mean square error Definition: MSres = SSres/(n 2) = s 2ˆɛ Expected mean square error: E(MSres) = σ 2 Mean square model Definition: MS model = SS model /(1) Expected mean square E(MS model ) = σ 2 + β n i=1 (X i X) 2 F -test of H o : β = 0, F = MS model MSres = (SS model /ν model ) (SSres/νres) = (χ2 1/ν 1 ) (χ 2 2/ν 2 ) Simple Linear Regression p. 50/80

51 Statistical Inference (CI) for µ y x Our estimated model Ŷ i = ˆµ y x = a + bx i = Ȳ + b(x i X) Note that ˆµ y = Ȳ, which has standard error = σ/ n. b = r xy s y /s x with SE(β) previously given. Ȳ and b are statistically independent Variance of a sum of independent variables equals the sum of the variances... Simple Linear Regression p. 51/80

52 Statistical Inference (CI) for µ y x Variance of ˆµ y x, var(ˆµ y x ) = var(ȳ ) + var(b(x X)) 2 = var(ȳ ) + var(b)(x X) ( ) = σ2 n + σ 2 n i=1 (X i X) (x X) 2 2 ( 1 = σ 2 n + (x X) ) 2 n i=1 (X i X) 2 Estimator of standard error of ˆµ y x, (1 SE(ˆµ y x ) = s ɛ n + (x X) ) 2 n i=1 (X i X) 2 Simple Linear Regression p. 52/80

53 Statistical Inference (CI) for µ y x Estimator of standard error of ˆµ y x, (1 SE(ˆµ y x ) = ˆσ n + (x X) ) 2 n i=1 (X i X) 2 (1 SS res = df n + ( X) ) 2 n i=1 (X i X) 2 This depends on x! The closer x is to X, the smaller the standard error of ˆµ y x. Simple Linear Regression p. 53/80

54 The Standard Error of µ y x Quant GRE Example: The standard error of ˆµ y x ( ) 1 2 (x X) sˆµy x = s ɛ + n (n 1)s 2 x ( ) 1 (x )2 = ( ) x SE(ˆµ y x ) x SE(ˆµ y x ) Simple Linear Regression p. 54/80

55 Confidence Interval for µ y x (1 α)100% confidence interval for µ y x : Ȳ + b(x X) = (a + bx) ± t n 2,(α/2) (SE(ˆµ y x )) Example: quant GRE regressed onto hours of math courses. Simple Linear Regression p. 55/80

56 Confidence Interval for µ y x x 95% confidence bands s µy x ˆ Ŷ Lower Upper Simple Linear Regression p. 56/80

57 95% Confidence Bands for MEANS Simple Linear Regression p. 57/80

58 CI for New Observation Prediction of Y i for a new observation. Our best guess, is Ŷ = a + bx = ˆµ y x But the true value for the person is Y = a + bx + ê = Ȳ + b(x X) + ê Each of the 3 components of Y is independent. Simple Linear Regression p. 58/80

59 CI for New Observation (continued) Variance of Ŷpred, var(ŷpred,x=x k ) = var(ȳ ) + var(b(x k x)) + var(ê) = σ2 n + σ2 (x k x) 2 n i=1 (x i x) 2 + σ2 = σ 2 ( 1 n + (x k x) 2 n i=1 (x i x) 2+ ) The standard error of Ȳpred is the square root of the above, (1 ) SE(Ŷpred,X=x k ) = σ n + (x k x) 2 n i=1 (x i X) Simple Linear Regression p. 59/80

60 CI for New Observation (continued) So, a (1 α)100% confidence interval for the prediction of a single new observation when X = x is Ŷ pred = ˆµ y x ± t n 2,(α/2) SE(Ŷpred) Simple Linear Regression p. 60/80

61 95% CI for Predicted quantgre x Ŷ i sˆµy x sŷi Lower Upper Simple Linear Regression p. 61/80

62 95% Confidence Bands for PREDICTION Simple Linear Regression p. 62/80

63 Comparison of 95% Confidence Bands Simple Linear Regression p. 63/80

64 Miscellaneous Topics in Regression Regression to the mean. Effect of outliers on results Extrapolation beyond the data (restricted range) Examine the assumptions! Linearity Equal variance x (i.e., var(y x) = σ 2 ) Simple Linear Regression p. 64/80

65 Regression To the Mean Simple Linear Regression p. 65/80

66 Regression To Mediocrity Note that Ŷ i = a + bx i (Ŷi Ȳ ) s y Ŷ i = Ȳ + r xy = r xy (X i X) s x s y s x (X i X) Ẑ yi = r xy Z xi Since r xy 1, a one unit change in Z x leads to a smaller change in Ẑy... unless r xy = 1. Simple Linear Regression p. 66/80

67 Regression To the Mean Illustration of phenomena. o Simple Linear Regression p. 67/80

68 Extrapolation beyond the data Simple Linear Regression p. 68/80

69 Extrapolation beyond the data is a dangerous thing to do Simple Linear Regression p. 69/80

70 Extrapolation beyond the data Model 1 (x < 0): ˆσ 2 = 26.38, R 2 =.93, Ŷ i = x i and H o : β = 0 is rejected. Model 2 ( 4 x x): ˆσ 2 = 27.65, R 2 =.003, and Ŷ i = x i and H o : β = 0 is retained. Model 3 ( 4 x x): The correct one... ˆσ 2 = 0.64, R 2 =.98, and and H o : β = 0 is rejected. Ŷ i = x 2 i Simple Linear Regression p. 70/80

71 Model 3 o Simple Linear Regression p. 71/80

72 Effect of Outliers: Example 1 Simple Linear Regression p. 72/80

73 Effect of Outliers: Example 2 hyperlinkvariouso Simple Linear Regression p. 73/80

74 Transform to Linearity o = = Simple Linear Regression p. 74/80

75 Another Example: NELS88 data National Education Longitudinal Study conducted by National Center for Education Statistics of the US department of Education. Data are first in a series of longitudinal measurements of students starting in 8th grade. Data were collected Spring Response variable = Math. Explanatory variable = Time spent doing homework. n = 89. Data from deleeuw/sagebook. Simple Linear Regression p. 75/80

76 Plot of Data What s wrong? Simple Linear Regression p. 76/80

77 The Problem with NELS Homework n Ȳ s 2 Why do we get this pattern? Simple Linear Regression p. 77/80

78 What s Really Going... How can be handle this situation? Simple Linear Regression p. 78/80

79 Summary from our Examples (Most rounded to nearest integer) NELS88 Statistics QuantGRE Adopted Sch Sch n SS model 802,814 1,814 1, SSres 431,639 1, SS total 1,234, , s 2 y 13, s 2ˆɛ 4, s 2 ŷ 8, R Simple Linear Regression p. 79/80

80 Next Steps Adding more explanatory variables to the model. Simple Linear Regression p. 80/80

Simple Linear Regression

Simple Linear Regression Simple Linear Regression In simple linear regression we are concerned about the relationship between two variables, X and Y. There are two components to such a relationship. 1. The strength of the relationship.

More information

Homework 2: Simple Linear Regression

Homework 2: Simple Linear Regression STAT 4385 Applied Regression Analysis Homework : Simple Linear Regression (Simple Linear Regression) Thirty (n = 30) College graduates who have recently entered the job market. For each student, the CGPA

More information

9. Linear Regression and Correlation

9. Linear Regression and Correlation 9. Linear Regression and Correlation Data: y a quantitative response variable x a quantitative explanatory variable (Chap. 8: Recall that both variables were categorical) For example, y = annual income,

More information

Lecture 18: Simple Linear Regression

Lecture 18: Simple Linear Regression Lecture 18: Simple Linear Regression BIOS 553 Department of Biostatistics University of Michigan Fall 2004 The Correlation Coefficient: r The correlation coefficient (r) is a number that measures the strength

More information

Confidence Intervals, Testing and ANOVA Summary

Confidence Intervals, Testing and ANOVA Summary Confidence Intervals, Testing and ANOVA Summary 1 One Sample Tests 1.1 One Sample z test: Mean (σ known) Let X 1,, X n a r.s. from N(µ, σ) or n > 30. Let The test statistic is H 0 : µ = µ 0. z = x µ 0

More information

Lecture 10 Multiple Linear Regression

Lecture 10 Multiple Linear Regression Lecture 10 Multiple Linear Regression STAT 512 Spring 2011 Background Reading KNNL: 6.1-6.5 10-1 Topic Overview Multiple Linear Regression Model 10-2 Data for Multiple Regression Y i is the response variable

More information

Ch 2: Simple Linear Regression

Ch 2: Simple Linear Regression Ch 2: Simple Linear Regression 1. Simple Linear Regression Model A simple regression model with a single regressor x is y = β 0 + β 1 x + ɛ, where we assume that the error ɛ is independent random component

More information

Correlation and Linear Regression

Correlation and Linear Regression Correlation and Linear Regression Correlation: Relationships between Variables So far, nearly all of our discussion of inferential statistics has focused on testing for differences between group means

More information

INFERENCE FOR REGRESSION

INFERENCE FOR REGRESSION CHAPTER 3 INFERENCE FOR REGRESSION OVERVIEW In Chapter 5 of the textbook, we first encountered regression. The assumptions that describe the regression model we use in this chapter are the following. We

More information

Multiple Linear Regression

Multiple Linear Regression Multiple Linear Regression Simple linear regression tries to fit a simple line between two variables Y and X. If X is linearly related to Y this explains some of the variability in Y. In most cases, there

More information

Lecture 3: Inference in SLR

Lecture 3: Inference in SLR Lecture 3: Inference in SLR STAT 51 Spring 011 Background Reading KNNL:.1.6 3-1 Topic Overview This topic will cover: Review of hypothesis testing Inference about 1 Inference about 0 Confidence Intervals

More information

The Simple Linear Regression Model

The Simple Linear Regression Model The Simple Linear Regression Model Lesson 3 Ryan Safner 1 1 Department of Economics Hood College ECON 480 - Econometrics Fall 2017 Ryan Safner (Hood College) ECON 480 - Lesson 3 Fall 2017 1 / 77 Bivariate

More information

Simple linear regression

Simple linear regression Simple linear regression Biometry 755 Spring 2008 Simple linear regression p. 1/40 Overview of regression analysis Evaluate relationship between one or more independent variables (X 1,...,X k ) and a single

More information

Correlation and Regression

Correlation and Regression Correlation and Regression October 25, 2017 STAT 151 Class 9 Slide 1 Outline of Topics 1 Associations 2 Scatter plot 3 Correlation 4 Regression 5 Testing and estimation 6 Goodness-of-fit STAT 151 Class

More information

Regression and correlation. Correlation & Regression, I. Regression & correlation. Regression vs. correlation. Involve bivariate, paired data, X & Y

Regression and correlation. Correlation & Regression, I. Regression & correlation. Regression vs. correlation. Involve bivariate, paired data, X & Y Regression and correlation Correlation & Regression, I 9.07 4/1/004 Involve bivariate, paired data, X & Y Height & weight measured for the same individual IQ & exam scores for each individual Height of

More information

Simple Linear Regression

Simple Linear Regression Simple Linear Regression ST 430/514 Recall: A regression model describes how a dependent variable (or response) Y is affected, on average, by one or more independent variables (or factors, or covariates)

More information

Lecture 2 Simple Linear Regression STAT 512 Spring 2011 Background Reading KNNL: Chapter 1

Lecture 2 Simple Linear Regression STAT 512 Spring 2011 Background Reading KNNL: Chapter 1 Lecture Simple Linear Regression STAT 51 Spring 011 Background Reading KNNL: Chapter 1-1 Topic Overview This topic we will cover: Regression Terminology Simple Linear Regression with a single predictor

More information

Lecture 11: Simple Linear Regression

Lecture 11: Simple Linear Regression Lecture 11: Simple Linear Regression Readings: Sections 3.1-3.3, 11.1-11.3 Apr 17, 2009 In linear regression, we examine the association between two quantitative variables. Number of beers that you drink

More information

REVIEW 8/2/2017 陈芳华东师大英语系

REVIEW 8/2/2017 陈芳华东师大英语系 REVIEW Hypothesis testing starts with a null hypothesis and a null distribution. We compare what we have to the null distribution, if the result is too extreme to belong to the null distribution (p

More information

Intro to Linear Regression

Intro to Linear Regression Intro to Linear Regression Introduction to Regression Regression is a statistical procedure for modeling the relationship among variables to predict the value of a dependent variable from one or more predictor

More information

Models for Clustered Data

Models for Clustered Data Models for Clustered Data Edps/Psych/Soc 589 Carolyn J Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Spring 2019 Outline Notation NELS88 data Fixed Effects ANOVA

More information

SSR = The sum of squared errors measures how much Y varies around the regression line n. It happily turns out that SSR + SSE = SSTO.

SSR = The sum of squared errors measures how much Y varies around the regression line n. It happily turns out that SSR + SSE = SSTO. Analysis of variance approach to regression If x is useless, i.e. β 1 = 0, then E(Y i ) = β 0. In this case β 0 is estimated by Ȳ. The ith deviation about this grand mean can be written: deviation about

More information

AMS 315/576 Lecture Notes. Chapter 11. Simple Linear Regression

AMS 315/576 Lecture Notes. Chapter 11. Simple Linear Regression AMS 315/576 Lecture Notes Chapter 11. Simple Linear Regression 11.1 Motivation A restaurant opening on a reservations-only basis would like to use the number of advance reservations x to predict the number

More information

Multiple Regression. Inference for Multiple Regression and A Case Study. IPS Chapters 11.1 and W.H. Freeman and Company

Multiple Regression. Inference for Multiple Regression and A Case Study. IPS Chapters 11.1 and W.H. Freeman and Company Multiple Regression Inference for Multiple Regression and A Case Study IPS Chapters 11.1 and 11.2 2009 W.H. Freeman and Company Objectives (IPS Chapters 11.1 and 11.2) Multiple regression Data for multiple

More information

Estimating σ 2. We can do simple prediction of Y and estimation of the mean of Y at any value of X.

Estimating σ 2. We can do simple prediction of Y and estimation of the mean of Y at any value of X. Estimating σ 2 We can do simple prediction of Y and estimation of the mean of Y at any value of X. To perform inferences about our regression line, we must estimate σ 2, the variance of the error term.

More information

11 Correlation and Regression

11 Correlation and Regression Chapter 11 Correlation and Regression August 21, 2017 1 11 Correlation and Regression When comparing two variables, sometimes one variable (the explanatory variable) can be used to help predict the value

More information

Models for Clustered Data

Models for Clustered Data Models for Clustered Data Edps/Psych/Stat 587 Carolyn J Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Fall 2017 Outline Notation NELS88 data Fixed Effects ANOVA

More information

Statistical View of Least Squares

Statistical View of Least Squares May 23, 2006 Purpose of Regression Some Examples Least Squares Purpose of Regression Purpose of Regression Some Examples Least Squares Suppose we have two variables x and y Purpose of Regression Some Examples

More information

Regression. Marc H. Mehlman University of New Haven

Regression. Marc H. Mehlman University of New Haven Regression Marc H. Mehlman marcmehlman@yahoo.com University of New Haven the statistician knows that in nature there never was a normal distribution, there never was a straight line, yet with normal and

More information

9 Correlation and Regression

9 Correlation and Regression 9 Correlation and Regression SW, Chapter 12. Suppose we select n = 10 persons from the population of college seniors who plan to take the MCAT exam. Each takes the test, is coached, and then retakes the

More information

Lecture 9: Linear Regression

Lecture 9: Linear Regression Lecture 9: Linear Regression Goals Develop basic concepts of linear regression from a probabilistic framework Estimating parameters and hypothesis testing with linear models Linear regression in R Regression

More information

Inference for Regression

Inference for Regression Inference for Regression Section 9.4 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 13b - 3339 Cathy Poliak, Ph.D. cathy@math.uh.edu

More information

Linear models and their mathematical foundations: Simple linear regression

Linear models and their mathematical foundations: Simple linear regression Linear models and their mathematical foundations: Simple linear regression Steffen Unkel Department of Medical Statistics University Medical Center Göttingen, Germany Winter term 2018/19 1/21 Introduction

More information

Statistics for Engineers Lecture 9 Linear Regression

Statistics for Engineers Lecture 9 Linear Regression Statistics for Engineers Lecture 9 Linear Regression Chong Ma Department of Statistics University of South Carolina chongm@email.sc.edu April 17, 2017 Chong Ma (Statistics, USC) STAT 509 Spring 2017 April

More information

Dr. Junchao Xia Center of Biophysics and Computational Biology. Fall /1/2016 1/46

Dr. Junchao Xia Center of Biophysics and Computational Biology. Fall /1/2016 1/46 BIO5312 Biostatistics Lecture 10:Regression and Correlation Methods Dr. Junchao Xia Center of Biophysics and Computational Biology Fall 2016 11/1/2016 1/46 Outline In this lecture, we will discuss topics

More information

Inference for Regression Inference about the Regression Model and Using the Regression Line

Inference for Regression Inference about the Regression Model and Using the Regression Line Inference for Regression Inference about the Regression Model and Using the Regression Line PBS Chapter 10.1 and 10.2 2009 W.H. Freeman and Company Objectives (PBS Chapter 10.1 and 10.2) Inference about

More information

R 2 and F -Tests and ANOVA

R 2 and F -Tests and ANOVA R 2 and F -Tests and ANOVA December 6, 2018 1 Partition of Sums of Squares The distance from any point y i in a collection of data, to the mean of the data ȳ, is the deviation, written as y i ȳ. Definition.

More information

Chapter 14. Linear least squares

Chapter 14. Linear least squares Serik Sagitov, Chalmers and GU, March 5, 2018 Chapter 14 Linear least squares 1 Simple linear regression model A linear model for the random response Y = Y (x) to an independent variable X = x For a given

More information

Simple Linear Regression Using Ordinary Least Squares

Simple Linear Regression Using Ordinary Least Squares Simple Linear Regression Using Ordinary Least Squares Purpose: To approximate a linear relationship with a line. Reason: We want to be able to predict Y using X. Definition: The Least Squares Regression

More information

Six Sigma Black Belt Study Guides

Six Sigma Black Belt Study Guides Six Sigma Black Belt Study Guides 1 www.pmtutor.org Powered by POeT Solvers Limited. Analyze Correlation and Regression Analysis 2 www.pmtutor.org Powered by POeT Solvers Limited. Variables and relationships

More information

MAT2377. Rafa l Kulik. Version 2015/November/26. Rafa l Kulik

MAT2377. Rafa l Kulik. Version 2015/November/26. Rafa l Kulik MAT2377 Rafa l Kulik Version 2015/November/26 Rafa l Kulik Bivariate data and scatterplot Data: Hydrocarbon level (x) and Oxygen level (y): x: 0.99, 1.02, 1.15, 1.29, 1.46, 1.36, 0.87, 1.23, 1.55, 1.40,

More information

Unit 6 - Introduction to linear regression

Unit 6 - Introduction to linear regression Unit 6 - Introduction to linear regression Suggested reading: OpenIntro Statistics, Chapter 7 Suggested exercises: Part 1 - Relationship between two numerical variables: 7.7, 7.9, 7.11, 7.13, 7.15, 7.25,

More information

Unit 6 - Simple linear regression

Unit 6 - Simple linear regression Sta 101: Data Analysis and Statistical Inference Dr. Çetinkaya-Rundel Unit 6 - Simple linear regression LO 1. Define the explanatory variable as the independent variable (predictor), and the response variable

More information

Correlation and the Analysis of Variance Approach to Simple Linear Regression

Correlation and the Analysis of Variance Approach to Simple Linear Regression Correlation and the Analysis of Variance Approach to Simple Linear Regression Biometry 755 Spring 2009 Correlation and the Analysis of Variance Approach to Simple Linear Regression p. 1/35 Correlation

More information

Chapter 10. Simple Linear Regression and Correlation

Chapter 10. Simple Linear Regression and Correlation Chapter 10. Simple Linear Regression and Correlation In the two sample problems discussed in Ch. 9, we were interested in comparing values of parameters for two distributions. Regression analysis is the

More information

Intro to Linear Regression

Intro to Linear Regression Intro to Linear Regression Introduction to Regression Regression is a statistical procedure for modeling the relationship among variables to predict the value of a dependent variable from one or more predictor

More information

Applied Regression Analysis

Applied Regression Analysis Applied Regression Analysis Lecture 2 January 27, 2005 Lecture #2-1/27/2005 Slide 1 of 46 Today s Lecture Simple linear regression. Partitioning the sum of squares. Tests of significance.. Regression diagnostics

More information

Formal Statement of Simple Linear Regression Model

Formal Statement of Simple Linear Regression Model Formal Statement of Simple Linear Regression Model Y i = β 0 + β 1 X i + ɛ i Y i value of the response variable in the i th trial β 0 and β 1 are parameters X i is a known constant, the value of the predictor

More information

Correlation Analysis

Correlation Analysis Simple Regression Correlation Analysis Correlation analysis is used to measure strength of the association (linear relationship) between two variables Correlation is only concerned with strength of the

More information

Inference for Regression Simple Linear Regression

Inference for Regression Simple Linear Regression Inference for Regression Simple Linear Regression IPS Chapter 10.1 2009 W.H. Freeman and Company Objectives (IPS Chapter 10.1) Simple linear regression p Statistical model for linear regression p Estimating

More information

STAT2012 Statistical Tests 23 Regression analysis: method of least squares

STAT2012 Statistical Tests 23 Regression analysis: method of least squares 23 Regression analysis: method of least squares L23 Regression analysis The main purpose of regression is to explore the dependence of one variable (Y ) on another variable (X). 23.1 Introduction (P.532-555)

More information

CHAPTER 5 LINEAR REGRESSION AND CORRELATION

CHAPTER 5 LINEAR REGRESSION AND CORRELATION CHAPTER 5 LINEAR REGRESSION AND CORRELATION Expected Outcomes Able to use simple and multiple linear regression analysis, and correlation. Able to conduct hypothesis testing for simple and multiple linear

More information

Inference for the Regression Coefficient

Inference for the Regression Coefficient Inference for the Regression Coefficient Recall, b 0 and b 1 are the estimates of the slope β 1 and intercept β 0 of population regression line. We can shows that b 0 and b 1 are the unbiased estimates

More information

Correlation & Simple Regression

Correlation & Simple Regression Chapter 11 Correlation & Simple Regression The previous chapter dealt with inference for two categorical variables. In this chapter, we would like to examine the relationship between two quantitative variables.

More information

This document contains 3 sets of practice problems.

This document contains 3 sets of practice problems. P RACTICE PROBLEMS This document contains 3 sets of practice problems. Correlation: 3 problems Regression: 4 problems ANOVA: 8 problems You should print a copy of these practice problems and bring them

More information

Lecture 10: F -Tests, ANOVA and R 2

Lecture 10: F -Tests, ANOVA and R 2 Lecture 10: F -Tests, ANOVA and R 2 1 ANOVA We saw that we could test the null hypothesis that β 1 0 using the statistic ( β 1 0)/ŝe. (Although I also mentioned that confidence intervals are generally

More information

Section 3: Simple Linear Regression

Section 3: Simple Linear Regression Section 3: Simple Linear Regression Carlos M. Carvalho The University of Texas at Austin McCombs School of Business http://faculty.mccombs.utexas.edu/carlos.carvalho/teaching/ 1 Regression: General Introduction

More information

STA 108 Applied Linear Models: Regression Analysis Spring Solution for Homework #6

STA 108 Applied Linear Models: Regression Analysis Spring Solution for Homework #6 STA 8 Applied Linear Models: Regression Analysis Spring 011 Solution for Homework #6 6. a) = 11 1 31 41 51 1 3 4 5 11 1 31 41 51 β = β1 β β 3 b) = 1 1 1 1 1 11 1 31 41 51 1 3 4 5 β = β 0 β1 β 6.15 a) Stem-and-leaf

More information

Linear Correlation and Regression Analysis

Linear Correlation and Regression Analysis Linear Correlation and Regression Analysis Set Up the Calculator 2 nd CATALOG D arrow down DiagnosticOn ENTER ENTER SCATTER DIAGRAM Positive Linear Correlation Positive Correlation Variables will tend

More information

Introduction and Single Predictor Regression. Correlation

Introduction and Single Predictor Regression. Correlation Introduction and Single Predictor Regression Dr. J. Kyle Roberts Southern Methodist University Simmons School of Education and Human Development Department of Teaching and Learning Correlation A correlation

More information

Inferences for Regression

Inferences for Regression Inferences for Regression An Example: Body Fat and Waist Size Looking at the relationship between % body fat and waist size (in inches). Here is a scatterplot of our data set: Remembering Regression In

More information

STAT 4385 Topic 03: Simple Linear Regression

STAT 4385 Topic 03: Simple Linear Regression STAT 4385 Topic 03: Simple Linear Regression Xiaogang Su, Ph.D. Department of Mathematical Science University of Texas at El Paso xsu@utep.edu Spring, 2017 Outline The Set-Up Exploratory Data Analysis

More information

STAT Chapter 11: Regression

STAT Chapter 11: Regression STAT 515 -- Chapter 11: Regression Mostly we have studied the behavior of a single random variable. Often, however, we gather data on two random variables. We wish to determine: Is there a relationship

More information

Important note: Transcripts are not substitutes for textbook assignments. 1

Important note: Transcripts are not substitutes for textbook assignments. 1 In this lesson we will cover correlation and regression, two really common statistical analyses for quantitative (or continuous) data. Specially we will review how to organize the data, the importance

More information

TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics

TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics Exploring Data: Distributions Look for overall pattern (shape, center, spread) and deviations (outliers). Mean (use a calculator): x = x 1 + x

More information

Lecture 2. Simple linear regression

Lecture 2. Simple linear regression Lecture 2. Simple linear regression Jesper Rydén Department of Mathematics, Uppsala University jesper@math.uu.se Regression and Analysis of Variance autumn 2014 Overview of lecture Introduction, short

More information

Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z).

Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z). Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z). For example P(X.04) =.8508. For z < 0 subtract the value from,

More information

Business Statistics. Lecture 10: Correlation and Linear Regression

Business Statistics. Lecture 10: Correlation and Linear Regression Business Statistics Lecture 10: Correlation and Linear Regression Scatterplot A scatterplot shows the relationship between two quantitative variables measured on the same individuals. It displays the Form

More information

A discussion on multiple regression models

A discussion on multiple regression models A discussion on multiple regression models In our previous discussion of simple linear regression, we focused on a model in which one independent or explanatory variable X was used to predict the value

More information

Can you tell the relationship between students SAT scores and their college grades?

Can you tell the relationship between students SAT scores and their college grades? Correlation One Challenge Can you tell the relationship between students SAT scores and their college grades? A: The higher SAT scores are, the better GPA may be. B: The higher SAT scores are, the lower

More information

Lecture 14 Simple Linear Regression

Lecture 14 Simple Linear Regression Lecture 4 Simple Linear Regression Ordinary Least Squares (OLS) Consider the following simple linear regression model where, for each unit i, Y i is the dependent variable (response). X i is the independent

More information

Chapter 10. Regression. Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania

Chapter 10. Regression. Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania Chapter 10 Regression Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania Scatter Diagrams A graph in which pairs of points, (x, y), are

More information

K. Model Diagnostics. residuals ˆɛ ij = Y ij ˆµ i N = Y ij Ȳ i semi-studentized residuals ω ij = ˆɛ ij. studentized deleted residuals ɛ ij =

K. Model Diagnostics. residuals ˆɛ ij = Y ij ˆµ i N = Y ij Ȳ i semi-studentized residuals ω ij = ˆɛ ij. studentized deleted residuals ɛ ij = K. Model Diagnostics We ve already seen how to check model assumptions prior to fitting a one-way ANOVA. Diagnostics carried out after model fitting by using residuals are more informative for assessing

More information

Probability and Statistics Notes

Probability and Statistics Notes Probability and Statistics Notes Chapter Seven Jesse Crawford Department of Mathematics Tarleton State University Spring 2011 (Tarleton State University) Chapter Seven Notes Spring 2011 1 / 42 Outline

More information

Applied Regression. Applied Regression. Chapter 2 Simple Linear Regression. Hongcheng Li. April, 6, 2013

Applied Regression. Applied Regression. Chapter 2 Simple Linear Regression. Hongcheng Li. April, 6, 2013 Applied Regression Chapter 2 Simple Linear Regression Hongcheng Li April, 6, 2013 Outline 1 Introduction of simple linear regression 2 Scatter plot 3 Simple linear regression model 4 Test of Hypothesis

More information

Chapter 1: Linear Regression with One Predictor Variable also known as: Simple Linear Regression Bivariate Linear Regression

Chapter 1: Linear Regression with One Predictor Variable also known as: Simple Linear Regression Bivariate Linear Regression BSTT523: Kutner et al., Chapter 1 1 Chapter 1: Linear Regression with One Predictor Variable also known as: Simple Linear Regression Bivariate Linear Regression Introduction: Functional relation between

More information

STAT 511. Lecture : Simple linear regression Devore: Section Prof. Michael Levine. December 3, Levine STAT 511

STAT 511. Lecture : Simple linear regression Devore: Section Prof. Michael Levine. December 3, Levine STAT 511 STAT 511 Lecture : Simple linear regression Devore: Section 12.1-12.4 Prof. Michael Levine December 3, 2018 A simple linear regression investigates the relationship between the two variables that is not

More information

13 Simple Linear Regression

13 Simple Linear Regression B.Sc./Cert./M.Sc. Qualif. - Statistics: Theory and Practice 3 Simple Linear Regression 3. An industrial example A study was undertaken to determine the effect of stirring rate on the amount of impurity

More information

Regression Review. Statistics 149. Spring Copyright c 2006 by Mark E. Irwin

Regression Review. Statistics 149. Spring Copyright c 2006 by Mark E. Irwin Regression Review Statistics 149 Spring 2006 Copyright c 2006 by Mark E. Irwin Matrix Approach to Regression Linear Model: Y i = β 0 + β 1 X i1 +... + β p X ip + ɛ i ; ɛ i iid N(0, σ 2 ), i = 1,..., n

More information

Simple Linear Regression

Simple Linear Regression Simple Linear Regression ST 370 Regression models are used to study the relationship of a response variable and one or more predictors. The response is also called the dependent variable, and the predictors

More information

Analysing data: regression and correlation S6 and S7

Analysing data: regression and correlation S6 and S7 Basic medical statistics for clinical and experimental research Analysing data: regression and correlation S6 and S7 K. Jozwiak k.jozwiak@nki.nl 2 / 49 Correlation So far we have looked at the association

More information

Chapter 9. Correlation and Regression

Chapter 9. Correlation and Regression Chapter 9 Correlation and Regression Lesson 9-1/9-2, Part 1 Correlation Registered Florida Pleasure Crafts and Watercraft Related Manatee Deaths 100 80 60 40 20 0 1991 1993 1995 1997 1999 Year Boats in

More information

AMS 7 Correlation and Regression Lecture 8

AMS 7 Correlation and Regression Lecture 8 AMS 7 Correlation and Regression Lecture 8 Department of Applied Mathematics and Statistics, University of California, Santa Cruz Suumer 2014 1 / 18 Correlation pairs of continuous observations. Correlation

More information

1 The Classic Bivariate Least Squares Model

1 The Classic Bivariate Least Squares Model Review of Bivariate Linear Regression Contents 1 The Classic Bivariate Least Squares Model 1 1.1 The Setup............................... 1 1.2 An Example Predicting Kids IQ................. 1 2 Evaluating

More information

Objectives Simple linear regression. Statistical model for linear regression. Estimating the regression parameters

Objectives Simple linear regression. Statistical model for linear regression. Estimating the regression parameters Objectives 10.1 Simple linear regression Statistical model for linear regression Estimating the regression parameters Confidence interval for regression parameters Significance test for the slope Confidence

More information

Simple Linear Regression

Simple Linear Regression Simple Linear Regression Reading: Hoff Chapter 9 November 4, 2009 Problem Data: Observe pairs (Y i,x i ),i = 1,... n Response or dependent variable Y Predictor or independent variable X GOALS: Exploring

More information

Chapter 16. Simple Linear Regression and dcorrelation

Chapter 16. Simple Linear Regression and dcorrelation Chapter 16 Simple Linear Regression and dcorrelation 16.1 Regression Analysis Our problem objective is to analyze the relationship between interval variables; regression analysis is the first tool we will

More information

Simple linear regression

Simple linear regression Simple linear regression Prof. Giuseppe Verlato Unit of Epidemiology & Medical Statistics, Dept. of Diagnostics & Public Health, University of Verona Statistics with two variables two nominal variables:

More information

Mathematics for Economics MA course

Mathematics for Economics MA course Mathematics for Economics MA course Simple Linear Regression Dr. Seetha Bandara Simple Regression Simple linear regression is a statistical method that allows us to summarize and study relationships between

More information

Announcements: You can turn in homework until 6pm, slot on wall across from 2202 Bren. Make sure you use the correct slot! (Stats 8, closest to wall)

Announcements: You can turn in homework until 6pm, slot on wall across from 2202 Bren. Make sure you use the correct slot! (Stats 8, closest to wall) Announcements: You can turn in homework until 6pm, slot on wall across from 2202 Bren. Make sure you use the correct slot! (Stats 8, closest to wall) We will cover Chs. 5 and 6 first, then 3 and 4. Mon,

More information

Stat 135, Fall 2006 A. Adhikari HOMEWORK 10 SOLUTIONS

Stat 135, Fall 2006 A. Adhikari HOMEWORK 10 SOLUTIONS Stat 135, Fall 2006 A. Adhikari HOMEWORK 10 SOLUTIONS 1a) The model is cw i = β 0 + β 1 el i + ɛ i, where cw i is the weight of the ith chick, el i the length of the egg from which it hatched, and ɛ i

More information

regression analysis is a type of inferential statistics which tells us whether relationships between two or more variables exist

regression analysis is a type of inferential statistics which tells us whether relationships between two or more variables exist regression analysis is a type of inferential statistics which tells us whether relationships between two or more variables exist sales $ (y - dependent variable) advertising $ (x - independent variable)

More information

Review of Statistics 101

Review of Statistics 101 Review of Statistics 101 We review some important themes from the course 1. Introduction Statistics- Set of methods for collecting/analyzing data (the art and science of learning from data). Provides methods

More information

ECON3150/4150 Spring 2015

ECON3150/4150 Spring 2015 ECON3150/4150 Spring 2015 Lecture 3&4 - The linear regression model Siv-Elisabeth Skjelbred University of Oslo January 29, 2015 1 / 67 Chapter 4 in S&W Section 17.1 in S&W (extended OLS assumptions) 2

More information

Chapter 1. Linear Regression with One Predictor Variable

Chapter 1. Linear Regression with One Predictor Variable Chapter 1. Linear Regression with One Predictor Variable 1.1 Statistical Relation Between Two Variables To motivate statistical relationships, let us consider a mathematical relation between two mathematical

More information

Lecture 18 MA Applied Statistics II D 2004

Lecture 18 MA Applied Statistics II D 2004 Lecture 18 MA 2612 - Applied Statistics II D 2004 Today 1. Examples of multiple linear regression 2. The modeling process (PNC 8.4) 3. The graphical exploration of multivariable data (PNC 8.5) 4. Fitting

More information

Inference for Regression Inference about the Regression Model and Using the Regression Line, with Details. Section 10.1, 2, 3

Inference for Regression Inference about the Regression Model and Using the Regression Line, with Details. Section 10.1, 2, 3 Inference for Regression Inference about the Regression Model and Using the Regression Line, with Details Section 10.1, 2, 3 Basic components of regression setup Target of inference: linear dependency

More information

Introduction to Simple Linear Regression

Introduction to Simple Linear Regression Introduction to Simple Linear Regression Yang Feng http://www.stat.columbia.edu/~yangfeng Yang Feng (Columbia University) Introduction to Simple Linear Regression 1 / 68 About me Faculty in the Department

More information

Lecture 2 Linear Regression: A Model for the Mean. Sharyn O Halloran

Lecture 2 Linear Regression: A Model for the Mean. Sharyn O Halloran Lecture 2 Linear Regression: A Model for the Mean Sharyn O Halloran Closer Look at: Linear Regression Model Least squares procedure Inferential tools Confidence and Prediction Intervals Assumptions Robustness

More information

2.4.3 Estimatingσ Coefficient of Determination 2.4. ASSESSING THE MODEL 23

2.4.3 Estimatingσ Coefficient of Determination 2.4. ASSESSING THE MODEL 23 2.4. ASSESSING THE MODEL 23 2.4.3 Estimatingσ 2 Note that the sums of squares are functions of the conditional random variables Y i = (Y X = x i ). Hence, the sums of squares are random variables as well.

More information