Logistic regression with one predictor. STK4900/ Lecture 7. Program

Size: px
Start display at page:

Download "Logistic regression with one predictor. STK4900/ Lecture 7. Program"

Transcription

1 Logstc regresson wth one redctor STK49/99 - Lecture 7 Program. Logstc regresson wth one redctor 2. Maxmum lkelhood estmaton 3. Logstc regresson wth several redctors 4. Devance and lkelhood rato tests 5. A comment on model ft Sectons 5., 5.2 (excet 5.2.6, and 5.6 Sulementary materal on lkelhood and devance We have data (x,y,, (x n,y n Here y s a bnary outcome ( or for subect and x s a redctor for the subect We let ( x E( y x P( y x The logstc regresson models take the form: ex( b+ b x ( x + ex( b + b x Ths gves a "S-shaed" relaton between (x and x and ensures that (x stays between and 2 The logstc model may alternatvely be gven n terms of the odds: ( x ex( b+ b x (* - ( x If we consder two subects wth covarate values x+d and x, resectvely, ther odds rato becomes [ x ] [ - x ] ( x+d - ( +D ( x ( ( b + b x+d ex ( ex( b + b x ex( bd In artcular e b s the odds rato corresondng to one unt's ncrease n the value of the covarate By (* the logstc regresson model may also be gven as: é ( x ù log ê b + b x (** - ( x ú ë û Thus the logstc regresson model s lnear n the log-odds 3 Consder the WCGS study wth CHD as outcome and age as redctor (ndvdual age, not groued age as we consdered n Lecture 6 wcgsread.table("htt:// se"\t",headert,na.strngs"." ftglm(chd69~age, datawcgs,famlybnomal summary(ft R outut (edted: Estmate Std. Error z value Pr(> z (Intercet < 2e-6 age e-.744 The odds rato for one year ncrease n age s e.77 whle the.744 odds rato for a ten-year ncrease s e 2. (The numbers devate slghtly from those on slde 25 from Lecture 6, snce there we used mean age for each age grou whle here we use the ndvdual ages How s the estmaton erformed for the logstc regresson model? 4

2 Maxmum lkelhood estmaton Estmaton n the logstc model s erformed usng maxmum lkelhood estmaton We frst descrbe maxmum lkelhood estmaton for the lnear regresson model: For ease of resentaton, we assume that 2 s known The densty of y takes the form (cf slde 2 from Lecture : The lkelhood s the smultaneous densty b consdered as a functon of the arameters and b for the observed values of the y We estmate the arameters by maxmzng the lkelhood. Ths corresonds to fndng the arameters that make the observed y as lkely as ossble Maxmzng the lkelhood L s the same as maxmzng whch s the same as mnmzng 5 For the lnear regresson model, maxmum lkelhood estmaton concdes wth least squares estmaton 6 We then consder the stuaton for logstc regresson We have data (x,y,, (x n,y n, where s a bnary outcome ( or for subect and s a redctor Here we have where P( y x P( y x - ex( b+ b x + ex( b + b x Thus the dstrbuton of y may be wrtten as y P( y x (- - y x y 7 The lkelhood becomes Snce n Õ y L P( y x (- - n Õ ex( b+ b x + ex( b + b x the lkelhood s, for gven observatons, a functon of the unknown arameters b and b b We estmate and b by the values of these arameters that maxmze the lkelhood These estmates are called the maxmum lkelhood estmates (MLE and are denoted ˆ and bˆ b y 8

3 Confdence nterval for b and odds rato 95% confdence nterval for (based on the normal aroxmaton: OR ex( b ˆ b ±.96 se( ˆ b b s the odds rato for one unt's ncrease n x We obtan a 95% confdence nterval for OR by transformng the lower and uer lmts of the confdence nterval for b R functon for comutng odds rato wth 95% confdence lmts excoeffuncton(glmob { regtabsummary(glmob$coef excoefex(regtab[,] lowerexcoef*ex(-.96*regtab[,2] uerexcoef*ex(.96*regtab[,2] cbnd(excoef,lower,uer } In the CHD examle we have ˆ b.744 and se( ˆ b.3 95% confdence nterval for b :.744±.96.3.e. from.52 to.96 excoef(ft R outut (edted: Estmate of odds rato OR ex( % confdence nterval for OR : excoef lower uer (Intercet age from ex( to ex( Wald test for H : b Multle logstc regresson To test the null hyothess H : b versus the two-sded alternatve H : b ¹ we use the Wald test statstc: A ˆ b z se( ˆ b We reect H for large values of z Assume now that we for each subect have a bnary outcome y We let redctors x, x2,..., x ( x, x,..., x E( y x, x,..., x P( y x, x,..., x Under H the test statstc s aroxmately standard normal Logstc regresson model: P-value (two-sded: P 2 P(Z > z where Z s standard normal In the CHD examle we have ˆ b.744 and se( ˆ b.3 Wald test statstc ( x, x,..., x 2 ex( b + b x + b x b x b + b x + b2 x2 + + b x Alternatvely the model may be wrtten: ex(... z.744/ whch s hghly sgnfcant (cf. slde 4 æ ( x, x,..., x ö b + b x + b x + + b x è ø 2 log ç - ( x, x2,..., x 2

4 The logstc model may also be gven n terms of the odds: ( x, x2,..., x ex( b+ b x+ b2 x b x - ( x, x,..., x 2 If we consder two subects wth values x +D and x, for the frst covarate and the same values for all the others, ther odds rato becomes ( x+d, x2,..., x é ë - ( x+d, x2,..., x ù û ( x, x2,..., x é ë - ( x, x2,..., x ù û ex( b+ b ( x+d + b2 x b x ex( bd ex( b + b x + b x b x 2 2 In artcular e b s the odds rato corresondng to one unt's ncrease n the value of the frst covarate holdng all other covarates constant Wald tests and confdence ntervals ˆ b MLE for b se( ˆ b standard error for To test the null hyothess H : we use the Wald test statstc: b ˆ b z se( ˆ b 95% confdence nterval for : ˆ b ±.96 se( ˆ b b OR ex( b s the odds rato for one unt's ncrease n the value of the -th covarate holdng all other covarates constant ˆ b whch s aroxmately N(,-dstrbuted under H A smlar nterretaton holds for the other regresson coeffcents 3 We obtan a 95% confdence nterval for OR by transformng the lower and uer lmts of the confdence nterval for b 4 Consder the WCGS study wth CHD as outcome and age, cholesterol (mg/dl, systolc blood ressure (mmhg, body mass ndex (kg/m 2, and smokng (yes, no as redctors (as on age 68 n the text book we omt an ndvdual wth an unusually hgh cholesterol value wcgs.multglm(chd69~age+chol+sb+bm+smoke, datawcgs, famlybnomal, subset(chol<6 summary(wcgs.mult R outut (edted: Estmate Std. Error z value Pr(> z (Intercet < 2e-6 age e-8 chol e-2 sb e-6 bm smoke e-6 Odds ratos wth confdence ntervals R command (usng the functon from slde : excoef(wcgs.mult R outut (edted: excoef lower uer (Intercet 4.5e e-7 3.6e-5 age chol..8.4 sb bm smoke

5 For a numercal covarate t may be more meanngful to resent an odds rato corresondng to a larger ncrease than one unt (cf. slde 3 Ths s easly acheved by refttng the model wth a rescaled covarate If you (e.g want to study the effect of a ten-years ncrease n age, you ft the model wth the covarate age_age/ wcgs.rescglm(chd69~age_+chol_5+sb_5+bm_+smoke, datawcgs, famlybnomal, subset(chol<6 summary(wcgs.resc R outut (edted: Estmate Std. Error z value Pr(> z (Intercet < 2e-6 age_ e-8 chol_ e-2 sb_ e-6 bm_ smoke e-6 Odds ratos wth confdence ntervals: R command (usng the functon from slde : excoef(wcgs.resc R outut (edted: excoef lower uer (Intercet age_ chol_ sb_ bm_ smoke Note that values of the Wald test statstc are not changed (cf. slde An am of the WCGS study was to study the effect on CHD of certan behavoral atterns, denoted A, A2, B3 and B4 Behavoral attern s a categorcal covarate wth four levels, and must be ftted as a factor n R wcgs$behcatfactor(wcgs$behat wcgs.behglm(chd69~age_+chol_5+sb_5+bm_+smoke+behcat, datawcgs, famlybnomal, subset(chol<6 summary(wcgs.beh R outut (edted: Estmate Std. Error z value Pr(> z (Intercet < 2e-6 age_ e-7 chol_ e-2 sb_ e-5 bm_ smoke e-5 behcat behcat behcat Here we may be nterested n : Testng f behavoral atterns have an effect on CHD rsk Testng f t s suffcent to use two categores for behavoral attern (A and B In general we consder a logstc regresson model: ( x, x,..., x 2 ex( b + b x + b x b x b + b x + b2 x2 + + b x ex(... Here we want to test the null hyothess that q of the b 's are equal to zero, or equvalently that there are q lnear restrctons among the b 's Examles: H : b b b b ( q H : b b and b b ( q

6 Devance and sum of squares For the lnear regresson model the sum of squares was a key quantty n connecton wth testng and for assessng the ft of a model We want to defne a quantty for logstc regresson that corresonds to the sum of squares To ths end we start out by consderng the relaton between the log-lkelhood and the sum of squares for the lnear regresson model For the lnear regresson model llog L takes the form (cf. slde 6: For the saturated model the are estmated by m y, and the log-lkelhood becomes For a gven secfcaton of the lnear regresson model the are estmated by the ftted values,.e. ˆ m ˆ y, wth corresondng log-lkelhood n ˆ n 2 l - log(2 s - å s ( y ˆ m 2 The devance for the model s defned as D 2( l - l ˆ and t becomes The log-lkelhood obtans ts largest value for the saturated model,.e. the model where there are no restrctons on the 2 n D y -m å 2 s ( ˆ 2 For the lnear regresson model the devance s ust the sum of squares for the ftted model dvded by 2 22 Devance for bnary data We then consder logstc regresson wth data ( y, x, x,..., x,2,..., n y 2 where s bnary resonse and the are redctors We ntroduce P( y x, x,..., x and note that the 2 log-lkelhood l l( s a functon of,..., n,..., n (cf. slde 8 x For a ftted logstc regresson model we obtan the estmated robabltes ex( ˆ b+ ˆ b ˆ x b x ˆ ˆ( x, x2,..., x + ex( ˆ b + ˆ b x ˆ b x and the corresondng value lˆ l( ˆ ˆ,..., n of the log-lkelhood The devance for the model s defned as D 2( l -ˆ lˆ For the saturated model,.e. the model where there are no restrctons on the, the are estmated by y and the log-lkelhood takes the value l l,....., n l l( (,..., The devance tself s not of much use for bnary data But by comarng the devances of two models, we may check f one gves a better ft than the other

7 Consder the WCGS study wth age, cholesterol, systolc blood ressure, body mass ndex, smokng and behavoral attern as redctors (cf slde 9 R outut (edted: Estmate Std. Error z value Pr(> z (Intercet < 2e-6 age_ e-7 chol_ e-2 sb_ e-5 bm_ smoke e-5 behcat behcat behcat Null devance: on 34 degrees of freedom Resdual devance: on 332 degrees of freedom Devance and lkelhood rato tests We want to test the null hyothess H that q of the b 's are equal to zero, or equvalently that there are q lnear restrctons among the b 's To test the null hyothess, we use the test statstc G D - D where D s the devance under the null hyothess and D s the devance for the ftted model (not assumng H We reect H for large values of G The devance of the ftted model s denoted "resdual devance" n the outut The "null devance" s the devance for the model wth no covarates,.e. for the model where all the are assumed to be equal 25 To comute P-values, we use that the test statstc G s ch-square dstrbuted wth q degrees of freedom under H 26 We wll show how we may rewrte G n terms of the lkelhood rato We have D 2( l - l and D 2( l - l Here where Thus G D - D lˆ log Lˆ and lˆ log Lˆ Lˆ max L and Lˆ max L model H 2( l - l ˆ - 2( l - l ˆ 2( l ˆ ˆ l log( Lˆ ˆ L Thus large values of G corresonds to small values of the lkelhood rato Lˆ and the test based on G s equvalent to Lˆ the lkelhood rato test 27 For the model wth age, cholesterol, systolc blood ressure, body mass ndex, smokng, and behavoral attern as redctors (cf slde 25 the devance becomes D589.6 For the model wthout behavoral attern (cf slde 7 the devance takes the value D 64.4 The test statstc takes the value: anova(wcgs.resc,wcgs.beh,test"chsq" R outut (edted: G D - D Analyss of Devance Table Model : chd69 ~ age_ + chol_5 + sb_5 + bm_ + smoke Model 2: chd69 ~ age_ + chol_5 + sb_5 + bm_ + smoke + behcat Resd.Df Resd.Dev Df Devance P(> Ch e-5 28

8 Model ft for lnear regresson (revew. Lnearty 2. Constant varance 3. Indeendent resonses 4. Normally dstrbuted error terms and no outlers Model ft for logstc regresson. Lnearty: Stll relevant, see followng sldes 2. Heteroscedastc model, Var( y x (-,.e. deends on E( y x. However ths non-constant varance s taken care of by the maxmum lkelhood estmaton. 3. Indeendent resonses: See Lecture on Frday. 4. Not relevant, data are bnary, no outlers n resonses (but there could well be extreme covarates, nfluental observatons. 29 Checkng lnearty for logstc regresson We want to check f the robabltes can be adequately descrbed by the lnear exresson æ ( x, x,..., x ö b + b x + b x + + b x è ø 2 log ç - ( x, x2,..., x We wll dscuss 3 aroaches:. Groung the covarates 2. Addng square terms or logarthmc terms to the model 3. Extendng the model to generalzed addtve models (GAM æ ( x, x,..., x ö b è ø 2 log f( x f2( x2... f ( x ç - ( x, x2,..., x 3. Groung the varables For a smle llustraton we consder the stuaton where age s the only covarate n the model for CHD, and we want to check f the effect of age s lnear (on the log-odds scale ft.catageglm(chd69~factor(agec, datawcgs,famlybnomal wcgs$agem39.5*(wcgs$agec+42.9*(wcgs$agec+47.9*(wcgs$agec *(wcgs$agec3+57.3*(wcgs$agec4 ft.lnageglm(chd69~agem, datawcgs,famlybnomal summary(ft.catage summary(ft.lnage anova(ft.lnage, ft.catage,test"chsq" The rocedure wll be smlar f there are other covarates n addton to age We may here ft a model consderng the age grou as a factor (age grous: 35-4, 4-45, 46-5, 5-55, 56-6 Or we may ft a model where the mean age n each age grou s used as numercal covarate (means: 39.5, 42.9, 47.9, 52.8, 57.3 We may then use a devance test to check f flexble categorcal model gves a better ft than the lnear numercal. Here we fnd no mrovement, R outut (edted: Estmate Std. Error z value Pr(> z (Intercet < 2e-6 factor(agec factor(agec factor(agec factor(agec e-5 Estmate Std. Error z value Pr(> z (Intercet < 2e-6 agem e- Model : chd69 ~ agem Model 2: chd69 ~ factor(agec Resd. Df Resd. Dev Df Devance P(> Ch

9 f( x 2. Addng square terms or log-terms The smle model log é ( x ù ê b ( + b x - x ú ë û can be extended to more flexble models such as ( x 2 logê é ù b + b x + b2x ( x ú ë - û or ( x logê é ù b + b x + b2 log( x - ( x ú ë û We may then use a devance test to check f the flexble models gves a better ft than the orgnal. Here we nether fnd any mrovement,.79 and.88 ftglm(chd69~age, datawcgs,famlybnomal fta2glm(chd69~age+i(age^2, datawcgs,famlybnomal ftlogglm(chd69~age+log(age, datawcgs,famlybnomal anova(ft,fta2,test"chsq" anova(ft,ftlog,test"chsq" R outut (edted: > anova(ft,fta2,test"chsq" Model : chd69 ~ age Model 2: chd69 ~ age + I(age^2 Resd. Df Resd. Dev Df Devance Pr(>Ch > anova(ft,ftlog,test"chsq" Model : chd69 ~ age Model 2: chd69 ~ age + log(age Resd. Df Resd. Dev Df Devance Pr(>Ch However, n these data, age, age^2 and log(age are strongly correlated b. Addng a less correlated term R outut (edted: > ftlogbglm(chd69~age+log(age-38.9, datawcgs,famlybnomal > anova(ft,ftlogb,test"chsq" Model : chd69 ~ age Model 2: chd69 ~ age + log(age Resd. Df Resd. Dev Df Devance Pr(>Ch > > cor(wcgs$age,log(wcgs$age-38.9 [] > cor(wcgs$age,log(wcgs$age [] Stll no sgnfcant mrovement (., but the new covarate s stll qute correlated wth orgnal covarate. 3. Generalzed addtve model In ths examle ust wth one covarate æ ( x ö b + è ø where f ( x s a smooth functon estmated by the rogram. log ç f( x - ( x The aroach can easly be extended to several covarates. We can then (a Plot the estmated functon wth confdence ntervals. Wll a straght lne ft wthn the confdence lmts? (a Comare the smle and flexble model by a devance test

10 R outut (edted: > lbrary(gam ftgamgam(chd69~s(age, datawcgs, famlybnomal > lot(ftgam,set > anova(ft,ftgam,test"chsq" Analyss of Devance Table Model : chd69 ~ age Model 2: chd69 ~ s(age Resd. Df Resd. Dev Df Devance Pr(>Ch * For these data (a The nformal grahcal check ust allows a straght lne wthn confdence lmts. (a However, the devance test gves a weakly sgnfcant devaton from lnearty (.32 There may thus be some unmortant devaton from lnearty. 37 Devance and groued data On sldes n Lecture 6 we saw that we got the same estmates and standard errors when we ftted the model wth mean age n each age grou as numercal covarate usng bnary data and groued data summary(ft.lnage chd.grouedread.table("htt:// ", headert ft.grouedglm(cbnd(chd,no-chd~agem, datachd.groued, famlybnomal summary(ft.groued R outut (edted: Estmate Std. Error z value Pr(> z (Intercet < 2e-6 agem e- Null devance: 78.2 on 353 degrees of freedom Resdual devance: 74.2 on 352 degrees of freedom Estmate Std. Error z value Pr(> z (Intercet < 2e-6 agem e- Null devance: on 4 degrees of freedom Resdual devance: on 3 degrees of freedom 38 We see that the "resdual devance" and the "null devance" are not the same when we use bnary data and when we use groued data However, the dfference between the two s the same n both cases As long as we look at dfferences between devances, t does not matter whether we used bnary or groued data Further note that the resdual devance for the model wth groued data s the same as we got on slde 3 when comarng the models wth age as a numercal and categorcal covarate (based on bnary data When we use groued data, the resdual devance can be used as a goodness-of-ft test 39

STK4900/ Lecture 7. Program

STK4900/ Lecture 7. Program STK4900/9900 - Lecture 7 Program 1. Logistic regression with one redictor 2. Maximum likelihood estimation 3. Logistic regression with several redictors 4. Deviance and likelihood ratio tests 5. A comment

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 II LECTURE - GENERAL LINEAR HYPOTHESIS AND ANALYSIS OF VARIANCE Dr. Shalabh Deartment of Mathematcs and Statstcs Indan Insttute of Technology Kanur 3.

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

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

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

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

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U) Econ 413 Exam 13 H ANSWERS Settet er nndelt 9 deloppgaver, A,B,C, som alle anbefales å telle lkt for å gøre det ltt lettere å stå. Svar er gtt . Unfortunately, there s a prntng error n the hnt of

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

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

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

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

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

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

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

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

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

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

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

STK4080/9080 Survival and event history analysis

STK4080/9080 Survival and event history analysis SK48/98 Survval and event hstory analyss Lecture 7: Regresson modellng Relatve rsk regresson Regresson models Assume that we have a sample of n ndvduals, and let N (t) count the observed occurrences of

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

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

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models ECO 452 -- OE 4: Probt and Logt Models ECO 452 -- OE 4 Maxmum Lkelhood Estmaton of Bnary Dependent Varables Models: Probt and Logt hs note demonstrates how to formulate bnary dependent varables models

More information

since [1-( 0+ 1x1i+ 2x2 i)] [ 0+ 1x1i+ assumed to be a reasonable approximation

since [1-( 0+ 1x1i+ 2x2 i)] [ 0+ 1x1i+ assumed to be a reasonable approximation Econ 388 R. Butler 204 revsons Lecture 4 Dummy Dependent Varables I. Lnear Probablty Model: the Regresson model wth a dummy varables as the dependent varable assumpton, mplcaton regular multple regresson

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

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

Hydrological statistics. Hydrological statistics and extremes

Hydrological statistics. Hydrological statistics and extremes 5--0 Stochastc Hydrology Hydrologcal statstcs and extremes Marc F.P. Berkens Professor of Hydrology Faculty of Geoscences Hydrologcal statstcs Mostly concernes wth the statstcal analyss of hydrologcal

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

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

4.3 Poisson Regression

4.3 Poisson Regression of teratvely reweghted least squares regressons (the IRLS algorthm). We do wthout gvng further detals, but nstead focus on the practcal applcaton. > glm(survval~log(weght)+age, famly="bnomal", data=baby)

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

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

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

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

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

BIO Lab 2: TWO-LEVEL NORMAL MODELS with school children popularity data

BIO Lab 2: TWO-LEVEL NORMAL MODELS with school children popularity data Lab : TWO-LEVEL NORMAL MODELS wth school chldren popularty data Purpose: Introduce basc two-level models for normally dstrbuted responses usng STATA. In partcular, we dscuss Random ntercept models wthout

More information

8/25/17. Data Modeling. Data Modeling. Data Modeling. Patrice Koehl Department of Biological Sciences National University of Singapore

8/25/17. Data Modeling. Data Modeling. Data Modeling. Patrice Koehl Department of Biological Sciences National University of Singapore 8/5/17 Data Modelng Patrce Koehl Department of Bologcal Scences atonal Unversty of Sngapore http://www.cs.ucdavs.edu/~koehl/teachng/bl59 koehl@cs.ucdavs.edu Data Modelng Ø Data Modelng: least squares Ø

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

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

LECTURE 9 CANONICAL CORRELATION ANALYSIS

LECTURE 9 CANONICAL CORRELATION ANALYSIS LECURE 9 CANONICAL CORRELAION ANALYSIS Introducton he concept of canoncal correlaton arses when we want to quantfy the assocatons between two sets of varables. For example, suppose that the frst set of

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

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

STAT 511 FINAL EXAM NAME Spring 2001

STAT 511 FINAL EXAM NAME Spring 2001 STAT 5 FINAL EXAM NAME Sprng Instructons: Ths s a closed book exam. No notes or books are allowed. ou may use a calculator but you are not allowed to store notes or formulas n the calculator. Please wrte

More information

F8: Heteroscedasticity

F8: Heteroscedasticity F8: Heteroscedastcty Feng L Department of Statstcs, Stockholm Unversty What s so-called heteroscedastcty In a lnear regresson model, we assume the error term has a normal dstrbuton wth mean zero and varance

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

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

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

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

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

Non-Ideality Through Fugacity and Activity

Non-Ideality Through Fugacity and Activity Non-Idealty Through Fugacty and Actvty S. Patel Deartment of Chemstry and Bochemstry, Unversty of Delaware, Newark, Delaware 19716, USA Corresondng author. E-mal: saatel@udel.edu 1 I. FUGACITY In ths dscusson,

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

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity LINEAR REGRESSION ANALYSIS MODULE IX Lecture - 31 Multcollnearty Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur 6. Rdge regresson The OLSE s the best lnear unbased

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

Introduction to Generalized Linear Models

Introduction to Generalized Linear Models INTRODUCTION TO STATISTICAL MODELLING TRINITY 00 Introducton to Generalzed Lnear Models I. Motvaton In ths lecture we extend the deas of lnear regresson to the more general dea of a generalzed lnear model

More information

Lecture 2: Prelude to the big shrink

Lecture 2: Prelude to the big shrink Lecture 2: Prelude to the bg shrnk Last tme A slght detour wth vsualzaton tools (hey, t was the frst day... why not start out wth somethng pretty to look at?) Then, we consdered a smple 120a-style regresson

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

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

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models ECO 452 -- OE 4: Probt and Logt Models ECO 452 -- OE 4 Mamum Lkelhood Estmaton of Bnary Dependent Varables Models: Probt and Logt hs note demonstrates how to formulate bnary dependent varables models for

More information

Kernel Methods and SVMs Extension

Kernel Methods and SVMs Extension Kernel Methods and SVMs Extenson The purpose of ths document s to revew materal covered n Machne Learnng 1 Supervsed Learnng regardng support vector machnes (SVMs). Ths document also provdes a general

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

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

β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

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

Tests of Single Linear Coefficient Restrictions: t-tests and F-tests. 1. Basic Rules. 2. Testing Single Linear Coefficient Restrictions

Tests of Single Linear Coefficient Restrictions: t-tests and F-tests. 1. Basic Rules. 2. Testing Single Linear Coefficient Restrictions ECONOMICS 35* -- NOTE ECON 35* -- NOTE Tests of Sngle Lnear Coeffcent Restrctons: t-tests and -tests Basc Rules Tests of a sngle lnear coeffcent restrcton can be performed usng ether a two-taled t-test

More information

Chapter 14: Logit and Probit Models for Categorical Response Variables

Chapter 14: Logit and Probit Models for Categorical Response Variables Chapter 4: Logt and Probt Models for Categorcal Response Varables Sect 4. Models for Dchotomous Data We wll dscuss only ths secton of Chap 4, whch s manly about Logstc Regresson, a specal case of the famly

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

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

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

LOGIT ANALYSIS. A.K. VASISHT Indian Agricultural Statistics Research Institute, Library Avenue, New Delhi

LOGIT ANALYSIS. A.K. VASISHT Indian Agricultural Statistics Research Institute, Library Avenue, New Delhi LOGIT ANALYSIS A.K. VASISHT Indan Agrcultural Statstcs Research Insttute, Lbrary Avenue, New Delh-0 02 amtvassht@asr.res.n. Introducton In dummy regresson varable models, t s assumed mplctly that the dependent

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

Statistical Inference. 2.3 Summary Statistics Measures of Center and Spread. parameters ( population characteristics )

Statistical Inference. 2.3 Summary Statistics Measures of Center and Spread. parameters ( population characteristics ) Ismor Fscher, 8//008 Stat 54 / -8.3 Summary Statstcs Measures of Center and Spread Dstrbuton of dscrete contnuous POPULATION Random Varable, numercal True center =??? True spread =???? parameters ( populaton

More information

Comparing two Quantiles: the Burr Type X and Weibull Cases

Comparing two Quantiles: the Burr Type X and Weibull Cases IOSR Journal of Mathematcs (IOSR-JM) e-issn: 78-578, -ISSN: 39-765X. Volume, Issue 5 Ver. VII (Se. - Oct.06), PP 8-40 www.osrjournals.org Comarng two Quantles: the Burr Tye X and Webull Cases Mohammed

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

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

DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR. Introductory Econometrics 1 hour 30 minutes

DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR. Introductory Econometrics 1 hour 30 minutes 25/6 Canddates Only January Examnatons 26 Student Number: Desk Number:...... DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR Department Module Code Module Ttle Exam Duraton

More information

Goodness of fit and Wilks theorem

Goodness of fit and Wilks theorem DRAFT 0.0 Glen Cowan 3 June, 2013 Goodness of ft and Wlks theorem Suppose we model data y wth a lkelhood L(µ) that depends on a set of N parameters µ = (µ 1,...,µ N ). Defne the statstc t µ ln L(µ) L(ˆµ),

More information

Econ Statistical Properties of the OLS estimator. Sanjaya DeSilva

Econ Statistical Properties of the OLS estimator. Sanjaya DeSilva Econ 39 - Statstcal Propertes of the OLS estmator Sanjaya DeSlva September, 008 1 Overvew Recall that the true regresson model s Y = β 0 + β 1 X + u (1) Applyng the OLS method to a sample of data, we estmate

More information

Chapter 6. Supplemental Text Material

Chapter 6. Supplemental Text Material Chapter 6. Supplemental Text Materal S6-. actor Effect Estmates are Least Squares Estmates We have gven heurstc or ntutve explanatons of how the estmates of the factor effects are obtaned n the textboo.

More information

4.1. Lecture 4: Fitting distributions: goodness of fit. Goodness of fit: the underlying principle

4.1. Lecture 4: Fitting distributions: goodness of fit. Goodness of fit: the underlying principle Lecture 4: Fttng dstrbutons: goodness of ft Goodness of ft Testng goodness of ft Testng normalty An mportant note on testng normalty! L4.1 Goodness of ft measures the extent to whch some emprcal dstrbuton

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

Managing Capacity Through Reward Programs. on-line companion page. Byung-Do Kim Seoul National University College of Business Administration

Managing Capacity Through Reward Programs. on-line companion page. Byung-Do Kim Seoul National University College of Business Administration Managng Caacty Through eward Programs on-lne comanon age Byung-Do Km Seoul Natonal Unversty College of Busness Admnstraton Mengze Sh Unversty of Toronto otman School of Management Toronto ON M5S E6 Canada

More information

[ ] λ λ λ. Multicollinearity. multicollinearity Ragnar Frisch (1934) perfect exact. collinearity. multicollinearity. exact

[ ] λ λ λ. Multicollinearity. multicollinearity Ragnar Frisch (1934) perfect exact. collinearity. multicollinearity. exact Multcollnearty multcollnearty Ragnar Frsch (934 perfect exact collnearty multcollnearty K exact λ λ λ K K x+ x+ + x 0 0.. λ, λ, λk 0 0.. x perfect ntercorrelated λ λ λ x+ x+ + KxK + v 0 0.. v 3 y β + β

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

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

Systematic Error Illustration of Bias. Sources of Systematic Errors. Effects of Systematic Errors 9/23/2009. Instrument Errors Method Errors Personal

Systematic Error Illustration of Bias. Sources of Systematic Errors. Effects of Systematic Errors 9/23/2009. Instrument Errors Method Errors Personal 9/3/009 Sstematc Error Illustraton of Bas Sources of Sstematc Errors Instrument Errors Method Errors Personal Prejudce Preconceved noton of true value umber bas Prefer 0/5 Small over large Even over odd

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

Chapter 5 Multilevel Models

Chapter 5 Multilevel Models Chapter 5 Multlevel Models 5.1 Cross-sectonal multlevel models 5.1.1 Two-level models 5.1.2 Multple level models 5.1.3 Multple level modelng n other felds 5.2 Longtudnal multlevel models 5.2.1 Two-level

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 12 Analysis of Covariance

Chapter 12 Analysis of Covariance Chapter Analyss of Covarance Any scentfc experment s performed to know somethng that s unknown about a group of treatments and to test certan hypothess about the correspondng treatment effect When varablty

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

U-Pb Geochronology Practical: Background

U-Pb Geochronology Practical: Background U-Pb Geochronology Practcal: Background Basc Concepts: accuracy: measure of the dfference between an expermental measurement and the true value precson: measure of the reproducblty of the expermental result

More information

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information