Lecture 1 Least Squares

Size: px
Start display at page:

Download "Lecture 1 Least Squares"

Transcription

1 RS Lecture Lecture Least Squares What s Econometrcs? Ragnar Frsch, Econometrca Vol. No. 933 revsted Eperence has shown that each o these three vew-ponts, that o statstcs, economc theory, and mathematcs, s a necessary, but not by tsel a sucent, condton or a real understandng o the quanttatve relatons n modern economc le. It s the uncaton o all three aspects that s powerul. And t s ths uncaton that consttutes econometrcs. Mathematcal Statstcs Econometrcs Data Economc heory

2 RS Lecture What s Econometrcs? Economc heory: - he CAPM R - R = R MP - R Mathematcal Statstcs: - Method to estmate CAPM. For eample, Lnear regresson: R - R = α + R MP - R + - Propertes o b the LS estmator o - Propertes o derent tests o CAPM. For eample, a t-test or H 0 : α =0. Data: R, R, and R MP - ypcal problems: Mssng data, Measurement errors, Survvorshp bas, Auto- and Cross-correlated returns, me-varyng moments. Estmaton wo phlosophes regardng models assumptons n statstcs: Parametrc statstcs. It assumes data come rom a type o probablty dstrbuton and makes nerences about the parameters o the dstrbuton. Models are parameterzed beore collectng the data. Eample: Mamum lkelhood estmaton. Non-parametrc statstcs. It assumes no probablty dstrbuton.e., they are dstrbuton ree. Models are not mposed a pror, but determned by the data. Eamples: hstograms, kernel densty estmaton. In general, n parametrc statstcs we make more assumptons.

3 RS Lecture Least Squares Estmaton Old method: Gauss 795, 80 used t n astronomy. Idea: Carl F. Gauss , Germany here s a unctonal orm relatng a dependent varable Y and k varables. hs uncton depends on unknown parameters, θ. he relaton between Y and s not eact. here s an error,. We have observatons o Y and. We wll assume that the unctonal orm s known: y =, θ + =,,...,. We wll estmate the parameters θ by mnmzng a sum o squared errors: mn θ {S, θ =Σ } Least Squares Estmaton We wll use lnear algebra notaton. hat s, y =, θ + Vectors wll be column vectors: y, k, and are vectors: y = [y y... y ] k k = [ k k... k ] = [... ] s a k matr. Its columns are the k vectors k. It s common to treat as vector o ones: =[... ] = [... ] = ί 3

4 RS Lecture Least Squares Estmaton - Assumptons ypcal Assumptons A DGP: y =, θ + s correctly speced. For eample,, θ = A E[ ] = 0 A3 Var[ ] = σ I A4 has ull column rank rank=k-, where k. Assumpton A s called correct speccaton. We know how the data s generated. We call y =, θ + the Data Generatng Process. Note: he errors,, are called dsturbances. hey are not somethng we add to, θ because we don t know precsely, θ. No. he errors are part o the DGP. Least Squares Estmaton - Assumptons Assumpton A s called regresson. From Assumpton A we get: E[ ] = 0 E[y ]=, θ + E[ ] =, θ hat s, the observed y wll equal E[y ] + random varaton. Usng the Law o Iterated Epectatons LIE: E[] = E [E[ ]] = E [0] = 0 here s no normaton about n Cov,=0. Cov,= E[ -0 - μ ] = E[] E[] = E [E[ ]] = E [ E[ ]] = 0 usng LIE hat s, E[] = 0. 4

5 RS Lecture Least Squares Estmaton - Assumptons From Assumpton A3 we get Var[ ] = I => Var[] = I Proo: Var[] = E [Var[ ]] + Var [E[ ]] = I. hs assumpton mples homoscedastcty E[ ] = or all. no seral/cross correlaton E[ j ] = 0 or j. From Assumpton A4 => the k ndependent varables n are lnearly ndependent. hen, the kk matr wll also have ull rank.e., rank = k. o get asymptotc results we wll need more assumpton about. Least Squares Estmaton.o.c. Objectve uncton: S, θ =Σ We want to mnmze w.r.t to θ. hat s, mn θ {S, θ =Σ = Σ [y -, θ] } d S, θ/d θ = - Σ [y -, θ], θ.o.c. - Σ [y -, θ LS ], θ LS = 0 Note: he.o.c. delver the normal equatons. he soluton to the normal equaton, θ LS, s the LS estmator. he estmator θ LS s a uncton o the data y,. 5

6 RS Lecture CLM - OLS Suppose we assume a lnear unctonal orm or, θ: A DGP: y =, θ + = + Now, we have all the assumptons behnd classcal lnear regresson model CLM: A DGP: y = + s correctly speced. A E[ ] = 0 A3 Var[ ] = σ I A4 has ull column rank rank=k, where k. Objectve uncton: S, θ =Σ = = y- y- Normal equatons: - Σ [y -, θ LS ], θ LS = - y- b =0 Solvng or b b = - y CLM - OLS Eample: One eplanatory model. A DGP: y = + + Objectve uncton: S, θ =Σ = Σ y - - F.o.c. equatons, unknowns: : - Σ y -b -b - = 0 Σ y b b = 0 : - Σ y -b -b - = 0 Σ y b b = 0 From : Σ y Σ b b Σ = 0 b = -b From : Σ y -b Σ b Σ = 0 or, more elegantly, b =, b = 6

7 RS Lecture OLS Estmaton: Second Order Condton OLS estmator: b = - y Note: b = OLS. Ordnary LS. Ordnary=lnear b s a lnear uncton o the data y,. y-b = y - - y = e = 0 e. Q: Is b s a mnmum? We need to check the s.o.c. y - by - b y - b b y - by - b y - by - b = b bb b column vector = row vector = OLS Estmaton: Second Order Condton... n n n K n n n ee... K = bb n n n K K K I there were a sngle b, we would requre ths to be postve, whch t would be = 0. he matr counterpart o a postve number s a postve dente matr. n 7

8 RS Lecture OLS Estmaton: Second Order Condton = n n n K K... K K K... K = n... K... k n = n n n K K n n n... K n... K = Denton: A matr A s postve dente pd z A z >0 or any z. In general, we need egenvalues to check ths. For some matrces t s easy to check. Let A =. hen, z A z = z z = v v >0. s pd b s a mn! OLS Estmaton - Propertes he LS estmator o LS when, θ = s lnear s b = - y b s a lnear uncton o the data y,. b = - y = - + = + - Under the typcal assumptons, we can establsh propertes or b. E[b ] = E[ ] + E[ - ] = Var[b ] = E[b-b- ] = - E[ ] - = σ - We can show that b s BLUE or MVLUE. Proo. Let b* = Cy lnear n y E[b* ]= E[Cy ]=E[C + ]= unbased C=I Var[b* ]= E[b*- b*- ] = E[C C ] = σ CC 8

9 RS Lecture OLS Estmaton - Propertes Var[b* ]= σ CC Now, let D = C - - note D=0 hen, Var[b* ] = σ D+ - D + - = σ DD + σ - = Var[b ] + σ DD. hs result s known as the Gauss-Markov theorem. 3 I we make an addtonal assumpton: A5 ~d N0, σ I we can derve the dstrbuton o b. Snce b = + -, we have that b s a lnear combnaton o normal varables b ~d N, σ - OLS Estmaton - Varance Eample: One eplanatory model. A DGP: y = + + Var[b ] = σ - σ = Var[b ] = σ Var[b ] = σ σ / σ 9

10 RS Lecture Algebrac Results Important Matrces Resdual maker M = I - - My = y - - y = y b = e resduals M = 0 - M s symmetrc M = M - M s dempotent M*M = M - M s sngular M - does not est. => rankm=-k M does not have ull rank. We have already proven ths result. Algebrac Results Important Matrces Projecton matr P = - Py = - y = b =ŷ tted values Py s the projecton o y nto the column space o. PM = MP = 0 Projecton matr P = - P s symmetrc P = P - P s dempotent P*P = P - P s sngular P - does not est. rankp=k 0

11 RS Lecture Algebrac Results Dsturbances and Resduals In the populaton: E[ ]= 0. In the sample: e = y-b = y- - y = / e = 0. We have two ways to look at y: y = E[y ] + = Condtonal mean + dsturbance y = b + e = Projecton + resdual Results when Contans a Constant erm Let the rst column o be a column o ones. hat s = [ί,,, K ] hen, Snce e = 0 e = 0 the resduals sum to zero. Snce y = b + e ί y = ί b + ί e = ί b y b hat s, the regresson lne passes through the means. Note: hese results are only true contans a constant term!

12 RS Lecture OLS Estmaton Eample n R Eample: 3 Factor Fama-French Model: Returns <- read.csv"c:/class/r/dis-k_capm.csv",head=rue,sep="," y <- Returns$IBM r <- Returns$RF y <- y - r <- Returns$Mkt_RF <- Returns$SMB 3 <- Returns$HML <- length 0 <- matr,, <- cbnd0,,,3 k <- ncol b <- solvet%*% %*% t%*%y # b = - y OLS regresson e <- y - %*%b # regresson resduals, e RSS <- as.numercte%*%e # RSS Sgma <- as.numercrss/-k # Estmated σ = s See Chapter Var_b <- Sgma*solvet%*% # Estmated Var[b ] = s - SE_b <- sqrtdagvar_b # SE[b ] OLS Estmaton Eample n R > RSS [].488 > SE_reg [] > tb 3 [,] > SE_b Note: You should get the same numbers usng R s lnear model command, lm use summary. to prnt results: t <- lmy~ - summaryt

13 RS Lecture Frsch-Waugh 933 heorem Contet: Model contans two sets o varables: = [ [,tme] [ other varables] ] = [ ] Regresson model: Ragnar Frsch y = + + populaton = b + b + e sample OLS soluton: b = - y y y Problem n 933: Can we estmate wthout nvertng the k +k k +k matr? he F-W theorem helps reduce computaton, by gettng smpled algebrac epresson or OLS coecent, b. F-W: Parttoned Soluton Drect manpulaton o normal equatons produces b = y y =[, ] so and = y= y b y b = = b y b b y b b y ==> b y- b = y - b 3

14 RS Lecture F-W: Parttoned Soluton Drect manpulaton o normal equatons produces b = - y - b => Regresson o y - b on Note: = 0 b = - y Use o the parttoned nverse result produces a undamental result: What s the southeast element n the nverse o the moment matr? - [ ] -, Wth the parttoned nverse, we get: b = [ ] -, y + [ ] -, y F-W: Parttoned Soluton Recall rom the Lnear Algebra Revew:. Y R I YR. 0 [ I YY Y Y ] R 3. 0 where D [ Y YY YY I 0 Y 0 I R I YY R R I 0 Y 4. 0 I Y Y Y ] I Y Y Y D D D YY Y Y Y Y Y Y 0 0 I 0 D 0 I D Y D 4

15 RS Lecture 5 hen, ] [ ] [ ] [ where. Inverse.Matr M D I D D D D D he algebrac result s: [ ] -, = -D - [ ] -, = D = [ M ] - Interestng cases: s a sngle varable & = ί. hen, contnung the algebrac manpulaton: b = [ ] -, y + [ ] -, y = [ M ] - M y F-W: Parttoned Soluton hen, contnung the algebrac manpulaton: b = [ M ] - M y = [ M M ] - M M y = [* * ] - * y* where Z*= M Z = resduals rom a regresson o Z on. hs s Frsch and Waugh s result - the double resdual regresson. We have a regresson o resduals on resduals! Back to orgnal contet. wo ways to estmate b : Detrend the other varables. Use detrended data n the regresson. Use all the orgnal varables, ncludng constant and tme trend. Detrend: Compute the resduals rom the regressons o the varables on a constant and a tme trend. F-W: Parttoned Soluton - Results

16 RS Lecture Frsch-Waugh Result: Implcatons FW result: b = [* * ] - * y* = [ M ] - M y = [ M M ] - M M y Implcatons - We can solate a sngle coecent n a regresson. - It s not necessary to partal the other sout o y M s dempotent - Suppose. hen, we have the orthogonal regresson b = - y b = - y Frsch-Waugh Result: Implcatons Eample: De-mean Let = ί P = ί ί ί - ί = ί - ί = ίί / M z = z - ίί z / = z ί z M demeans z = [ M M ] - M M y b Note: We can do lnear regresson on data n mean devaton orm. 6

17 RS Lecture Applcaton: Detrendng G and PG Eample taken rom Greene G: Consumpton o Gasolne PG: Prce o Gasolne Applcaton: Detrendng Y Y: Income Y* = Y ******* * Year 7

18 RS Lecture Applcaton: Detrended Regresson Regresson o detrended Gasolne M G on detrended Prce o Gasolne M PG detrended Income M Y Goodness o Ft o the Regresson Ater estmatng the model, we would lke to judge the adequacy o the model. here are two ways to do ths: - Vsual: plots o tted values and resduals, hstograms o resduals. - Numercal measures: R, adjusted R, AIC, BIC, etc. Numercal measures. In general, they are smple and easy to compute. We call them goodness-o-t measures. Most popular: R. Denton: Varaton In the contet o a model, we consder the varaton o a varable as the movement o the varable, usually assocated wth movement o another varable. 8

19 RS Lecture Goodness o Ft o the Regresson n otal varaton = y - y = ym 0 y. = where M 0 = I ίί ί - ί = the M de-meanng matr. Decomposton o total varaton assume = ί a constant. y = b + e, so M 0 y = M 0 b + M 0 e = M 0 b + e devatons rom means ym 0 y = b M 0 M 0 b + ee = bm 0 b + ee. M 0 s dempotent & e M 0 = 0 SS = SSR + RSS SS: otal sum o squares SSR: Regresson Sum o Squares also called ESS: eplaned SS RSS: Resdual Sum o Squares also called SSE: SS o errors A Goodness o Ft Measure SS = SSR + RSS We want to have a measure that descrbes the t o a regresson. Smplest measure: the standard error o the regresson SER SER = RSS/-k =>SER depends on unts. Not good! R-squared R = SSR/SS + RSS/SS R = SSR/SS = Regresson varaton/otal varaton R = bm 0 b/ym 0 y = - ee/ym 0 y = ŷ - ί y ŷ - ί y / y - ί y y - ί y =[ ŷ ŷ y ]/[y y y ] 9

20 RS Lecture A Goodness o Ft Measure R = SSR/SS = bm 0 b/ym 0 y = - ee/ym 0 y Note: R s bounded by zero and one only : a here s a constant term n --we need e M 0 =0! b he lne s computed by lnear least squares. Addng regressors R never alls when regressors say z are added to the regresson. R z R * R ryz r yz : partal correlaton coecent between y and z. Problem: Judgng a model based on R tends to over-ttng. A Goodness o Ft Measure Comparng Regressons - Make sure the denomnator n R s the same -.e., same let hand sde varable. Eample, lnear vs. lnear. Loglnear wll almost always appear to t better because takng s reduces varaton. Lnear ransormaton o data - Based on, b = - y. Suppose we work wth * =H, nstead H s not sngular. P*y= *b*= HH H - Hy recall ABC - =C - B - A - = HH - - H - Hy = - y =Py same t, same resduals, same R! 0

21 RS Lecture Adjusted R-squared R s moded wth a penalty or number o parameters: Adjusted-R = - [-/-k] - R = - [-/-k] RSS/SS = - [RSS/-k] [-/SS] mamzng <=> mnmzng [RSS/-k]= s Degrees o reedom --.e., -k-- adjustment assumes somethng about unbasedness. ncludes a penalty or varables that do not add much t. Can all when a varable s added to the equaton. It wll rse when a varable, say z, s added to the regresson and only the t-rato on z s larger than one n absolute value. Adjusted R-squared hel 957 shows that, under certan assumptons an mportant one: the true model s beng consdered, we consder two lnear models M : y = β + ε M : y = β + ε and choose the model wth smaller s or, larger Adusted R, we wll select the true model, M, on average. In ths sense, we say that mamzng Adusted R s an unbased model-selecton crteron. In the contet o model selecton, the Adusted R s also reerred as hel s normaton crtera.

22 RS Lecture Other Goodness o Ft Measures here are other goodness-o-t measures that also ncorporate penaltes or number o parameters degrees o reedom. Inormaton Crtera - Amemya: [ee/ K] + k/ - Akake Inormaton Crteron AIC AIC = -/ln L k L: Lkelhood normalty AIC = lne e/ +/ k +constants - Bayes-Schwarz Inormaton Crteron BIC BIC = -/ ln L [ln/] k normalty AIC = lne e/ +[ln/] k +constants OLS Estmaton Eample n R Eample: 3 Factor Fama-French Model contnuaton: Returns <- read.csv"c:/class/r/dis-k_capm.csv",head=rue,sep="," b <- solvet%*% %*% t%*%y e <- y - %*%b RSS <- as.numercte%*%e R <- - as.numercrss/as.numercty%*%y Adj_R_ <- - -/-k*-r AIC <- RSS/+*k/ # b = - y OLS regresson # regresson resduals, e # RSS # R-squared # Adjusted R-squared # AIC under normalty.e., under A5. >Adj_R_ [] >AIC []

23 RS Lecture OLS Estmaton Eample n R > RSS [].488 > R [] > SE_reg [] > tb 3 [,] > SE_b > tt_b 3 [,] Note: You should get the same numbers usng R s lnear model command use summary. to prnt: t <- lmy~ - summaryt Mamum Lkelhood Estmaton MLE We wll assume the errors,, ollow a normal dstrbuton: A5 ~N0, σ I hen, we can wrte the jont pd o y as yt L y, y,..., y / ep[, y ep / akng s, we have the lkelhood uncton ln L t t ln ln t / ] ep[ y t t ] 3

24 RS Lecture Mamum Lkelhood Estmaton MLE Let θ =β,σ. hen, we want to Ma ln L y, ln hen, the.o.c.: ln L ln L y y 0 4 y y 0 y y Note: he.o.c. delver the normal equatons or β! he soluton to the normal equaton, β MLE, s also the LS estmator, b. hat s, ˆ MLE b y Nce result or b: ML estmators have very good propertes! ˆ MLE ee ML: Score and Inormaton Matr Denton: Score or ecent score L n S S θ s called the score o the sample. It s the vector o partal dervatves the gradent, wth respect to the parameter θ. I we have k parameters, the score wll have a k dmenson. Denton: Fsher normaton or a sngle sample: E I Iθ s sometmes just called normaton. It measures the shape o the θ. 4

25 RS Lecture 5 he concept o normaton can be generalzed or the k-parameter case. In ths case: hs s kk matr. I L s twce derentable wth respect to θ, and under certan regularty condtons, then the normaton may also be wrtten as9 Iθ s called the normaton matr negatve Hessan. It measures the shape o the lkelhood uncton. θ I θ θ θ θ θ L - E L L E I θ θ L L E ML: Score and Inormaton Matr Propertes o S θ: E[S θ]=0. 0 ] [ S E d d d d n L S ML: Score and Inormaton Matr

26 RS Lecture 6 Var[S θ]= niθ ] [ ] [ ate theaboventegraloncemore: Lets derent 0 n I nvar S Var I E E d d d d d d d ML: Score and Inormaton Matr 3 I S θ are..d. wth nte rst and second moments, then we can apply the CL to get: S n θ = Σ S θ N0, niθ. Note: hs an mportant result. It wll drve the dstrbuton o ML estmators. a ML: Score and Inormaton Matr

27 RS Lecture 7 Agan, we assume: akng s, we have the lkelhood uncton: he score uncton s rst dervatves o L wrt θ=β,σ : ML: Score and Inormaton Matr Eample 0, ~ 0, ~ N or N y I ε ε β y β ] [ ln 4 L εε ε / ln L ln ln ln ln β y β y L hen, we take second dervatves to calculate Iθ: : L 4 ln L / ln ] [ ] [ ln L ε ε εε εε ] ln [ L E I ML: Score and Inormaton Matr Eample hen,

28 RS Lecture ML: Score and Inormaton Matr In dervng propertes and, we have made some mplct assumptons, whch are called regularty condtons: θ les n an open nterval o the parameter space, Ω. he st dervatve and nd dervatves o θ w.r.t. θ est. L θ can be derentated w.r.t. θ under the ntegral sgn. v E[S θ ]>0, or all θ n Ω. v L θ can be derentated w.r.t. θ under the ntegral sgn. Recall: I S θ are..d. and regularty condtons apply, then we can apply the CL to get: S θ a N0, niθ ML: Cramer-Rao nequalty heorem: Cramer-Rao nequalty Let the random sample,..., n be drawn rom a pd θ and let =,..., n be a statstc such that E[]=uθ, derentable n θ. Let bθ= uθ - θ, the bas n. Assume regularty condtons. hen, [ u ] Var ni Regularty condtons: [ b ] ni θ les n an open nterval Ω o the real lne. For all θ n Ω, δ θ/δθ s well dened. 3 L θd can be derentated wrt. θ under the ntegral sgn 4 E[Sθ ]>0, or all θ n Ω 5 L θd can be derentated wrt. θ under the ntegral sgn 8

29 RS Lecture ML: Cramer-Rao nequalty [ u ] Var ni [ b ] ni he lower bound or Var s called the Cramer-Rao CR lower bound. Corollary: I s an unbased estmator o θ, then Var ni Note: hs theorem establshes the superorty o the ML estmate over all others. he CR lower bound s the smallest theoretcal varance. It can be shown that ML estmates acheve ths bound, thereore, any other estmaton technque can at best only equal t. Propertes o ML Estmators Ecency. Under general condtons, we have that MLE ^ Var MLE [ ni ] he rght-hand sde s the Cramer-Rao lower bound CR-LB. I an estmator can acheve ths bound, ML wll produce t. ^ Consstency. We know that E[S θ]=0 and Var[S θ]= Iθ. he consstency o ML can be shown by applyng Khnchne s LLN to S, θ and then to S n θ=σ S, θ. hen, do a st -order aylor epanson o S n θ around S S ˆ n * S S ˆ n n n S n θ and MLE n ˆMLE * S ˆ n MLE n MLE ˆMLE * ˆ MLE - θ converge together to zero.e., epectaton. n 9

30 RS Lecture Propertes o ML Estmators 3 heorem: Asymptotc Normalty Let the lkelhood uncton be L,, n θ. Under general condtons, the MLE o θ s asymptotcally dstrbuted as ˆ MLE a N,[ ni ] Sketch o a proo. Usng the CL, we ve already establshed S n θ p N0, niθ. hen, usng a rst order aylor epanson as beore, we get * S S ˆ n n / n / MLE n n Notce that E[S n θ]= -Iθ. hen, apply the LLN to get S n θ n */n p -Iθ. usng θ n * p θ. Now, algebra and Slutzky s theorem or RV get the nal result. Propertes o ML Estmators 4 Sucency. I a sngle sucent statstc ests or θ, the MLE o θ must be a uncton o t. hat s, ˆMLE depends on the sample observatons only through the value o a sucent statstc. 5 Invarance. he ML estmate s nvarant under unctonal transormatons. hat s, ˆMLE s the MLE o θ and gθ s a uncton o θ, then g s the MLE o gθ. ˆMLE 30

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

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

Lecture 3 Specification Lecture 3 Specfcaton 1 OLS Estmaton - Assumptons CLM Assumptons (A1) DGP: y = X + s correctly specfed. (A) E[ X] = 0 (A3) Var[ X] = σ I T (A4) X has full column rank rank(x)=k-, where T k. Q: What happens

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

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

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

Fall 2012 Analysis of Experimental Measurements B. Eisenstein/rev. S. Errede

Fall 2012 Analysis of Experimental Measurements B. Eisenstein/rev. S. Errede Fall 0 Analyss of Expermental easurements B. Esensten/rev. S. Errede We now reformulate the lnear Least Squares ethod n more general terms, sutable for (eventually extendng to the non-lnear case, and also

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

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

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

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

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

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

More information

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

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

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

Limited Dependent Variables

Limited Dependent Variables Lmted Dependent Varables. What f the left-hand sde varable s not a contnuous thng spread from mnus nfnty to plus nfnty? That s, gven a model = f (, β, ε, where a. s bounded below at zero, such as wages

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

CIS526: Machine Learning Lecture 3 (Sept 16, 2003) Linear Regression. Preparation help: Xiaoying Huang. x 1 θ 1 output... θ M x M

CIS526: Machine Learning Lecture 3 (Sept 16, 2003) Linear Regression. Preparation help: Xiaoying Huang. x 1 θ 1 output... θ M x M CIS56: achne Learnng Lecture 3 (Sept 6, 003) Preparaton help: Xaoyng Huang Lnear Regresson Lnear regresson can be represented by a functonal form: f(; θ) = θ 0 0 +θ + + θ = θ = 0 ote: 0 s a dummy attrbute

More information

Primer on High-Order Moment Estimators

Primer on High-Order Moment Estimators Prmer on Hgh-Order Moment Estmators Ton M. Whted July 2007 The Errors-n-Varables Model We wll start wth the classcal EIV for one msmeasured regressor. The general case s n Erckson and Whted Econometrc

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

Chapter 3 Differentiation and Integration

Chapter 3 Differentiation and Integration MEE07 Computer Modelng Technques n Engneerng Chapter Derentaton and Integraton Reerence: An Introducton to Numercal Computatons, nd edton, S. yakowtz and F. zdarovsky, Mawell/Macmllan, 990. Derentaton

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

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

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

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

However, since P is a symmetric idempotent matrix, of P are either 0 or 1 [Eigen-values

However, since P is a symmetric idempotent matrix, of P are either 0 or 1 [Eigen-values Fall 007 Soluton to Mdterm Examnaton STAT 7 Dr. Goel. [0 ponts] For the general lnear model = X + ε, wth uncorrelated errors havng mean zero and varance σ, suppose that the desgn matrx X s not necessarly

More information

APPENDIX A Some Linear Algebra

APPENDIX A Some Linear Algebra APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,

More information

Chapter 4: Regression With One Regressor

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

More information

β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

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming OPTIMIATION Introducton ngle Varable Unconstraned Optmsaton Multvarable Unconstraned Optmsaton Lnear Programmng Chapter Optmsaton /. Introducton In an engneerng analss, sometmes etremtes, ether mnmum or

More information

Mathematical Economics MEMF e ME. Filomena Garcia. Topic 2 Calculus

Mathematical Economics MEMF e ME. Filomena Garcia. Topic 2 Calculus Mathematcal Economcs MEMF e ME Flomena Garca Topc 2 Calculus Mathematcal Economcs - www.seg.utl.pt/~garca/economa_matematca . Unvarate Calculus Calculus Functons : X Y y ( gves or each element X one element

More information

Chapter 7 Generalized and Weighted Least Squares Estimation. In this method, the deviation between the observed and expected values of

Chapter 7 Generalized and Weighted Least Squares Estimation. In this method, the deviation between the observed and expected values of Chapter 7 Generalzed and Weghted Least Squares Estmaton The usual lnear regresson model assumes that all the random error components are dentcally and ndependently dstrbuted wth constant varance. When

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

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

Statistics and Probability Theory in Civil, Surveying and Environmental Engineering

Statistics and Probability Theory in Civil, Surveying and Environmental Engineering Statstcs and Probablty Theory n Cvl, Surveyng and Envronmental Engneerng Pro. Dr. Mchael Havbro Faber ETH Zurch, Swtzerland Contents o Todays Lecture Overvew o Uncertanty Modelng Random Varables - propertes

More information

j) = 1 (note sigma notation) ii. Continuous random variable (e.g. Normal distribution) 1. density function: f ( x) 0 and f ( x) dx = 1

j) = 1 (note sigma notation) ii. Continuous random variable (e.g. Normal distribution) 1. density function: f ( x) 0 and f ( x) dx = 1 Random varables Measure of central tendences and varablty (means and varances) Jont densty functons and ndependence Measures of assocaton (covarance and correlaton) Interestng result Condtonal dstrbutons

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

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

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

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

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

Logistic Regression Maximum Likelihood Estimation

Logistic Regression Maximum Likelihood Estimation Harvard-MIT Dvson of Health Scences and Technology HST.951J: Medcal Decson Support, Fall 2005 Instructors: Professor Lucla Ohno-Machado and Professor Staal Vnterbo 6.873/HST.951 Medcal Decson Support Fall

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

Estimation: Part 2. Chapter GREG estimation

Estimation: Part 2. Chapter GREG estimation Chapter 9 Estmaton: Part 2 9. GREG estmaton In Chapter 8, we have seen that the regresson estmator s an effcent estmator when there s a lnear relatonshp between y and x. In ths chapter, we generalzed the

More information

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal Inner Product Defnton 1 () A Eucldean space s a fnte-dmensonal vector space over the reals R, wth an nner product,. Defnton 2 (Inner Product) An nner product, on a real vector space X s a symmetrc, blnear,

More information

Rockefeller College University at Albany

Rockefeller College University at Albany Rockefeller College Unverst at Alban PAD 705 Handout: Maxmum Lkelhood Estmaton Orgnal b Davd A. Wse John F. Kenned School of Government, Harvard Unverst Modfcatons b R. Karl Rethemeer Up to ths pont n

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

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

Feb 14: Spatial analysis of data fields

Feb 14: Spatial analysis of data fields Feb 4: Spatal analyss of data felds Mappng rregularly sampled data onto a regular grd Many analyss technques for geophyscal data requre the data be located at regular ntervals n space and/or tme. hs s

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

MIMA Group. Chapter 2 Bayesian Decision Theory. School of Computer Science and Technology, Shandong University. Xin-Shun SDU

MIMA Group. Chapter 2 Bayesian Decision Theory. School of Computer Science and Technology, Shandong University. Xin-Shun SDU Group M D L M Chapter Bayesan Decson heory Xn-Shun Xu @ SDU School of Computer Scence and echnology, Shandong Unversty Bayesan Decson heory Bayesan decson theory s a statstcal approach to data mnng/pattern

More information

A Comparative Study for Estimation Parameters in Panel Data Model

A Comparative Study for Estimation Parameters in Panel Data Model A Comparatve Study for Estmaton Parameters n Panel Data Model Ahmed H. Youssef and Mohamed R. Abonazel hs paper examnes the panel data models when the regresson coeffcents are fxed random and mxed and

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

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

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

More information

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

More information

Chat eld, C. and A.J.Collins, Introduction to multivariate analysis. Chapman & Hall, 1980

Chat eld, C. and A.J.Collins, Introduction to multivariate analysis. Chapman & Hall, 1980 MT07: Multvarate Statstcal Methods Mke Tso: emal mke.tso@manchester.ac.uk Webpage for notes: http://www.maths.manchester.ac.uk/~mkt/new_teachng.htm. Introducton to multvarate data. Books Chat eld, C. and

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

36.1 Why is it important to be able to find roots to systems of equations? Up to this point, we have discussed how to find the solution to

36.1 Why is it important to be able to find roots to systems of equations? Up to this point, we have discussed how to find the solution to ChE Lecture Notes - D. Keer, 5/9/98 Lecture 6,7,8 - Rootndng n systems o equatons (A) Theory (B) Problems (C) MATLAB Applcatons Tet: Supplementary notes rom Instructor 6. Why s t mportant to be able to

More information

Unit 5: Quadratic Equations & Functions

Unit 5: Quadratic Equations & Functions Date Perod Unt 5: Quadratc Equatons & Functons DAY TOPIC 1 Modelng Data wth Quadratc Functons Factorng Quadratc Epressons 3 Solvng Quadratc Equatons 4 Comple Numbers Smplfcaton, Addton/Subtracton & Multplcaton

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

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

The Geometry of Logit and Probit

The Geometry of Logit and Probit The Geometry of Logt and Probt Ths short note s meant as a supplement to Chapters and 3 of Spatal Models of Parlamentary Votng and the notaton and reference to fgures n the text below s to those two chapters.

More information

1 GSW Iterative Techniques for y = Ax

1 GSW Iterative Techniques for y = Ax 1 for y = A I m gong to cheat here. here are a lot of teratve technques that can be used to solve the general case of a set of smultaneous equatons (wrtten n the matr form as y = A), but ths chapter sn

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

Exercise 1 The General Linear Model : Answers

Exercise 1 The General Linear Model : Answers Eercse The General Lnear Model Answers. Gven the followng nformaton on 67 pars of values on and -.6 - - - 9 a fnd the OLS coeffcent estmate from a regresson of on. Usng b 9 So. 9 b Suppose that now also

More information

Econometrics: What's It All About, Alfie?

Econometrics: What's It All About, Alfie? ECON 351* -- Introducton (Page 1) Econometrcs: What's It All About, Ale? Usng sample data on observable varables to learn about economc relatonshps, the unctonal relatonshps among economc varables. Econometrcs

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

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

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

Practical Newton s Method

Practical Newton s Method Practcal Newton s Method Lecture- n Newton s Method n Pure Newton s method converges radly once t s close to. It may not converge rom the remote startng ont he search drecton to be a descent drecton rue

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

Radar Trackers. Study Guide. All chapters, problems, examples and page numbers refer to Applied Optimal Estimation, A. Gelb, Ed.

Radar Trackers. Study Guide. All chapters, problems, examples and page numbers refer to Applied Optimal Estimation, A. Gelb, Ed. Radar rackers Study Gude All chapters, problems, examples and page numbers refer to Appled Optmal Estmaton, A. Gelb, Ed. Chapter Example.0- Problem Statement wo sensors Each has a sngle nose measurement

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

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

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

MACHINE APPLIED MACHINE LEARNING LEARNING. Gaussian Mixture Regression

MACHINE APPLIED MACHINE LEARNING LEARNING. Gaussian Mixture Regression 11 MACHINE APPLIED MACHINE LEARNING LEARNING MACHINE LEARNING Gaussan Mture Regresson 22 MACHINE APPLIED MACHINE LEARNING LEARNING Bref summary of last week s lecture 33 MACHINE APPLIED MACHINE LEARNING

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

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

Lecture 2 Solution of Nonlinear Equations ( Root Finding Problems )

Lecture 2 Solution of Nonlinear Equations ( Root Finding Problems ) Lecture Soluton o Nonlnear Equatons Root Fndng Problems Dentons Classcaton o Methods Analytcal Solutons Graphcal Methods Numercal Methods Bracketng Methods Open Methods Convergence Notatons Root Fndng

More information

GMM Method (Single-equation) Pongsa Pornchaiwiseskul Faculty of Economics Chulalongkorn University

GMM Method (Single-equation) Pongsa Pornchaiwiseskul Faculty of Economics Chulalongkorn University GMM Method (Sngle-equaton Pongsa Pornchawsesul Faculty of Economcs Chulalongorn Unversty Stochastc ( Gven that, for some, s random COV(, ε E(( µ ε E( ε µ E( ε E( ε (c Pongsa Pornchawsesul, Faculty of Economcs,

More information

Representation Theorem for Convex Nonparametric Least Squares. Timo Kuosmanen

Representation Theorem for Convex Nonparametric Least Squares. Timo Kuosmanen Representaton Theorem or Convex Nonparametrc Least Squares Tmo Kuosmanen 4th Nordc Econometrc Meetng, Tartu, Estona, 4-6 May 007 Motvaton Inerences oten depend crtcally upon the algebrac orm chosen. It

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

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

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

More information

Linear Regression Analysis: Terminology and Notation

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

More information

General Tips on How to Do Well in Physics Exams. 1. Establish a good habit in keeping track of your steps. For example, when you use the equation

General Tips on How to Do Well in Physics Exams. 1. Establish a good habit in keeping track of your steps. For example, when you use the equation General Tps on How to Do Well n Physcs Exams 1. Establsh a good habt n keepng track o your steps. For example when you use the equaton 1 1 1 + = d d to solve or d o you should rst rewrte t as 1 1 1 = d

More information

THE ROYAL STATISTICAL SOCIETY 2006 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE

THE ROYAL STATISTICAL SOCIETY 2006 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE THE ROYAL STATISTICAL SOCIETY 6 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE PAPER I STATISTICAL THEORY The Socety provdes these solutons to assst canddates preparng for the eamnatons n future years and for

More information

Parametric fractional imputation for missing data analysis. Jae Kwang Kim Survey Working Group Seminar March 29, 2010

Parametric fractional imputation for missing data analysis. Jae Kwang Kim Survey Working Group Seminar March 29, 2010 Parametrc fractonal mputaton for mssng data analyss Jae Kwang Km Survey Workng Group Semnar March 29, 2010 1 Outlne Introducton Proposed method Fractonal mputaton Approxmaton Varance estmaton Multple mputaton

More information

Chapter 3 Describing Data Using Numerical Measures

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

More information

Why Bayesian? 3. Bayes and Normal Models. State of nature: class. Decision rule. Rev. Thomas Bayes ( ) Bayes Theorem (yes, the famous one)

Why Bayesian? 3. Bayes and Normal Models. State of nature: class. Decision rule. Rev. Thomas Bayes ( ) Bayes Theorem (yes, the famous one) Why Bayesan? 3. Bayes and Normal Models Alex M. Martnez alex@ece.osu.edu Handouts Handoutsfor forece ECE874 874Sp Sp007 If all our research (n PR was to dsappear and you could only save one theory, whch

More information

Some basic statistics and curve fitting techniques

Some basic statistics and curve fitting techniques Some basc statstcs and curve fttng technques Statstcs s the dscplne concerned wth the study of varablty, wth the study of uncertanty, and wth the study of decsonmakng n the face of uncertanty (Lndsay et

More information

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

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

More information

Computing MLE Bias Empirically

Computing MLE Bias Empirically Computng MLE Bas Emprcally Kar Wa Lm Australan atonal Unversty January 3, 27 Abstract Ths note studes the bas arses from the MLE estmate of the rate parameter and the mean parameter of an exponental dstrbuton.

More information

Lecture 10 Support Vector Machines II

Lecture 10 Support Vector Machines II Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed

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

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

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

Complex Variables. Chapter 18 Integration in the Complex Plane. March 12, 2013 Lecturer: Shih-Yuan Chen

Complex Variables. Chapter 18 Integration in the Complex Plane. March 12, 2013 Lecturer: Shih-Yuan Chen omplex Varables hapter 8 Integraton n the omplex Plane March, Lecturer: Shh-Yuan hen Except where otherwse noted, content s lcensed under a BY-N-SA. TW Lcense. ontents ontour ntegrals auchy-goursat theorem

More information

Systems of Equations (SUR, GMM, and 3SLS)

Systems of Equations (SUR, GMM, and 3SLS) Lecture otes on Advanced Econometrcs Takash Yamano Fall Semester 4 Lecture 4: Sstems of Equatons (SUR, MM, and 3SLS) Seemngl Unrelated Regresson (SUR) Model Consder a set of lnear equatons: $ + ɛ $ + ɛ

More information