Basic Business Statistics, 10/e

Size: px
Start display at page:

Download "Basic Business Statistics, 10/e"

Transcription

1 Chapter 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 analyss to predct the value of a dependent varable based on an ndependent varable The meanng of the regresson coeffcents b 0 and b 1 How to evaluate the assumptons of regresson analyss and know what to do f the assumptons are volated To make nferences about the slope and correlaton coeffcent To estmate mean values and predct ndvdual values Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

2 Chapter Correlaton vs. Regresson A scatter plot can be used to show the relatonshp between two varables Correlaton analyss s used to measure the strength of the assocaton (lnear relatonshp) between two varables Correlaton s only concerned wth strength of the relatonshp No causal effect s mpled wth correlaton Scatter plots were frst presented n Ch. Correlaton was frst presented n Ch. 3 Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap 13-3 Introducton to Regresson Analyss Regresson analyss s used to: Predct the value of a dependent varable based on the value of at least one ndependent varable Explan the mpact of changes n an ndependent varable on the dependent varable Dependent varable: the varable we wsh to predct or explan Independent varable: the varable used to predct or explan the dependent varable Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

3 Chapter Smple Lnear Regresson Model Only one ndependent varable, X Relatonshp between X and s descrbed by a lnear functon Changes n are assumed to be related to changes n X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap 13-5 Types of Relatonshps Lnear relatonshps Curvlnear relatonshps X X X X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

4 Chapter Types of Relatonshps (contnued) Strong relatonshps Weak relatonshps X X X X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap 13-7 Types of Relatonshps (contnued) No relatonshp X X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

5 Chapter Correlaton Coeffcent The populaton correlaton coeffcent ρ (rho) measures the strength of the assocaton between the varables The sample correlaton coeffcent r s an estmate of ρ and s used to measure the strength of the lnear relatonshp n the sample observatons (contnued) Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap 13-9 Features of ρ and r Unt free Range between -1 and 1 The closer to -1, the stronger the negatve lnear relatonshp The closer to 1, the stronger the postve lnear relatonshp The closer to 0, the weaker the lnear relatonshp Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap Prentce Hall, Inc.

6 Chapter Examples of Approxmate r Values y y y x r = -1 r = -.6 r = 0 y y x x x r = +.3 r = +1 Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap x Calculatng the Correlaton Coeffcent Sample correlaton coeffcent: r r or the algebrac equvalent: [n( [ (x (x x)(y y) x) ][ where: r = Sample correlaton coeffcent n = Sample sze x = Value of the ndependent Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap 13-1 (y y) ] n xy xy x ) ( x) ][n( y ) ( y) ] 006 Prentce Hall, Inc.

7 Chapter Calculaton Example Tree Heght Trunk Dameter y x xy y x =31 =73 =314 =14111 =713 Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap Tree Heg ht, y 70 Calculaton Example r (contnued) n xy x y [n( x ) ( x) ][n( y ) ( y) ] (314) (73)(31) [8(713) (73) ][8(14111) (31) ] Trunk Dameter, x r = relatvely strong postve lnear assocaton between x and y Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap Prentce Hall, Inc.

8 Chapter Excel Output Excel Correlaton Output Tools / data analyss / correlaton Tree Heght Trunk Dameter Tree Heght 1 Trunk Dameter Correlaton between Tree Heght and Trunk Dameter Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap Sgnfcance Test for Correlaton Hypotheses H 0 : ρ = 0 H A : ρ 0 (no correlaton) (correlaton exsts) Test statstc t r (wth n degrees of freedom) 1 r n Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap Prentce Hall, Inc.

9 Chapter Example: Produce Stores Is there evdence of a lnear relatonshp between tree heght and trunk dameter at the.05 level of sgnfcance? H 0 : ρ = 0 H 1 : ρ 0 (No correlaton) (correlaton exsts) =.05, df = 8 - = 6 t r 1 r n Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap Example: Test Soluton r t 1 r n d.f. = 8- = 6 /= /=.05 Decson: Reject H 0 Concluson: There s evdence of a lnear relatonshp at the 5% level of sgnfcance Reject H 0 -t α/ Do not reject H 0 0 Reject H t 0 α/ Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap Prentce Hall, Inc.

10 Chapter Introducton to Regresson Analyss Regresson analyss s used to: Predct the value of a dependent varable based on the value of at least one ndependent varable Explan the mpact of changes n an ndependent varable on the dependent varable Dependent varable: the varable we wsh to explan Independent varable: the varable used to explan the dependent varable Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap Smple Lnear Regresson Model Only one ndependent varable, x Relatonshp between x and y s descrbed by a lnear functon Changes n y are assumed to be caused by changes n x Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap Prentce Hall, Inc.

11 Chapter Types of Regresson Models Postve Lnear Relatonshp Relatonshp NOT Lnear Negatve Lnear Relatonshp No Relatonshp Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap 13-1 Smple Lnear Regresson Model Dependent Varable Populaton ntercept β 0 Populaton Slope Coeffcent β X 1 Independent Varable ε Random Error term Lnear component Random Error component Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

12 Chapter Observed Value of for X Smple Lnear Regresson Model β 0 β X 1 ε (contnued) Predcted Value of for X ε Random Error for ths X value Slope = β 1 Intercept = β 0 X X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap 13-3 Smple Lnear Regresson Equaton (Predcton Lne) The smple lnear regresson equaton provdes an estmate of the populaton regresson lne Estmated (or predcted) value for observaton Estmate of the regresson ntercept Estmate of the regresson slope Ŷ b 0 b 1 X Value of X for observaton Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

13 Chapter Least Squares Crteron b 0 and b 1 are obtaned by fndng the values of b 0 and b 1 that mnmze the sum of the squared resduals e (y ŷ) (y (b 0 b 1 x)) Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap 13-5 The Least Squares Equaton The formulas for b 1 and b 0 are: b 1 ( x x)( y y) ( x x) algebrac equvalent: x y xy b n 1 ( x) x n and b0 y b1 x Busness Statstcs: A Decson-Makng Approach, 6e 005 Prentce-Hall, Inc. Chap Prentce Hall, Inc.

14 Chapter The Least Squares Method mn b 0 and b 1 are obtaned by fndng the values of that mnmze the sum of the squared dfferences between and Ŷ : ( Ŷ ) mn ( (b0 b1x )) Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap 13-7 Fndng the Least Squares Equaton The coeffcents b 0 and b 1, and other regresson results n ths chapter, wll be found usng Excel or Mntab Formulas are shown n the text for those who are nterested Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

15 Chapter Interpretaton of the Slope and the Intercept b 0 s the estmated average value of when the value of X s zero b 1 s the estmated change n the average value of as a result of a one-unt change n X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap 13-9 Smple Lnear Regresson Example A real estate agent wshes to examne the relatonshp between the sellng prce of a home and ts sze (measured n square feet) A random sample of 10 houses s selected Dependent varable () = house prce n $1000s Independent varable (X) = square feet Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

16 House Prce ($1000s) Chapter Smple Lnear Regresson Example: Data House Prce n $1000s () Square Feet (X) Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Smple Lnear Regresson Example: Scatter Plot House prce model: Scatter Plot Square Feet Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

17 Chapter Smple Lnear Regresson Example: Usng Excel Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Smple Lnear Regresson Example: Excel Output Regresson Statstcs Multple R R Square Adjusted R Square Standard Error Observatons 10 The regresson equaton s: houseprce (squarefeet) ANOVA df SS MS F Sgnfcance F Regresson Resdual Total Coeffcents Standard Error t Stat P-value Lower 95% Upper 95% Intercept Square Feet Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

18 House Prce ($1000s) Chapter Smple Lnear Regresson Example: Mntab Output The regresson equaton s Prce = Square Feet Predctor Coef SE Coef T P Constant Square Feet The regresson equaton s: house prce = (square feet) S = R-Sq = 58.1% R-Sq(adj) = 5.8% Analyss of Varance Source DF SS MS F P Regresson Resdual Error Total Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Smple Lnear Regresson Example: Graphcal Representaton House prce model: Scatter Plot and Predcton Lne Intercept = Square Feet Slope = houseprce (squarefeet) Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

19 Chapter Smple Lnear Regresson Example: Interpretaton of b o houseprce (squarefeet) b 0 s the estmated average value of when the value of X s zero (f X = 0 s n the range of observed X values) Because a house cannot have a square footage of 0, b 0 has no practcal applcaton Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Smple Lnear Regresson Example: Interpretng b 1 houseprce (squarefeet) b 1 estmates the change n the average value of as a result of a one-unt ncrease n X Here, b 1 = tells us that the mean value of a house ncreases by.10977($1000) = $109.77, on average, for each addtonal one square foot of sze Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

20 House Prce ($1000s) Chapter Smple Lnear Regresson Example: Makng Predctons Predct the prce for a house wth 000 square feet: houseprce (sq.ft.) (000) The predcted prce for a house wth 000 square feet s ($1,000s) = $317,850 Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Smple Lnear Regresson Example: Makng Predctons When usng a regresson model for predcton, only predct wthn the relevant range of data Relevant range for nterpolaton Do not try to extrapolate beyond the range of observed X s Square Feet Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

21 Chapter Measures of Varaton Total varaton s made up of two parts: SST SSR SSE Total Sum of Squares Regresson Sum of Squares Error Sum of Squares SST ( SSR (Ŷ SSE ( Ŷ ) ) ) where: = Mean value of the dependent varable = Observed value of the dependent varable ˆ = Predcted value of for the gven X value Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Measures of Varaton (contnued) SST = total sum of squares (Total Varaton) Measures the varaton of the values around ther mean SSR = regresson sum of squares (Explaned Varaton) Varaton attrbutable to the relatonshp between X and SSE = error sum of squares (Unexplaned Varaton) Varaton n attrbutable to factors other than X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

22 Chapter SST = ( - ) Measures of Varaton SSE = ( - ) _ SSR = ( - ) (contnued) _ X X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Coeffcent of Determnaton, r The coeffcent of determnaton s the porton of the total varaton n the dependent varable that s explaned by varaton n the ndependent varable The coeffcent of determnaton s also called r-squared and s denoted as r r SSR regresson sum of squares SST total sum of squares note: 0 r 1 Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

23 Chapter Examples of Approxmate r Values r = 1 r = 1 X Perfect lnear relatonshp between X and : 100% of the varaton n s explaned by varaton n X r = 1 X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Examples of Approxmate r Values X 0 < r < 1 Weaker lnear relatonshps between X and : Some but not all of the varaton n s explaned by varaton n X X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

24 Chapter Examples of Approxmate r Values r = 0 No lnear relatonshp between X and : r = 0 X The value of does not depend on X. (None of the varaton n s explaned by varaton n X) Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Smple Lnear Regresson Example: Coeffcent of Determnaton, r n Excel Regresson Statstcs Multple R R Square Adjusted R Square Standard Error Observatons 10 r SSR SST % of the varaton n house prces s explaned by varaton n square feet ANOVA df SS MS F Sgnfcance F Regresson Resdual Total Coeffcents Standard Error t Stat P-value Lower 95% Upper 95% Intercept Square Feet Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

25 Chapter Smple Lnear Regresson Example: Coeffcent of Determnaton, r n Mntab The regresson equaton s Prce = Square Feet Predctor Coef SE Coef T P Constant Square Feet S = R-Sq = 58.1% R-Sq(adj) = 5.8% Analyss of Varance Source DF SS MS F P Regresson Resdual Error Total r SSR SST % of the varaton n house prces s explaned by varaton n square feet Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Standard Error of Estmate The standard devaton of the varaton of observatons around the regresson lne s estmated by S Where X SSE n 1 SSE = error sum of squares n = sample sze n ( ˆ n ) Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

26 Chapter Smple Lnear Regresson Example: Standard Error of Estmate n Excel Regresson Statstcs Multple R R Square Adjusted R Square Standard Error Observatons 10 S X ANOVA df SS MS F Sgnfcance F Regresson Resdual Total Coeffcents Standard Error t Stat P-value Lower 95% Upper 95% Intercept Square Feet Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Smple Lnear Regresson Example: Standard Error of Estmate n Mntab The regresson equaton s Prce = Square Feet Predctor Coef SE Coef T P Constant Square Feet S = R-Sq = 58.1% R-Sq(adj) = 5.8% S X Analyss of Varance Source DF SS MS F P Regresson Resdual Error Total Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

27 Chapter Comparng Standard Errors S X s a measure of the varaton of observed values from the regresson lne smalls X X large S X X The magntude of S X should always be judged relatve to the sze of the values n the sample data.e., S X = $41.33K s moderately small relatve to house prces n the $00K - $400K range Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Assumptons of Regresson L.I.N.E Lnearty The relatonshp between X and s lnear Independence of Errors Error values are statstcally ndependent Normalty of Error Error values are normally dstrbuted for any gven value of X Equal Varance (also called homoscedastcty) The probablty dstrbuton of the errors has constant varance Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

28 resduals resduals Chapter Resdual Analyss e The resdual for observaton, e, s the dfference between ts observed and predcted value Check the assumptons of regresson by examnng the resduals Examne for lnearty assumpton Evaluate ndependence assumpton Evaluate normal dstrbuton assumpton Examne for constant varance for all levels of X (homoscedastcty) Graphcal Analyss of Resduals Can plot resduals vs. X Ŷ Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Resdual Analyss for Lnearty x x x x Not Lnear Lnear Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

29 resduals resduals resduals Chapter Resdual Analyss for Independence Not Independent Independent X X X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Checkng for Normalty Examne the Stem-and-Leaf Dsplay of the Resduals Examne the Boxplot of the Resduals Examne the Hstogram of the Resduals Construct a Normal Probablty Plot of the Resduals Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

30 resduals resduals Chapter Resdual Analyss for Normalty When usng a normal probablty plot, normal errors wll approxmately dsplay n a straght lne Percent Resdual Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Resdual Analyss for Equal Varance x x x x Non-constant varance Constant varance Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

31 Resduals Chapter Smple Lnear Regresson Example: Excel Resdual Output RESIDUAL OUTPUT Predcted House Prce Resduals House Prce Model Resdual Plot Square Feet Does not appear to volate any regresson assumptons Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Measurng Autocorrelaton: The Durbn-Watson Statstc Used when data are collected over tme to detect f autocorrelaton s present Autocorrelaton exsts f resduals n one tme perod are related to resduals n another perod Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

32 Resduals Chapter Autocorrelaton Autocorrelaton s correlaton of the errors (resduals) over tme Tme (t) Resdual Plot Here, resduals show a cyclc pattern, not random. Cyclcal patterns are a sgn of postve autocorrelaton Tme (t) Volates the regresson assumpton that resduals are random and ndependent Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap The Durbn-Watson Statstc The Durbn-Watson statstc s used to test for autocorrelaton H 0 : resduals are not correlated H 1 : postve autocorrelaton s present D n (e e n 1 e ) 1 The possble range s 0 D 4 D should be close to f H 0 s true D less than may sgnal postve autocorrelaton, D greater than may sgnal negatve autocorrelaton Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

33 Sales Chapter Testng for Postve Autocorrelaton H 0 : postve autocorrelaton does not exst H 1 : postve autocorrelaton s present Calculate the Durbn-Watson test statstc = D (The Durbn-Watson Statstc can be found usng Excel or Mntab) Fnd the values d L and d U from the Durbn-Watson table (for sample sze n and number of ndependent varables k) Decson rule: reject H 0 f D < d L Reject H 0 Inconclusve Do not reject H 0 0 d L d U Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Testng for Postve Autocorrelaton (contnued) Suppose we have the followng tme seres data: y = x R = Tme Is there autocorrelaton? Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

34 Sales Chapter Example wth n = 5: Excel/PHStat output: Durbn-Watson Calculatons Sum of Squared Dfference of Resduals Sum of Squared Resduals Durbn-Watson Statstc Testng for Postve Autocorrelaton y = x R = Tme (contnued) D n (e e n 1 e ) Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Testng for Postve Autocorrelaton (contnued) Here, n = 5 and there s k = 1 one ndependent varable Usng the Durbn-Watson table, d L = 1.9 and d U = 1.45 D = < d L = 1.9, so reject H 0 and conclude that sgnfcant postve autocorrelaton exsts Decson: reject H 0 snce D = < d L Reject H 0 Inconclusve Do not reject H 0 d L =1.9 0 d U =1.45 Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

35 Chapter Inferences About the Slope The standard error of the regresson slope coeffcent (b 1 ) s estmated by Sb 1 S X SSX S X (X X) where: S b1 = Estmate of the standard error of the slope S X SSE n = Standard error of the estmate Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Inferences About the Slope: t Test t test for a populaton slope Is there a lnear relatonshp between X and? Null and alternatve hypotheses H 0 : β 1 = 0 (no lnear relatonshp) H 1 : β 1 0 (lnear relatonshp does exst) Test statstc t STAT b 1 S β b 1 d.f. n 1 where: b 1 = regresson slope coeffcent β 1 = hypotheszed slope S b1 = standard error of the slope Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

36 Chapter Inferences About the Slope: t Test Example House Prce n $1000s (y) Square Feet (x) Estmated Regresson Equaton: houseprce (sq.ft.) The slope of ths model s Is there a relatonshp between the square footage of the house and ts sales prce? Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Inferences About the Slope: t Test Example From Excel output: H 0 : β 1 = 0 H 1 : β 1 0 Coeffcents Standard Error t Stat P-value Intercept Square Feet From Mntab output: b 1 S b1 Predctor Coef SE Coef T P Constant Square Feet b 1 S b 1 t STAT b β 1 1 S b Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

37 Chapter Inferences About the Slope: t Test Example Test Statstc: t STAT = 3.39 H 0 : β 1 = 0 H 1 : β 1 0 d.f. = 10- = 8 /=.05 /=.05 Reject H 0 Reject H 0 Do not reject H -t 0 α/ t 0 α/ Decson: Reject H 0 There s suffcent evdence that square footage affects house prce Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Inferences About the Slope: t Test Example H 0 : β 1 = 0 H 1 : β 1 0 From Excel output: Coeffcents Standard Error t Stat P-value Intercept Square Feet From Mntab output: Predctor Coef SE Coef T P Constant Square Feet Decson: Reject H 0, snce p-value < α There s suffcent evdence that square footage affects house prce. p-value Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

38 Chapter F Test for Sgnfcance F Test statstc: F STAT MSR MSE where MSR SSR k SSE MSE n k 1 where F STAT follows an F dstrbuton wth k numerator and (n k - 1) denomnator degrees of freedom (k = the number of ndependent varables n the regresson model) Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap F-Test for Sgnfcance Excel Output Regresson Statstcs Multple R R Square Adjusted R Square Standard Error Observatons 10 ANOVA F STAT df SS MS F Sgnfcance F Regresson Resdual Total MSR MSE Wth 1 and 8 degrees of freedom p-value for the F-Test Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

39 Chapter F-Test for Sgnfcance Mntab Output Analyss of Varance Source DF SS MS F P Regresson Resdual Error Total p-value for the F-Test Wth 1 and 8 degrees of freedom F STAT MSR MSE Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap H 0 : β 1 = 0 H 1 : β 1 0 =.05 df 1 = 1 df = 8 Do not reject H 0 Crtcal Value: F = 5.3 F Test for Sgnfcance =.05 Reject H 0 F.05 = 5.3 F Test Statstc: MSR F STAT MSE Decson: Reject H 0 at = 0.05 Concluson: (contnued) There s suffcent evdence that house sze affects sellng prce Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

40 Chapter Confdence Interval Estmate for the Slope Confdence Interval Estmate of the Slope: b 1 t α / S b 1 d.f. = n - Excel Prntout for House Prces: Coeffcents Standard Error t Stat P-value Lower 95% Upper 95% Intercept Square Feet At 95% level of confdence, the confdence nterval for the slope s (0.0337, ) Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Confdence Interval Estmate for the Slope (contnued) Coeffcents Standard Error t Stat P-value Lower 95% Upper 95% Intercept Square Feet Snce the unts of the house prce varable s $1000s, we are 95% confdent that the average mpact on sales prce s between $33.74 and $ per square foot of house sze Ths 95% confdence nterval does not nclude 0. Concluson: There s a sgnfcant relatonshp between house prce and square feet at the.05 level of sgnfcance Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

41 Chapter t Test for a Correlaton Coeffcent Hypotheses H 0 : ρ = 0 (no correlaton between X and ) H 1 : ρ 0 (correlaton exsts) Test statstc r - ρ tstat 1 r n (wth n degrees of freedom) where r r f b 0 1 r r f b 0 1 Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap t-test For A Correlaton Coeffcent Is there evdence of a lnear relatonshp between square feet and house prce at the.05 level of sgnfcance? H 0 : ρ = 0 H 1 : ρ 0 (No correlaton) (correlaton exsts) =.05, df = 10 - = 8 (contnued) t STAT r ρ 1 r n Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

42 Chapter t-test For A Correlaton Coeffcent (contnued) t STAT d.f. = 10- = 8 /=.05 r ρ 1 r n /=.05 Decson: Reject H 0 Concluson: There s evdence of a lnear assocaton at the 5% level of sgnfcance Reject H 0 Reject H t 0 α/ Do not reject H -t 0 α/ Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Estmatng Mean Values and Predctng Indvdual Values Goal: Form ntervals around to express uncertanty about the value of for a gven X Confdence Interval for the mean of, gven X = b 0 +b 1 X Predcton Interval for an ndvdual, gven X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap X X 006 Prentce Hall, Inc.

43 Chapter Confdence Interval for the Average, Gven X Confdence nterval estmate for the mean value of gven a partcular X Confdencentervalfor μ ˆ t α / S X h XX : Sze of nterval vares accordng to dstance away from mean, X 1 (X X) 1 (X X) h n SSX n (X X) Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Predcton Interval for an Indvdual, Gven X Confdence nterval estmate for an Indvdual value of gven a partcular X Confdencentervalfor ˆ t α / S X 1 XX h : Ths extra term adds to the nterval wdth to reflect the added uncertanty for an ndvdual case Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

44 Chapter Estmaton of Mean Values: Example Confdence Interval Estmate for μ X=X Fnd the 95% confdence nterval for the mean prce of,000 square-foot houses Predcted Prce = ($1,000s) 1 (X X) Ŷ t 0.05S X n (X X) The confdence nterval endponts are and , or from $80,660 to $354,900 Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Estmaton of Indvdual Values: Example Predcton Interval Estmate for X=X Fnd the 95% predcton nterval for an ndvdual house wth,000 square feet Predcted Prce = ($1,000s) 1 (X X) Ŷ t 0.05S X n (X X) The predcton nterval endponts are and 40.07, or from $15,500 to $40,070 Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

45 Chapter Fndng Confdence and Predcton Intervals n Excel From Excel, use PHStat regresson smple lnear regresson Check the confdence and predcton nterval for X= box and enter the X-value and confdence level desred Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Fndng Confdence and Predcton Intervals n Excel (contnued) Input values Confdence Interval Estmate for μ X=X Predcton Interval Estmate for X=X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

46 Chapter Fndng Confdence and Predcton Intervals n Mntab Predcted Values for New Observatons Confdence Interval Estmate for μ X=X New Obs Ft SE Ft 95% CI 95% PI (80.7, 354.9) (15.5, 40.1) Values of Predctors for New Observatons New Square Obs Feet Input values Predcton Interval Estmate for X=X Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Ptfalls of Regresson Analyss Lackng an awareness of the assumptons underlyng least-squares regresson Not knowng how to evaluate the assumptons Not knowng the alternatves to least-squares regresson f a partcular assumpton s volated Usng a regresson model wthout knowledge of the subject matter Extrapolatng outsde the relevant range Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

47 Chapter Strateges for Avodng the Ptfalls of Regresson Start wth a scatter plot of X vs. to observe possble relatonshp Perform resdual analyss to check the assumptons Plot the resduals vs. X to check for volatons of assumptons such as homoscedastcty Use a hstogram, stem-and-leaf dsplay, boxplot, or normal probablty plot of the resduals to uncover possble non-normalty Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Strateges for Avodng the Ptfalls of Regresson If there s volaton of any assumpton, use alternatve methods or models (contnued) If there s no evdence of assumpton volaton, then test for the sgnfcance of the regresson coeffcents and construct confdence ntervals and predcton ntervals Avod makng predctons or forecasts outsde the relevant range Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

48 Chapter Chapter Summary Introduced types of regresson models Revewed assumptons of regresson and correlaton Dscussed determnng the smple lnear regresson equaton Descrbed measures of varaton Dscussed resdual analyss Addressed measurng autocorrelaton Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Chapter Summary (contnued) Descrbed nference about the slope Dscussed correlaton -- measurng the strength of the assocaton Addressed estmaton of mean values and predcton of ndvdual values Dscussed possble ptfalls n regresson and recommended strateges to avod them Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc.. Chap Prentce Hall, Inc.

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 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

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

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 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

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

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

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

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

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

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

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

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

Statistics for Managers using Microsoft Excel 6 th Edition

Statistics for Managers using Microsoft Excel 6 th Edition Statistics for Managers using Microsoft Excel 6 th Edition Chapter 13 Simple Linear Regression 13-1 Learning Objectives In this chapter, you learn: How to use regression analysis to predict the value of

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

Basic Business Statistics 6 th Edition

Basic Business Statistics 6 th Edition Basic Business Statistics 6 th Edition Chapter 12 Simple Linear Regression Learning Objectives In this chapter, you learn: How to use regression analysis to predict the value of a dependent variable based

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

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

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

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

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

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 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

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

Chapter 15 - Multiple Regression

Chapter 15 - Multiple Regression Chapter - Multple Regresson Chapter - Multple Regresson Multple Regresson Model The equaton that descrbes how the dependent varable y s related to the ndependent varables x, x,... x p and an error term

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

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

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

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

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

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

Statistics II Final Exam 26/6/18

Statistics II Final Exam 26/6/18 Statstcs II Fnal Exam 26/6/18 Academc Year 2017/18 Solutons Exam duraton: 2 h 30 mn 1. (3 ponts) A town hall s conductng a study to determne the amount of leftover food produced by the restaurants n the

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

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

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

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

[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

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

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 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

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

SIMPLE LINEAR REGRESSION

SIMPLE LINEAR REGRESSION Smple Lnear Regresson and Correlaton Introducton Prevousl, our attenton has been focused on one varable whch we desgnated b x. Frequentl, t s desrable to learn somethng about the relatonshp between two

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

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

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

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

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 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

Business Statistics. Chapter 14 Introduction to Linear Regression and Correlation Analysis QMIS 220. Dr. Mohammad Zainal

Business Statistics. Chapter 14 Introduction to Linear Regression and Correlation Analysis QMIS 220. Dr. Mohammad Zainal Department of Quantitative Methods & Information Systems Business Statistics Chapter 14 Introduction to Linear Regression and Correlation Analysis QMIS 220 Dr. Mohammad Zainal Chapter Goals After completing

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

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

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

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

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

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

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

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

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

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

Chapter 14 Simple Linear Regression Page 1. Introduction to regression analysis 14-2

Chapter 14 Simple Linear Regression Page 1. Introduction to regression analysis 14-2 Chapter 4 Smple Lnear Regresson Page. Introducton to regresson analyss 4- The Regresson Equaton. Lnear Functons 4-4 3. Estmaton and nterpretaton of model parameters 4-6 4. Inference on the model parameters

More information

7.1. Single classification analysis of variance (ANOVA) Why not use multiple 2-sample 2. When to use ANOVA

7.1. Single classification analysis of variance (ANOVA) Why not use multiple 2-sample 2. When to use ANOVA Sngle classfcaton analyss of varance (ANOVA) When to use ANOVA ANOVA models and parttonng sums of squares ANOVA: hypothess testng ANOVA: assumptons A non-parametrc alternatve: Kruskal-Walls ANOVA Power

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

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Regression Analysis

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Regression Analysis Resource Allocaton and Decson Analss (ECON 800) Sprng 04 Foundatons of Regresson Analss Readng: Regresson Analss (ECON 800 Coursepak, Page 3) Defntons and Concepts: Regresson Analss statstcal technques

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

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

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

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

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

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

BOOTSTRAP METHOD FOR TESTING OF EQUALITY OF SEVERAL MEANS. M. Krishna Reddy, B. Naveen Kumar and Y. Ramu

BOOTSTRAP METHOD FOR TESTING OF EQUALITY OF SEVERAL MEANS. M. Krishna Reddy, B. Naveen Kumar and Y. Ramu BOOTSTRAP METHOD FOR TESTING OF EQUALITY OF SEVERAL MEANS M. Krshna Reddy, B. Naveen Kumar and Y. Ramu Department of Statstcs, Osmana Unversty, Hyderabad -500 007, Inda. nanbyrozu@gmal.com, ramu0@gmal.com

More information

Lecture 3 Stat102, Spring 2007

Lecture 3 Stat102, Spring 2007 Lecture 3 Stat0, Sprng 007 Chapter 3. 3.: Introducton to regresson analyss Lnear regresson as a descrptve technque The least-squares equatons Chapter 3.3 Samplng dstrbuton of b 0, b. Contnued n net lecture

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

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

Activity #13: Simple Linear Regression. actgpa.sav; beer.sav;

Activity #13: Simple Linear Regression. actgpa.sav; beer.sav; ctvty #3: Smple Lnear Regresson Resources: actgpa.sav; beer.sav; http://mathworld.wolfram.com/leastfttng.html In the last actvty, we learned how to quantfy the strength of the lnear relatonshp between

More information

Problem of Estimation. Ordinary Least Squares (OLS) Ordinary Least Squares Method. Basic Econometrics in Transportation. Bivariate Regression Analysis

Problem of Estimation. Ordinary Least Squares (OLS) Ordinary Least Squares Method. Basic Econometrics in Transportation. Bivariate Regression Analysis 1/60 Problem of Estmaton Basc Econometrcs n Transportaton Bvarate Regresson Analyss Amr Samm Cvl Engneerng Department Sharf Unversty of Technology Ordnary Least Squares (OLS) Maxmum Lkelhood (ML) Generally,

More information

STAT 405 BIOSTATISTICS (Fall 2016) Handout 15 Introduction to Logistic Regression

STAT 405 BIOSTATISTICS (Fall 2016) Handout 15 Introduction to Logistic Regression STAT 45 BIOSTATISTICS (Fall 26) Handout 5 Introducton to Logstc Regresson Ths handout covers materal found n Secton 3.7 of your text. You may also want to revew regresson technques n Chapter. In ths handout,

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

Properties of Least Squares

Properties of Least Squares Week 3 3.1 Smple Lnear Regresson Model 3. Propertes of Least Squares Estmators Y Y β 1 + β X + u weekly famly expendtures X weekly famly ncome For a gven level of x, the expected level of food expendtures

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

Unit 10: Simple Linear Regression and Correlation

Unit 10: Simple Linear Regression and Correlation Unt 10: Smple Lnear Regresson and Correlaton Statstcs 571: Statstcal Methods Ramón V. León 6/28/2004 Unt 10 - Stat 571 - Ramón V. León 1 Introductory Remarks Regresson analyss s a method for studyng the

More information

The SAS program I used to obtain the analyses for my answers is given below.

The SAS program I used to obtain the analyses for my answers is given below. Homework 1 Answer sheet Page 1 The SAS program I used to obtan the analyses for my answers s gven below. dm'log;clear;output;clear'; *************************************************************; *** EXST7034

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

Chapter 10. What is Regression Analysis? Simple Linear Regression Analysis. Examples

Chapter 10. What is Regression Analysis? Simple Linear Regression Analysis. Examples Chapter 10 Smple Lnear Regresson Analyss What s Regresson Analyss? A statstcal technque that descrbes the relatonshp between a dependent varable and one or more ndependent varables. Examples Consder the

More information

Introduction to Analysis of Variance (ANOVA) Part 1

Introduction to Analysis of Variance (ANOVA) Part 1 Introducton to Analss of Varance (ANOVA) Part 1 Sngle factor The logc of Analss of Varance Is the varance explaned b the model >> than the resdual varance In regresson models Varance explaned b regresson

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

Reminder: Nested models. Lecture 9: Interactions, Quadratic terms and Splines. Effect Modification. Model 1

Reminder: Nested models. Lecture 9: Interactions, Quadratic terms and Splines. Effect Modification. Model 1 Lecture 9: Interactons, Quadratc terms and Splnes An Manchakul amancha@jhsph.edu 3 Aprl 7 Remnder: Nested models Parent model contans one set of varables Extended model adds one or more new varables 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

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

β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

Chapter Learning Objectives. Regression Analysis. Correlation. Simple Linear Regression. Chapter 12. Simple Linear Regression

Chapter Learning Objectives. Regression Analysis. Correlation. Simple Linear Regression. Chapter 12. Simple Linear Regression Chapter 12 12-1 North Seattle Community College BUS21 Business Statistics Chapter 12 Learning Objectives In this chapter, you learn:! How to use regression analysis to predict the value of a dependent

More information

Reduced slides. Introduction to Analysis of Variance (ANOVA) Part 1. Single factor

Reduced slides. Introduction to Analysis of Variance (ANOVA) Part 1. Single factor Reduced sldes Introducton to Analss of Varance (ANOVA) Part 1 Sngle factor 1 The logc of Analss of Varance Is the varance explaned b the model >> than the resdual varance In regresson models Varance explaned

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

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

Sociology 301. Bivariate Regression. Clarification. Regression. Liying Luo Last exam (Exam #4) is on May 17, in class.

Sociology 301. Bivariate Regression. Clarification. Regression. Liying Luo Last exam (Exam #4) is on May 17, in class. Socology 30 Bvarate Regresson Lyng Luo 04.28 Clarfcaton Last exam (Exam #4) s on May 7, n class. No exam n the fnal exam week (May 24). Regresson Regresson Analyss: the procedure for esjmajng and tesjng

More information

Midterm Examination. Regression and Forecasting Models

Midterm Examination. Regression and Forecasting Models IOMS Department Regresson and Forecastng Models Professor Wllam Greene Phone: 22.998.0876 Offce: KMC 7-90 Home page: people.stern.nyu.edu/wgreene Emal: wgreene@stern.nyu.edu Course web page: people.stern.nyu.edu/wgreene/regresson/outlne.htm

More information

Chemometrics. Unit 2: Regression Analysis

Chemometrics. Unit 2: Regression Analysis Chemometrcs Unt : Regresson Analyss The problem of predctng the average value of one varable n terms of the known values of other varables s the problem of regresson. In carryng out a regresson analyss

More information

UNIVERSITY OF TORONTO. Faculty of Arts and Science JUNE EXAMINATIONS STA 302 H1F / STA 1001 H1F Duration - 3 hours Aids Allowed: Calculator

UNIVERSITY OF TORONTO. Faculty of Arts and Science JUNE EXAMINATIONS STA 302 H1F / STA 1001 H1F Duration - 3 hours Aids Allowed: Calculator UNIVERSITY OF TORONTO Faculty of Arts and Scence JUNE EXAMINATIONS 008 STA 30 HF / STA 00 HF Duraton - 3 hours Ads Allowed: Calculator LAST NAME: FIRST NAME: STUDENT NUMBER: Enrolled n (Crcle one): STA30

More information

III. Econometric Methodology Regression Analysis

III. Econometric Methodology Regression Analysis Page Econ07 Appled Econometrcs Topc : An Overvew of Regresson Analyss (Studenmund, Chapter ) I. The Nature and Scope of Econometrcs. Lot s of defntons of econometrcs. Nobel Prze Commttee Paul Samuelson,

More information

Outline. Zero Conditional mean. I. Motivation. 3. Multiple Regression Analysis: Estimation. Read Wooldridge (2013), Chapter 3.

Outline. Zero Conditional mean. I. Motivation. 3. Multiple Regression Analysis: Estimation. Read Wooldridge (2013), Chapter 3. Outlne 3. Multple Regresson Analyss: Estmaton I. Motvaton II. Mechancs and Interpretaton of OLS Read Wooldrdge (013), Chapter 3. III. Expected Values of the OLS IV. Varances of the OLS V. The Gauss Markov

More information

CHAPTER 6 GOODNESS OF FIT AND CONTINGENCY TABLE PREPARED BY: DR SITI ZANARIAH SATARI & FARAHANIM MISNI

CHAPTER 6 GOODNESS OF FIT AND CONTINGENCY TABLE PREPARED BY: DR SITI ZANARIAH SATARI & FARAHANIM MISNI CHAPTER 6 GOODNESS OF FIT AND CONTINGENCY TABLE Expected Outcomes Able to test the goodness of ft for categorcal data. Able to test whether the categorcal data ft to the certan dstrbuton such as Bnomal,

More information