Unit 10: Simple Linear Regression and Correlation

Size: px
Start display at page:

Download "Unit 10: Simple Linear Regression and Correlation"

Transcription

1 Unt 10: Smple Lnear Regresson and Correlaton Statstcs 571: Statstcal Methods Ramón V. León 6/28/2004 Unt 10 - Stat Ramón V. León 1 Introductory Remarks Regresson analyss s a method for studyng the relatonshp between two or more numercal varables In regresson analyss one of the varables s regarded as a response, outcome or dependent varable The other varables are regarded as predctor, explanatory or ndependent varables An emprcal model approxmately captures the man features of the relatonshp between the response varable and the key predctor varables Sometmes t s not clear whch of two varable should be the response. In ths case correlaton analyss s used. In ths unt we consder only two varables 6/28/2004 Unt 10 - Stat Ramón V. León 2

2 A Probablstc Model for Smple Lnear Regresson 2 Note that the Y are ndependent N( µ = β0 + β1x, σ ) r.v.'s Constant varablty about the regresson lne Notce that the predctor varable s regarded as nonrandom because t s assumed to be set by the nvestgator 6/28/2004 Unt 10 - Stat Ramón V. León 3 A Probablstc Model for Smple Lnear Regresson Let x1, x2,..., xn be specfc settngs of the predctor varable. Let y1, y2,..., yn be the correspondng values of the response varable. Assume that y s the observed value of a random varable (r.v.) Y, whch depends on x accordng to the followng model: Y = β0 + β1x + ε ( = 1, 2,..., n). 2 Here ε s the random error wth E( ε) = 0 and Var( ε) = σ Thus EY ( ) = µ = β0 + β1x (true regresson lne). We assume that ε are ndependent, dentcally dstrbuted (..d.) r.v.'s We also usually assume that the are normally dstrbuted. ε 6/28/2004 Unt 10 - Stat Ramón V. León 4

3 Reflectons on the Method of Tre Data Collecton: Expermental Desgn Mleage Depth Mleage n 1000 mles Depth n mls Was one tre or nne used n the experment? (Read the book!) What effect would ths answer have on the expermental error? on our ablty to generalze to all tres of ths brand? Was the data collected on one or several cars? Does t matter? Was the data collected n random order or n the order gven? Does t matter? Is there a possble confoundng problem? 6/28/2004 Unt 10 - Stat Ramón V. León 5 Example 10.1: Tread Wear vs. Mleage Usng the Ft Y by X platform n the Analyze menu 6/28/2004 Unt 10 - Stat Ramón V. León 6

4 Scatter Plot: Tread Wear vs. Mleage 6/28/2004 Unt 10 - Stat Ramón V. León 7 Least Squares Lne Ft y = ˆ β + ˆ β x 0 1 6/28/2004 Unt 10 - Stat Ramón V. León 8

5 Illustraton: Least Squares Lne Ft The least squares lne ft s the lne that mnmzes the sum of the squares of the lengths of the vertcal segments 6/28/2004 Unt 10 - Stat Ramón V. León 9 Mathematcs of Least Squares Fnd the lne,.e., values of β and β that mnmzes the sum of the squared devatons: [ ( β0 β1 ) ] = 1 How? Solve for values of β and β for whch Q β n Q= y + x Q = 0 and = 0 β 6/28/2004 Unt 10 - Stat Ramón V. León 10

6 Predct Mean Grove Depth for a Gven Mleage For x = 25 (25,000 mles) the predcted y: yˆ = ˆ β + ˆ β (25) = = mls. 0 1 Add a row to the table and leave the y value blank. 6/28/2004 Unt 10 - Stat Ramón V. León 11 Goodness of Ft of the LS Lne Ftted values of y : yˆ = ˆ β + ˆ β x, = 1,2,..., n. 0 1 ( ˆ β ˆ 0 β1 ) Resduals: e = y yˆ = y + x = segment length 6/28/2004 Unt 10 - Stat Ramón V. León 12

7 Sums of Squares Error Sum of Squares (SSE) = Total Sum of Squares (SST) = n n 2 e = y y = 1 = 1 ( y y) = 1 Regresson Sum of Squares (SSR) = ( ˆ ) 2 ( yˆ y) = 1 n 2 n 2 n 2 ( y y) = ( yˆ y) + ( y yˆ ) = 1 = 1 = 1 SST = SSR + SSE n n 2 2 These defntons apply even f the model s more complex than lnear n x, for example, f t s quadratc n x SST s nterpreted as the total varaton n y JMP calls SSR the Model Sums of Square 6/28/2004 Unt 10 - Stat Ramón V. León 13 y y Illustraton of Sums of Squares y y ˆ y yˆ y y 6/28/2004 Unt 10 - Stat Ramón V. León 14

8 Coeffcent of Determnaton SST = SSR + SSE 2 SSR SSE r = = 1 = proporton of the varaton n y SST SST that s accounted for by regresson on x SSR 50, SST = 53, /28/2004 Unt 10 - Stat Ramón V. León 15 s Estmaton of σ 2 n n n 2 e y y y 0 1x 2 = 1 = 1 = 1 2 ( ˆ ) ( ˆ β + ˆ β ) 2 = = = n 2 n 2 n 2 s 2 s Ths estmate has n-2 degrees of freedom because two unknown parameters are estmated. 6/28/2004 Unt 10 - Stat Ramón V. León 16

9 Statstcal Inference for β 0 and β 1 2. Select ˆ β0 β ˆ 0 β1 β1 N(0,1) and N(0,1) SD( ˆ β ) SD( ˆ β ) 0 1 ˆ β β ˆ β β t and t SE( ˆ β ) SE( ˆ β ) n 2 n (1- α)% CI : ˆ β ± t SE( ˆ β ) = 7.28 ± t = 1 n 2, α 2 1 7,0.025 [ ] 7.28 ± = 8.733, ˆ β ˆ 0 ± tn 2, α 2SE( β0) = ± t7, Rght clck on the Parameter Estmate area 6/28/2004 Unt 10 - Stat Ramón V. León 17 Test of Hypothess for β 0 and β 1 H : β = 0 vs. H : β ˆ β 0 ˆ β Reject H at α level f t = = > t SE( ˆ β ) SE( ˆ β ) t n 2, α 2 Tre example: ˆ β 7.28 SE( ˆ β ) = = = t7,.025 = , Strong evdence that mleage affects tread depth. (Two-sded p-value) 6/28/2004 Unt 10 - Stat Ramón V. León 18

10 The Mean Square (MS) s the Sums of Square dvded by ts degrees of freedom, e.g. MSE = SSE/df = /7 = H Analyss of Varance : β = 0 vs. H : β MSR F = MSE = F = = ( ) = t 2 2 F and t relatonshp holds only when the F numerator has one degree of freedom 6/28/2004 Unt 10 - Stat Ramón V. León 19 Predcton of a Future y or Its Mean For a fxed value of x*, are we tryng to predct -the average value of y? -the value of a future observaton of y? Example: Do I want to predct the average sellng prce of all 4,000 square feet houses n my neghborhood. Or do I want to predct the partcular future sellng prce of my 4,000 square feet house? Whch predcton s subject to the most error? 6/28/2004 Unt 10 - Stat Ramón V. León 20

11 Predcton of a Future y or Its Mean: Predcton Interval or Confdence Interval For a fxed value of x*, are we tryng to predct -the average value of y? -the value of a future observaton of y? 6/28/2004 Unt 10 - Stat Ramón V. León 21 JMP: Predcton of the Mean of y Grove Depth (n mls) Mleage (n 1000 Mles 6/28/2004 Unt 10 - Stat Ramón V. León 22

12 JMP: Predcton of a Future Value of y Grove Depth (n mls) Mleage (n 1000 Mles 6/28/2004 Unt 10 - Stat Ramón V. León 23 Formulas for Confdence and Predcton Intervals xx n ( ) 2 S = x x = 1 Predcton Interval of Chapter 7: 6/28/2004 Unt 10 - Stat Ramón V. León 24

13 Confdence and Predcton Intervals wth JMP Usng the Ft Model Platform not the Ft Y by X platform 6/28/2004 Unt 10 - Stat Ramón V. León 25 CI for Mean for µ* 6/28/2004 Unt 10 - Stat Ramón V. León 26

14 Predcton Interval for Y* 6/28/2004 Unt 10 - Stat Ramón V. León 27 Predcton for the Mean of Y or a Future Observaton of Y Pont estmate predcton s the same n both cases: But the error bands are dfferent Narrower for the mean of Y: [158.73, ] Wder for a future value of Y: [129.44, ] 6/28/2004 Unt 10 - Stat Ramón V. León 28

15 Calbraton (Inverse Regresson) 6/28/2004 Unt 10 - Stat Ramón V. León 29 Inverse Regresson n JMP 5: Confdence Interval In Ft Model Platform unchecked 6/28/2004 Unt 10 - Stat Ramón V. León 30

16 Inverse Regresson: Two Types of Confdence Intervals Calbraton s usually used n measurement. Gven that you got a certan measurement what s the true value of the measured quantty? Whch nverse predcton nterval makes more sense? 6/28/2004 Unt 10 - Stat Ramón V. León 31 Measurement Applcaton Suppose you get a measurement of 6.50 on an object. What s a calbraton nterval for ts true value? Data was supposedly obtaned by measurng standards of known true measurement wth a calbrated nstrument How the data was really generated 6/28/2004 Unt 10 - Stat Ramón V. León 32

17 Resduals The resduals are the dfferences between the observed value of y and the predcted value of y yˆ = ˆ β + ˆ β (32) = = mls 0 1 6/28/2004 Unt 10 - Stat Ramón V. León 33 The resduals e = y yˆ Regresson Dagnostcs can be vewed as the "left over" after the model s ftted. If the model s correct, then the e can be vewed as the "estmates" of the random errors ε ' s. As such, the resduals are vtal for checkng the model assumptons. Resdual plots If the model s correct the resduals should have no structure, that s, they should look random on ther plots. 6/28/2004 Unt 10 - Stat Ramón V. León 34

18 Mathematcs of Resduals If the assumed regresson model s correct, then the e ' s are normally dstrbuted wth Ee ( ) = 0 and ( x x) 2 Var( e ) = σ 1 σ f n s large. xx n Sxx The e ' s are not ndependent (even though the ε 's are ndependent) because they satsfy the followng contrants: n =1 =1 However, the dependence ntroduced by these constrants s neglble n n s modestly large, say greater than 20 or so. n e = 0, xe = 0. n ( ) 2 S = x x = 1 6/28/2004 Unt 10 - Stat Ramón V. León 35 Basc Prncple Underlyng Resdual Plots If the assumed model s correct then the resduals should be randomly scattered around 0 and should show no obvous systematc pattern. 6/28/2004 Unt 10 - Stat Ramón V. León 36

19 In Ft Y by X platform: In Ft Model platform: Red trangle menu next to Lnear Ft. Resduals n JMP 6/28/2004 Unt 10 - Stat Ramón V. León 37 Checkng for Lnearty Should E( Y) = β + β x+ β x be ftted rather than EY ( ) = β + β x? Grove Depth (n mls) Resduals Grove Depth (n mls) Mleage (n 1000 Mles Mleage (n 1000 Mles 6/28/2004 Unt 10 - Stat Ramón V. León 38

20 Predcted by Resdual Plot Resduals Grove Depth (n mls) Predcted Grove Depth (n mls) Mleage (n 1000 Mles 6/28/2004 Unt 10 - Stat Ramón V. León 39 Resduals Grove Depth (n mls) What are the advantages of ths plot? Tread Wear Quadratc Model 6/28/2004 Unt 10 - Stat Ramón V. León 40

21 Resduals for Quadratc Model Resduals have a random pattern The Ft Y by X platform was used to get these plots Left plot can also be obtaned usng the Plot Resduals opton 6/28/2004 Unt 10 - Stat Ramón V. León 41 Tread Wear Quadratc Model R 2 was for model lnear n x 6/28/2004 Unt 10 - Stat Ramón V. León 42

22 Checkng for Constant Varance: Plot of Predcted vs. Resdual If assumpton s ncorrect, often Var( Y ) s some functon of EY ( ) = µ 6/28/2004 Unt 10 - Stat Ramón V. León 43 Other Model Dagnostcs Based on Resduals Checkng for normalty of errors: Do a normal plot of the resduals Warnng: Don t plot the response y on a normal plot Ths plot has no meanng when one has regressors Don t transform the data on the bass of ths plot Many students make ths mstake n ther project. Don t be one of them. 6/28/2004 Unt 10 - Stat Ramón V. León 44

23 Other Model Dagnostcs Based on Resduals Ft Model Platform: Checkng for ndependence of errors: Plot the resdual n tme order. The order of data collecton should be always recorded. Use Durbn-Watson statstc to test for autocorrelaton. 6/28/2004 Unt 10 - Stat Ramón V. León 45 Other Model Dagnostcs Based on Resduals Checkng for outlers: See f any standardzed (Studentzed) resdual exceeds 2 (standard devatons) n absolute value. * e e e e = =, = 1,2,..., n. SE( e ) 2 1 ( x x) s s 1 n S xx Also do a box plot of resduals to check for outlers 6/28/2004 Unt 10 - Stat Ramón V. León 46

24 Standardzed (Studentzed) Resduals n JMP 4 Usng the Ft Model JMP platform wth lnear model Should we omt the frst observaton and reft the model? Possble outler The model ftted here s the one lnear n x, not the quadratc model 6/28/2004 Unt 10 - Stat Ramón V. León 47 Checkng for Influental Observatons An observaton can be nfluental because t has an extreme x-value, an extreme y-value, or both Note that the nfluental observaton above are not outlers snce ther resduals are qute small (even zero) 6/28/2004 Unt 10 - Stat Ramón V. León 48

25 Checkng for Influental Observatons n yˆ = h y where the h are some functons of the x's j j j j= 1 H = h j s called the hat matrx We can thnk of the hj as the leverage exerted by yj on the ftted value yˆ. If yˆ s largely determned by y wth very small contrbuton from the other yj's, then we say that the th observatons s nfluental (also called hgh leverage). 6/28/2004 Unt 10 - Stat Ramón V. León 49 e Checkng for Influental Observatons Snce h detemnes how much ˆ y depends on y t s used as a measure of the leverage of the -thobservaton. n Now h = k+ 1 or the average of h s ( k+ 1) / n, = 1 where k s the number of predctor varables varables. * Rule of thumb: Regard any h > 2( k+ 1) / n as hgh leverage. In smple regresson k = 1 and so h > 4 / n s regarded as hgh leverage. e e = = SE( e ) s 1 h 6/28/2004 Unt 10 - Stat Ramón V. León 50 Standardzed (Studentzed) resduals wll be large relatve to the resdual for hgh leverage observatons.

26 Graph of Anscombe Data Observaton n row 8 6/28/2004 Unt 10 - Stat Ramón V. León 51 Checkng for Influental Observatons Ft Model Platform: Anscombe Data Illustraton: > 4 / n= 4 /11 = 0.36 Thus observaton 8 s nfluental Notce: Observaton No. 8 s not an outler snce e ˆ 8 = y8 y8 = 0 6/28/2004 Unt 10 - Stat Ramón V. León 52 h

27 How to Deal wth Outlers and Influental Observatons They can gve a msleadng pcture of the relatonshp between y and x Are they erroneous observatons? If yes, they should be dscarded. If the observaton are vald then they should be ncluded n the analyss Least Squares s very senstve to these observatons. Do analyss wth and wthout outler or nfluental observaton. Or use robust method: Mnmze the sum of the absolute devatons n = 1 y ( β + β x ) 0 1 These estmates are analogous to the sample medan. LS estmates are analogous to the sample mean. 6/28/2004 Unt 10 - Stat Ramón V. León 53 Data Transformatons If the functonal relatonshp between x and y s known t may be possble to fnd a lnearzng transformaton analytcally: β For y = αx take log on both sdes: log y = logα + βlog x β x For y = αe take log on both sdes: log y = logα + βx If we are fttng an emprcal model, then a lnearzng transformaton can be found by tral and error usng the scatter plot as a gude. 6/28/2004 Unt 10 - Stat Ramón V. León 54

28 Scatter Plots and Lnearzng Transformatons 6/28/2004 Unt 10 - Stat Ramón V. León 55 β x y = αe log y = logα β x Tre Tread Wear vs. Mleage: Exponental Model 6/28/2004 Unt 10 - Stat Ramón V. León 56

29 Tre Tread Wear vs. Mleage: Exponental Model WEAR = e e = e MILES.0298MILES 6/28/2004 Unt 10 - Stat Ramón V. León 57 Tre Tread Wear vs. Mleage: Exponental Model For lnear model: R 2 =.953 Resdual plot s stll curved manly because observaton 1 s an outler 6/28/2004 Unt 10 - Stat Ramón V. León 58

30 Weghts and Gas Mleages of Model Year Cars 6/28/2004 Unt 10 - Stat Ramón V. León 59 Weghts and Gas Mleages of Model Year Cars 100 Use transformaton y. The new varable has unts y of gallons per 100 mles. Ths transformaton has the advantage of beng physcally nterpretable. Usng Ft Y by X platform A splne fts the data locally. Our pror curve fts have been global. 6/28/2004 Unt 10 - Stat Ramón V. León 60

31 Weghts and Gas Mleages of Model Year Cars 6/28/2004 Unt 10 - Stat Ramón V. León 61 Varance Stablzng Transformaton α Suppose σ µ We want to fnd a transformaton of y that yelds a constant varance. Suppose the transformaton s a power of the orgnal data, say y* = Y y λ For example: Take the square root of Posson count data snce for data so dstrbuted the mean and the varance are the same 6/28/2004 Unt 10 - Stat Ramón V. León 62

32 Box-Cox Transformaton: Emprcal Determnaton of Best Transformaton Ft Model Platform: λ λ 1 ( ) ( y 1 ) λy λ 0 λ y = yln y λ = 0 n where y = n y = geometrc mean = 1 6/28/2004 Unt 10 - Stat Ramón V. León 63 Transformaton n Tre Data A better ft than than the polynomal and wth one less parameter (3 versus 4) Transform Mleage (n 1000 Mles 6/28/2004 Unt 10 - Stat Ramón V. León 64

33 Weghts and Gas Mleages of Model Year Cars: Box-Cox Transformaton Recprocal transformaton among suggested transformatons 6/28/2004 Unt 10 - Stat Ramón V. León 65 Correlaton Analyss When t s not clear whch s the predctor varable and whch s the response varable When both varables are random Try the bvarate normal dstrbuton as a probablty model for the jont dstrbuton of two r.v. s Parameters: µ X, µ Y, σ X, σy and Cov (X, Y) ρ = Corr(X, Y) = Var(X)Var(Y) The correlaton ρ s a measure of assocaton between the two random varables X and Y. Zero correlaton corresponds to no assocaton. Correlaton of 1 or -1 represents perfect assocaton. 6/28/2004 Unt 10 - Stat Ramón V. León 66

34 Bvarate Normal Densty Functon 6/28/2004 Unt 10 - Stat Ramón V. León 67 Statstcal Inference on the Correlaton Coeffcent R = H n ( X X)( Y Y) = 1 n n 2 2 ( X X) ( Y Y) = 1 = 1 : ρ = 0 vs H : ρ R n-2 Test statstc T = t 2 n 2 1 R Equvalent to testng H : β = 0 vs. H : β 0 Approxmate test statstc avalable to Test nonzero null hypotheses Obtan confdence ntervals for ρ 6/28/2004 Unt 10 - Stat Ramón V. León See textbook

35 Exercse /28/2004 Unt 10 - Stat Ramón V. León 69 Exercse /28/2004 Unt 10 - Stat Ramón V. León 70

36 Exercse By default, a 95% bvarate normal densty ellpse s mposed on each scatterplot. If the varables are bvarate normally dstrbuted, ths ellpse encloses approxmately 95% of the ponts. The correlaton of the varables s seen by the collapsng of the ellpse along the dagonal axs. If the ellpse s farly round and s not dagonally orented, the varables are uncorrelated 6/28/2004 Unt 10 - Stat Ramón V. León 71

Unit 10: Simple Linear Regression and Correlation

Unit 10: Simple Linear Regression and Correlation Unit 10: Simple Linear Regression and Correlation Statistics 571: Statistical Methods Ramón V. León 6/28/2004 Unit 10 - Stat 571 - Ramón V. León 1 Introductory Remarks Regression analysis is a method for

More information

Statistics for Economics & Business

Statistics for Economics & Business Statstcs for Economcs & Busness Smple Lnear Regresson Learnng Objectves In ths chapter, you learn: How to use regresson analyss to predct the value of a dependent varable based on an ndependent varable

More information

Statistics for Managers Using Microsoft Excel/SPSS Chapter 13 The Simple Linear Regression Model and Correlation

Statistics for Managers Using Microsoft Excel/SPSS Chapter 13 The Simple Linear Regression Model and Correlation Statstcs for Managers Usng Mcrosoft Excel/SPSS Chapter 13 The Smple Lnear Regresson Model and Correlaton 1999 Prentce-Hall, Inc. Chap. 13-1 Chapter Topcs Types of Regresson Models Determnng the Smple Lnear

More information

Chapter 11: Simple Linear Regression and Correlation

Chapter 11: Simple Linear Regression and Correlation Chapter 11: Smple Lnear Regresson and Correlaton 11-1 Emprcal Models 11-2 Smple Lnear Regresson 11-3 Propertes of the Least Squares Estmators 11-4 Hypothess Test n Smple Lnear Regresson 11-4.1 Use of t-tests

More information

Learning Objectives for Chapter 11

Learning Objectives for Chapter 11 Chapter : Lnear Regresson and Correlaton Methods Hldebrand, Ott and Gray Basc Statstcal Ideas for Managers Second Edton Learnng Objectves for Chapter Usng the scatterplot n regresson analyss Usng the method

More information

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6 Department of Quanttatve Methods & Informaton Systems Tme Seres and Ther Components QMIS 30 Chapter 6 Fall 00 Dr. Mohammad Zanal These sldes were modfed from ther orgnal source for educatonal purpose only.

More information

1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands

1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands Content. Inference on Regresson Parameters a. Fndng Mean, s.d and covarance amongst estmates.. Confdence Intervals and Workng Hotellng Bands 3. Cochran s Theorem 4. General Lnear Testng 5. Measures of

More information

Comparison of Regression Lines

Comparison of Regression Lines STATGRAPHICS Rev. 9/13/2013 Comparson of Regresson Lnes Summary... 1 Data Input... 3 Analyss Summary... 4 Plot of Ftted Model... 6 Condtonal Sums of Squares... 6 Analyss Optons... 7 Forecasts... 8 Confdence

More information

Basic Business Statistics, 10/e

Basic Business Statistics, 10/e Chapter 13 13-1 Basc Busness Statstcs 11 th Edton Chapter 13 Smple Lnear Regresson Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc. Chap 13-1 Learnng Objectves In ths chapter, you learn: How to use regresson

More information

Y = β 0 + β 1 X 1 + β 2 X β k X k + ε

Y = β 0 + β 1 X 1 + β 2 X β k X k + ε Chapter 3 Secton 3.1 Model Assumptons: Multple Regresson Model Predcton Equaton Std. Devaton of Error Correlaton Matrx Smple Lnear Regresson: 1.) Lnearty.) Constant Varance 3.) Independent Errors 4.) Normalty

More information

Chapter 9: Statistical Inference and the Relationship between Two Variables

Chapter 9: Statistical Inference and the Relationship between Two Variables Chapter 9: Statstcal Inference and the Relatonshp between Two Varables Key Words The Regresson Model The Sample Regresson Equaton The Pearson Correlaton Coeffcent Learnng Outcomes After studyng ths chapter,

More information

Chapter 13: Multiple Regression

Chapter 13: Multiple Regression Chapter 13: Multple Regresson 13.1 Developng the multple-regresson Model The general model can be descrbed as: It smplfes for two ndependent varables: The sample ft parameter b 0, b 1, and b are used to

More information

Lecture 6: Introduction to Linear Regression

Lecture 6: Introduction to Linear Regression Lecture 6: Introducton to Lnear Regresson An Manchakul amancha@jhsph.edu 24 Aprl 27 Lnear regresson: man dea Lnear regresson can be used to study an outcome as a lnear functon of a predctor Example: 6

More information

Negative Binomial Regression

Negative Binomial Regression STATGRAPHICS Rev. 9/16/2013 Negatve Bnomal Regresson Summary... 1 Data Input... 3 Statstcal Model... 3 Analyss Summary... 4 Analyss Optons... 7 Plot of Ftted Model... 8 Observed Versus Predcted... 10 Predctons...

More information

The Ordinary Least Squares (OLS) Estimator

The Ordinary Least Squares (OLS) Estimator The Ordnary Least Squares (OLS) Estmator 1 Regresson Analyss Regresson Analyss: a statstcal technque for nvestgatng and modelng the relatonshp between varables. Applcatons: Engneerng, the physcal and chemcal

More information

Here is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y)

Here is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y) Secton 1.5 Correlaton In the prevous sectons, we looked at regresson and the value r was a measurement of how much of the varaton n y can be attrbuted to the lnear relatonshp between y and x. In ths secton,

More information

Statistics for Business and Economics

Statistics for Business and Economics Statstcs for Busness and Economcs Chapter 11 Smple Regresson Copyrght 010 Pearson Educaton, Inc. Publshng as Prentce Hall Ch. 11-1 11.1 Overvew of Lnear Models n An equaton can be ft to show the best lnear

More information

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding Lecture 9: Lnear regresson: centerng, hypothess testng, multple covarates, and confoundng Sandy Eckel seckel@jhsph.edu 6 May 008 Recall: man dea of lnear regresson Lnear regresson can be used to study

More information

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding Recall: man dea of lnear regresson Lecture 9: Lnear regresson: centerng, hypothess testng, multple covarates, and confoundng Sandy Eckel seckel@jhsph.edu 6 May 8 Lnear regresson can be used to study an

More information

18. SIMPLE LINEAR REGRESSION III

18. SIMPLE LINEAR REGRESSION III 8. SIMPLE LINEAR REGRESSION III US Domestc Beers: Calores vs. % Alcohol Ftted Values and Resduals To each observed x, there corresponds a y-value on the ftted lne, y ˆ ˆ = α + x. The are called ftted values.

More information

28. SIMPLE LINEAR REGRESSION III

28. SIMPLE LINEAR REGRESSION III 8. SIMPLE LINEAR REGRESSION III Ftted Values and Resduals US Domestc Beers: Calores vs. % Alcohol To each observed x, there corresponds a y-value on the ftted lne, y ˆ = βˆ + βˆ x. The are called ftted

More information

Chapter 15 Student Lecture Notes 15-1

Chapter 15 Student Lecture Notes 15-1 Chapter 15 Student Lecture Notes 15-1 Basc Busness Statstcs (9 th Edton) Chapter 15 Multple Regresson Model Buldng 004 Prentce-Hall, Inc. Chap 15-1 Chapter Topcs The Quadratc Regresson Model Usng Transformatons

More information

STAT 3008 Applied Regression Analysis

STAT 3008 Applied Regression Analysis STAT 3008 Appled Regresson Analyss Tutoral : Smple Lnear Regresson LAI Chun He Department of Statstcs, The Chnese Unversty of Hong Kong 1 Model Assumpton To quantfy the relatonshp between two factors,

More information

Introduction to Regression

Introduction to Regression Introducton to Regresson Dr Tom Ilvento Department of Food and Resource Economcs Overvew The last part of the course wll focus on Regresson Analyss Ths s one of the more powerful statstcal technques Provdes

More information

x i1 =1 for all i (the constant ).

x i1 =1 for all i (the constant ). Chapter 5 The Multple Regresson Model Consder an economc model where the dependent varable s a functon of K explanatory varables. The economc model has the form: y = f ( x,x,..., ) xk Approxmate ths by

More information

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also

More information

Statistics MINITAB - Lab 2

Statistics MINITAB - Lab 2 Statstcs 20080 MINITAB - Lab 2 1. Smple Lnear Regresson In smple lnear regresson we attempt to model a lnear relatonshp between two varables wth a straght lne and make statstcal nferences concernng that

More information

Chapter 14 Simple Linear Regression

Chapter 14 Simple Linear Regression Chapter 4 Smple Lnear Regresson Chapter 4 - Smple Lnear Regresson Manageral decsons often are based on the relatonshp between two or more varables. Regresson analss can be used to develop an equaton showng

More information

2016 Wiley. Study Session 2: Ethical and Professional Standards Application

2016 Wiley. Study Session 2: Ethical and Professional Standards Application 6 Wley Study Sesson : Ethcal and Professonal Standards Applcaton LESSON : CORRECTION ANALYSIS Readng 9: Correlaton and Regresson LOS 9a: Calculate and nterpret a sample covarance and a sample correlaton

More information

where I = (n x n) diagonal identity matrix with diagonal elements = 1 and off-diagonal elements = 0; and σ 2 e = variance of (Y X).

where I = (n x n) diagonal identity matrix with diagonal elements = 1 and off-diagonal elements = 0; and σ 2 e = variance of (Y X). 11.4.1 Estmaton of Multple Regresson Coeffcents In multple lnear regresson, we essentally solve n equatons for the p unnown parameters. hus n must e equal to or greater than p and n practce n should e

More information

[The following data appear in Wooldridge Q2.3.] The table below contains the ACT score and college GPA for eight college students.

[The following data appear in Wooldridge Q2.3.] The table below contains the ACT score and college GPA for eight college students. PPOL 59-3 Problem Set Exercses n Smple Regresson Due n class /8/7 In ths problem set, you are asked to compute varous statstcs by hand to gve you a better sense of the mechancs of the Pearson correlaton

More information

Lecture 4 Hypothesis Testing

Lecture 4 Hypothesis Testing Lecture 4 Hypothess Testng We may wsh to test pror hypotheses about the coeffcents we estmate. We can use the estmates to test whether the data rejects our hypothess. An example mght be that we wsh to

More information

Psychology 282 Lecture #24 Outline Regression Diagnostics: Outliers

Psychology 282 Lecture #24 Outline Regression Diagnostics: Outliers Psychology 282 Lecture #24 Outlne Regresson Dagnostcs: Outlers In an earler lecture we studed the statstcal assumptons underlyng the regresson model, ncludng the followng ponts: Formal statement of assumptons.

More information

4 Analysis of Variance (ANOVA) 5 ANOVA. 5.1 Introduction. 5.2 Fixed Effects ANOVA

4 Analysis of Variance (ANOVA) 5 ANOVA. 5.1 Introduction. 5.2 Fixed Effects ANOVA 4 Analyss of Varance (ANOVA) 5 ANOVA 51 Introducton ANOVA ANOVA s a way to estmate and test the means of multple populatons We wll start wth one-way ANOVA If the populatons ncluded n the study are selected

More information

Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 212. Chapters 14, 15 & 16. Professor Ahmadi, Ph.D. Department of Management

Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 212. Chapters 14, 15 & 16. Professor Ahmadi, Ph.D. Department of Management Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 1 Chapters 14, 15 & 16 Professor Ahmad, Ph.D. Department of Management Revsed August 005 Chapter 14 Formulas Smple Lnear Regresson Model: y =

More information

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4) I. Classcal Assumptons Econ7 Appled Econometrcs Topc 3: Classcal Model (Studenmund, Chapter 4) We have defned OLS and studed some algebrac propertes of OLS. In ths topc we wll study statstcal propertes

More information

January Examinations 2015

January Examinations 2015 24/5 Canddates Only January Examnatons 25 DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR STUDENT CANDIDATE NO.. Department Module Code Module Ttle Exam Duraton (n words)

More information

STAT 3340 Assignment 1 solutions. 1. Find the equation of the line which passes through the points (1,1) and (4,5).

STAT 3340 Assignment 1 solutions. 1. Find the equation of the line which passes through the points (1,1) and (4,5). (out of 15 ponts) STAT 3340 Assgnment 1 solutons (10) (10) 1. Fnd the equaton of the lne whch passes through the ponts (1,1) and (4,5). β 1 = (5 1)/(4 1) = 4/3 equaton for the lne s y y 0 = β 1 (x x 0

More information

17 - LINEAR REGRESSION II

17 - LINEAR REGRESSION II Topc 7 Lnear Regresson II 7- Topc 7 - LINEAR REGRESSION II Testng and Estmaton Inferences about β Recall that we estmate Yˆ ˆ β + ˆ βx. 0 μ Y X x β0 + βx usng To estmate σ σ squared error Y X x ε s ε we

More information

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition)

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition) Count Data Models See Book Chapter 11 2 nd Edton (Chapter 10 1 st Edton) Count data consst of non-negatve nteger values Examples: number of drver route changes per week, the number of trp departure changes

More information

Durban Watson for Testing the Lack-of-Fit of Polynomial Regression Models without Replications

Durban Watson for Testing the Lack-of-Fit of Polynomial Regression Models without Replications Durban Watson for Testng the Lack-of-Ft of Polynomal Regresson Models wthout Replcatons Ruba A. Alyaf, Maha A. Omar, Abdullah A. Al-Shha ralyaf@ksu.edu.sa, maomar@ksu.edu.sa, aalshha@ksu.edu.sa Department

More information

Composite Hypotheses testing

Composite Hypotheses testing Composte ypotheses testng In many hypothess testng problems there are many possble dstrbutons that can occur under each of the hypotheses. The output of the source s a set of parameters (ponts n a parameter

More information

First Year Examination Department of Statistics, University of Florida

First Year Examination Department of Statistics, University of Florida Frst Year Examnaton Department of Statstcs, Unversty of Florda May 7, 010, 8:00 am - 1:00 noon Instructons: 1. You have four hours to answer questons n ths examnaton.. You must show your work to receve

More information

Economics 130. Lecture 4 Simple Linear Regression Continued

Economics 130. Lecture 4 Simple Linear Regression Continued Economcs 130 Lecture 4 Contnued Readngs for Week 4 Text, Chapter and 3. We contnue wth addressng our second ssue + add n how we evaluate these relatonshps: Where do we get data to do ths analyss? How do

More information

UNIVERSITY OF TORONTO Faculty of Arts and Science. December 2005 Examinations STA437H1F/STA1005HF. Duration - 3 hours

UNIVERSITY OF TORONTO Faculty of Arts and Science. December 2005 Examinations STA437H1F/STA1005HF. Duration - 3 hours UNIVERSITY OF TORONTO Faculty of Arts and Scence December 005 Examnatons STA47HF/STA005HF Duraton - hours AIDS ALLOWED: (to be suppled by the student) Non-programmable calculator One handwrtten 8.5'' x

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Experment-I MODULE VII LECTURE - 3 ANALYSIS OF COVARIANCE Dr Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Any scentfc experment s performed

More information

Chapter 3 Describing Data Using Numerical Measures

Chapter 3 Describing Data Using Numerical Measures Chapter 3 Student Lecture Notes 3-1 Chapter 3 Descrbng Data Usng Numercal Measures Fall 2006 Fundamentals of Busness Statstcs 1 Chapter Goals To establsh the usefulness of summary measures of data. The

More information

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise.

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise. Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where y + = β + β e for =,..., y and are observable varables e s a random error How can an estmaton rule be constructed for the

More information

Statistics Chapter 4

Statistics Chapter 4 Statstcs Chapter 4 "There are three knds of les: les, damned les, and statstcs." Benjamn Dsrael, 1895 (Brtsh statesman) Gaussan Dstrbuton, 4-1 If a measurement s repeated many tmes a statstcal treatment

More information

Correlation and Regression. Correlation 9.1. Correlation. Chapter 9

Correlation and Regression. Correlation 9.1. Correlation. Chapter 9 Chapter 9 Correlaton and Regresson 9. Correlaton Correlaton A correlaton s a relatonshp between two varables. The data can be represented b the ordered pars (, ) where s the ndependent (or eplanator) varable,

More information

Regression Analysis. Regression Analysis

Regression Analysis. Regression Analysis Regresson Analyss Smple Regresson Multvarate Regresson Stepwse Regresson Replcaton and Predcton Error 1 Regresson Analyss In general, we "ft" a model by mnmzng a metrc that represents the error. n mn (y

More information

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution Department of Statstcs Unversty of Toronto STA35HS / HS Desgn and Analyss of Experments Term Test - Wnter - Soluton February, Last Name: Frst Name: Student Number: Instructons: Tme: hours. Ads: a non-programmable

More information

T E C O L O T E R E S E A R C H, I N C.

T E C O L O T E R E S E A R C H, I N C. T E C O L O T E R E S E A R C H, I N C. B rdg n g En g neern g a nd Econo mcs S nce 1973 THE MINIMUM-UNBIASED-PERCENTAGE ERROR (MUPE) METHOD IN CER DEVELOPMENT Thrd Jont Annual ISPA/SCEA Internatonal Conference

More information

β0 + β1xi and want to estimate the unknown

β0 + β1xi and want to estimate the unknown SLR Models Estmaton Those OLS Estmates Estmators (e ante) v. estmates (e post) The Smple Lnear Regresson (SLR) Condtons -4 An Asde: The Populaton Regresson Functon B and B are Lnear Estmators (condtonal

More information

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION MTH352/MH3510 Regression Analysis

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION MTH352/MH3510 Regression Analysis NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION 014-015 MTH35/MH3510 Regresson Analyss December 014 TIME ALLOWED: HOURS INSTRUCTIONS TO CANDIDATES 1. Ths examnaton paper contans FOUR (4) questons

More information

x yi In chapter 14, we want to perform inference (i.e. calculate confidence intervals and perform tests of significance) in this setting.

x yi In chapter 14, we want to perform inference (i.e. calculate confidence intervals and perform tests of significance) in this setting. The Practce of Statstcs, nd ed. Chapter 14 Inference for Regresson Introducton In chapter 3 we used a least-squares regresson lne (LSRL) to represent a lnear relatonshp etween two quanttatve explanator

More information

PubH 7405: REGRESSION ANALYSIS. SLR: INFERENCES, Part II

PubH 7405: REGRESSION ANALYSIS. SLR: INFERENCES, Part II PubH 7405: REGRESSION ANALSIS SLR: INFERENCES, Part II We cover te topc of nference n two sessons; te frst sesson focused on nferences concernng te slope and te ntercept; ts s a contnuaton on estmatng

More information

β0 + β1xi. You are interested in estimating the unknown parameters β

β0 + β1xi. You are interested in estimating the unknown parameters β Ordnary Least Squares (OLS): Smple Lnear Regresson (SLR) Analytcs The SLR Setup Sample Statstcs Ordnary Least Squares (OLS): FOCs and SOCs Back to OLS and Sample Statstcs Predctons (and Resduals) wth OLS

More information

/ n ) are compared. The logic is: if the two

/ n ) are compared. The logic is: if the two STAT C141, Sprng 2005 Lecture 13 Two sample tests One sample tests: examples of goodness of ft tests, where we are testng whether our data supports predctons. Two sample tests: called as tests of ndependence

More information

CHAPTER 8. Exercise Solutions

CHAPTER 8. Exercise Solutions CHAPTER 8 Exercse Solutons 77 Chapter 8, Exercse Solutons, Prncples of Econometrcs, 3e 78 EXERCISE 8. When = N N N ( x x) ( x x) ( x x) = = = N = = = N N N ( x ) ( ) ( ) ( x x ) x x x x x = = = = Chapter

More information

Answers Problem Set 2 Chem 314A Williamsen Spring 2000

Answers Problem Set 2 Chem 314A Williamsen Spring 2000 Answers Problem Set Chem 314A Wllamsen Sprng 000 1) Gve me the followng crtcal values from the statstcal tables. a) z-statstc,-sded test, 99.7% confdence lmt ±3 b) t-statstc (Case I), 1-sded test, 95%

More information

Diagnostics in Poisson Regression. Models - Residual Analysis

Diagnostics in Poisson Regression. Models - Residual Analysis Dagnostcs n Posson Regresson Models - Resdual Analyss 1 Outlne Dagnostcs n Posson Regresson Models - Resdual Analyss Example 3: Recall of Stressful Events contnued 2 Resdual Analyss Resduals represent

More information

x = , so that calculated

x = , so that calculated Stat 4, secton Sngle Factor ANOVA notes by Tm Plachowsk n chapter 8 we conducted hypothess tests n whch we compared a sngle sample s mean or proporton to some hypotheszed value Chapter 9 expanded ths to

More information

ECONOMICS 351*-A Mid-Term Exam -- Fall Term 2000 Page 1 of 13 pages. QUEEN'S UNIVERSITY AT KINGSTON Department of Economics

ECONOMICS 351*-A Mid-Term Exam -- Fall Term 2000 Page 1 of 13 pages. QUEEN'S UNIVERSITY AT KINGSTON Department of Economics ECOOMICS 35*-A Md-Term Exam -- Fall Term 000 Page of 3 pages QUEE'S UIVERSITY AT KIGSTO Department of Economcs ECOOMICS 35* - Secton A Introductory Econometrcs Fall Term 000 MID-TERM EAM ASWERS MG Abbott

More information

LINEAR REGRESSION ANALYSIS. MODULE VIII Lecture Indicator Variables

LINEAR REGRESSION ANALYSIS. MODULE VIII Lecture Indicator Variables LINEAR REGRESSION ANALYSIS MODULE VIII Lecture - 7 Indcator Varables Dr. Shalabh Department of Maematcs and Statstcs Indan Insttute of Technology Kanpur Indcator varables versus quanttatve explanatory

More information

Predictive Analytics : QM901.1x Prof U Dinesh Kumar, IIMB. All Rights Reserved, Indian Institute of Management Bangalore

Predictive Analytics : QM901.1x Prof U Dinesh Kumar, IIMB. All Rights Reserved, Indian Institute of Management Bangalore Sesson Outlne Introducton to classfcaton problems and dscrete choce models. Introducton to Logstcs Regresson. Logstc functon and Logt functon. Maxmum Lkelhood Estmator (MLE) for estmaton of LR parameters.

More information

Statistics for Managers Using Microsoft Excel/SPSS Chapter 14 Multiple Regression Models

Statistics for Managers Using Microsoft Excel/SPSS Chapter 14 Multiple Regression Models Statstcs for Managers Usng Mcrosoft Excel/SPSS Chapter 14 Multple Regresson Models 1999 Prentce-Hall, Inc. Chap. 14-1 Chapter Topcs The Multple Regresson Model Contrbuton of Indvdual Independent Varables

More information

Cathy Walker March 5, 2010

Cathy Walker March 5, 2010 Cathy Walker March 5, 010 Part : Problem Set 1. What s the level of measurement for the followng varables? a) SAT scores b) Number of tests or quzzes n statstcal course c) Acres of land devoted to corn

More information

IV. Modeling a Mean: Simple Linear Regression

IV. Modeling a Mean: Simple Linear Regression IV. Modelng a Mean: Smple Lnear Regresson We have talked about nference for a sngle mean, for comparng two means, and for comparng several means. What f the mean of one varable depends on the value of

More information

Linear regression. Regression Models. Chapter 11 Student Lecture Notes Regression Analysis is the

Linear regression. Regression Models. Chapter 11 Student Lecture Notes Regression Analysis is the Chapter 11 Student Lecture Notes 11-1 Lnear regresson Wenl lu Dept. Health statstcs School of publc health Tanjn medcal unversty 1 Regresson Models 1. Answer What Is the Relatonshp Between the Varables?.

More information

a. (All your answers should be in the letter!

a. (All your answers should be in the letter! Econ 301 Blkent Unversty Taskn Econometrcs Department of Economcs Md Term Exam I November 8, 015 Name For each hypothess testng n the exam complete the followng steps: Indcate the test statstc, ts crtcal

More information

Correlation and Regression

Correlation and Regression Correlaton and Regresson otes prepared by Pamela Peterson Drake Index Basc terms and concepts... Smple regresson...5 Multple Regresson...3 Regresson termnology...0 Regresson formulas... Basc terms and

More information

Chap 10: Diagnostics, p384

Chap 10: Diagnostics, p384 Chap 10: Dagnostcs, p384 Multcollnearty 10.5 p406 Defnton Multcollnearty exsts when two or more ndependent varables used n regresson are moderately or hghly correlated. - when multcollnearty exsts, regresson

More information

Regression. The Simple Linear Regression Model

Regression. The Simple Linear Regression Model Regresson Smple Lnear Regresson Model Least Squares Method Coeffcent of Determnaton Model Assumptons Testng for Sgnfcance Usng the Estmated Regresson Equaton for Estmaton and Predcton Resdual Analss: Valdatng

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

Professor Chris Murray. Midterm Exam

Professor Chris Murray. Midterm Exam Econ 7 Econometrcs Sprng 4 Professor Chrs Murray McElhnney D cjmurray@uh.edu Mdterm Exam Wrte your answers on one sde of the blank whte paper that I have gven you.. Do not wrte your answers on ths exam.

More information

F statistic = s2 1 s 2 ( F for Fisher )

F statistic = s2 1 s 2 ( F for Fisher ) Stat 4 ANOVA Analyss of Varance /6/04 Comparng Two varances: F dstrbuton Typcal Data Sets One way analyss of varance : example Notaton for one way ANOVA Comparng Two varances: F dstrbuton We saw that the

More information

Biostatistics 360 F&t Tests and Intervals in Regression 1

Biostatistics 360 F&t Tests and Intervals in Regression 1 Bostatstcs 360 F&t Tests and Intervals n Regresson ORIGIN Model: Y = X + Corrected Sums of Squares: X X bar where: s the y ntercept of the regresson lne (translaton) s the slope of the regresson lne (scalng

More information

Scatter Plot x

Scatter Plot x Construct a scatter plot usng excel for the gven data. Determne whether there s a postve lnear correlaton, negatve lnear correlaton, or no lnear correlaton. Complete the table and fnd the correlaton coeffcent

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Experment-I MODULE VIII LECTURE - 34 ANALYSIS OF VARIANCE IN RANDOM-EFFECTS MODEL AND MIXED-EFFECTS EFFECTS MODEL Dr Shalabh Department of Mathematcs and Statstcs Indan

More information

Linear Regression Analysis: Terminology and Notation

Linear Regression Analysis: Terminology and Notation ECON 35* -- Secton : Basc Concepts of Regresson Analyss (Page ) Lnear Regresson Analyss: Termnology and Notaton Consder the generc verson of the smple (two-varable) lnear regresson model. It s represented

More information

Chapter 4: Regression With One Regressor

Chapter 4: Regression With One Regressor Chapter 4: Regresson Wth One Regressor Copyrght 2011 Pearson Addson-Wesley. All rghts reserved. 1-1 Outlne 1. Fttng a lne to data 2. The ordnary least squares (OLS) lne/regresson 3. Measures of ft 4. Populaton

More information

Chapter 8 Indicator Variables

Chapter 8 Indicator Variables Chapter 8 Indcator Varables In general, e explanatory varables n any regresson analyss are assumed to be quanttatve n nature. For example, e varables lke temperature, dstance, age etc. are quanttatve n

More information

SIMPLE LINEAR REGRESSION and CORRELATION

SIMPLE LINEAR REGRESSION and CORRELATION Expermental Desgn and Statstcal Methods Workshop SIMPLE LINEAR REGRESSION and CORRELATION Jesús Pedrafta Arlla jesus.pedrafta@uab.cat Departament de Cènca Anmal dels Alments Items Correlaton: degree of

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Exerments-I MODULE III LECTURE - 2 EXPERIMENTAL DESIGN MODELS Dr. Shalabh Deartment of Mathematcs and Statstcs Indan Insttute of Technology Kanur 2 We consder the models

More information

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity LINEAR REGRESSION ANALYSIS MODULE IX Lecture - 30 Multcollnearty Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur 2 Remedes for multcollnearty Varous technques have

More information

e i is a random error

e i is a random error Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where + β + β e for,..., and are observable varables e s a random error How can an estmaton rule be constructed for the unknown

More information

Laboratory 1c: Method of Least Squares

Laboratory 1c: Method of Least Squares Lab 1c, Least Squares Laboratory 1c: Method of Least Squares Introducton Consder the graph of expermental data n Fgure 1. In ths experment x s the ndependent varable and y the dependent varable. Clearly

More information

ECONOMETRICS - FINAL EXAM, 3rd YEAR (GECO & GADE)

ECONOMETRICS - FINAL EXAM, 3rd YEAR (GECO & GADE) ECONOMETRICS - FINAL EXAM, 3rd YEAR (GECO & GADE) June 7, 016 15:30 Frst famly name: Name: DNI/ID: Moble: Second famly Name: GECO/GADE: Instructor: E-mal: Queston 1 A B C Blank Queston A B C Blank Queston

More information

STATISTICS QUESTIONS. Step by Step Solutions.

STATISTICS QUESTIONS. Step by Step Solutions. STATISTICS QUESTIONS Step by Step Solutons www.mathcracker.com 9//016 Problem 1: A researcher s nterested n the effects of famly sze on delnquency for a group of offenders and examnes famles wth one to

More information

ANSWERS CHAPTER 9. TIO 9.2: If the values are the same, the difference is 0, therefore the null hypothesis cannot be rejected.

ANSWERS CHAPTER 9. TIO 9.2: If the values are the same, the difference is 0, therefore the null hypothesis cannot be rejected. ANSWERS CHAPTER 9 THINK IT OVER thnk t over TIO 9.: χ 2 k = ( f e ) = 0 e Breakng the equaton down: the test statstc for the ch-squared dstrbuton s equal to the sum over all categores of the expected frequency

More information

PHYS 450 Spring semester Lecture 02: Dealing with Experimental Uncertainties. Ron Reifenberger Birck Nanotechnology Center Purdue University

PHYS 450 Spring semester Lecture 02: Dealing with Experimental Uncertainties. Ron Reifenberger Birck Nanotechnology Center Purdue University PHYS 45 Sprng semester 7 Lecture : Dealng wth Expermental Uncertantes Ron Refenberger Brck anotechnology Center Purdue Unversty Lecture Introductory Comments Expermental errors (really expermental uncertantes)

More information

Topic- 11 The Analysis of Variance

Topic- 11 The Analysis of Variance Topc- 11 The Analyss of Varance Expermental Desgn The samplng plan or expermental desgn determnes the way that a sample s selected. In an observatonal study, the expermenter observes data that already

More information

Biostatistics. Chapter 11 Simple Linear Correlation and Regression. Jing Li

Biostatistics. Chapter 11 Simple Linear Correlation and Regression. Jing Li Bostatstcs Chapter 11 Smple Lnear Correlaton and Regresson Jng L jng.l@sjtu.edu.cn http://cbb.sjtu.edu.cn/~jngl/courses/2018fall/b372/ Dept of Bonformatcs & Bostatstcs, SJTU Recall eat chocolate Cell 175,

More information

Lecture 16 Statistical Analysis in Biomaterials Research (Part II)

Lecture 16 Statistical Analysis in Biomaterials Research (Part II) 3.051J/0.340J 1 Lecture 16 Statstcal Analyss n Bomaterals Research (Part II) C. F Dstrbuton Allows comparson of varablty of behavor between populatons usng test of hypothess: σ x = σ x amed for Brtsh statstcan

More information

Interval Estimation in the Classical Normal Linear Regression Model. 1. Introduction

Interval Estimation in the Classical Normal Linear Regression Model. 1. Introduction ECONOMICS 35* -- NOTE 7 ECON 35* -- NOTE 7 Interval Estmaton n the Classcal Normal Lnear Regresson Model Ths note outlnes the basc elements of nterval estmaton n the Classcal Normal Lnear Regresson Model

More information

Topic 7: Analysis of Variance

Topic 7: Analysis of Variance Topc 7: Analyss of Varance Outlne Parttonng sums of squares Breakdown the degrees of freedom Expected mean squares (EMS) F test ANOVA table General lnear test Pearson Correlaton / R 2 Analyss of Varance

More information

is the calculated value of the dependent variable at point i. The best parameters have values that minimize the squares of the errors

is the calculated value of the dependent variable at point i. The best parameters have values that minimize the squares of the errors Multple Lnear and Polynomal Regresson wth Statstcal Analyss Gven a set of data of measured (or observed) values of a dependent varable: y versus n ndependent varables x 1, x, x n, multple lnear regresson

More information

Chapter 3. Two-Variable Regression Model: The Problem of Estimation

Chapter 3. Two-Variable Regression Model: The Problem of Estimation Chapter 3. Two-Varable Regresson Model: The Problem of Estmaton Ordnary Least Squares Method (OLS) Recall that, PRF: Y = β 1 + β X + u Thus, snce PRF s not drectly observable, t s estmated by SRF; that

More information

Polynomial Regression Models

Polynomial Regression Models LINEAR REGRESSION ANALYSIS MODULE XII Lecture - 6 Polynomal Regresson Models Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Test of sgnfcance To test the sgnfcance

More information