β0 + β1xi. You are interested in estimating the unknown parameters β
|
|
- Reynold Fox
- 5 years ago
- Views:
Transcription
1 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) wth OLS Estmates Examples n Excel and Stata The SLR Setup You have a dataset consstng of n observatons of (, ) : { } x, =,, n You beleve that except for random nose n the data, there s a lnear relatonshp between the x s and the s: β + βx You are nterested n estmatng the unknown parameters β and β 3 If there was no nose n the data, then snce = β + βx for all observatons, we can easl determne β and β But tpcall, the relatonshp s not exact n the observed data 4 Call our parameter estmates ˆβ and ˆβ, and our predcted values ˆ ˆ ˆ = β + βx 5 We call the dfference between the observed and the predcted value ˆ ˆ ˆ = β + βx the resdual, ˆ uˆ ˆ ˆ ˆ = = β + βx u : ( ) 6 Here s an example (negatve resduals for # and #; postve resduals for #3 and #4): β s just the slope of the lne connectng an two dataponts, and β β = x, for an datapont
2 OLS: SLR Analss (Rev d v3) Sample Statstcs 7 The sample mean: x = x and n 8 Devatons from means: ( x x)' s and ( )' s = Note that x = nx n a B constructon, the total of the devatons from the means wll be zero: ( x x) = and ( ) = ( ) = ( + ) ( ) ( ) n ( ) n n ( ) n and lkewse for the 9 Squared devatons from means: = + = + = x s n n average squared devaton from the mean (except we dvde b n-, not n the reason for ths wll become clear when we consder unbased estmaton) The sample varance: S ( ) ( ) = S = = n almost the The sample standard devaton: varance S = ( ) n Sum of the product of the devatons from means: ( x x)( ) = ( x x + ) = ( x ) n + n = ( ) n, the square root of the sample n n almost the average product of the devatons from the means (except we agan dvde b n-, not n and es, ths s also related to unbased estmaton) 3 The sample covarance: S = ( x x)( ) = ( x ) n agan, a Some examples: In the followng examples, x = and = On the left, most of the data are n quadrants I and III, where ( x x)( ) >, and so when ou sum those products ou get a postve sample covarance Most of the acton on the rght s n quadrants II and IV where ( x x)( ) <, and so those products sum to a negatve covarance
3 OLS: SLR Analss (Rev d v3) S 4 The sample correlaton: ˆ ρ =, the rato of the sample covarance to the product of the SS sample standard devatons x a It ma not be so obvous, but b constructon, ˆ ρ, or ˆ ρ b If S =, the sample covarance s and the sample correlaton s also And f the sample covarance s negatve (postve), then so s the sample correlaton (snce sample standard devatons are alwas postve, so long as the are well defned and not zero) c If ˆ ρ s close to then the relatonshp between x and wll look qute lnear (wth a postve slope f ˆ ρ, and a negatve slope f ˆ ρ If = β + βx for all, so there s n fact an exact lnear relatonshp between the x s and s, then sample correlaton s + or d And as ˆ ρ gets closer to, the relatonshp between x and looks less and less lnear e So: Correlaton captures the extent to whch x and are movng together n a lnear fashon Ordnar Least Squares (OLS): FOCs and SOCs 5 Mnmze Sum (of the) Squared Resduals (SSRs) a We can estmate the ntercept and slope parameters, β and β, b mnmzng the sum of the squared resduals (SSRs) or errors ths explans where the least squares part of OLS comes from (We square the resduals so that postve and negatve resduals don t offset one another) b So the challenge s to fnd the slope and ntercept parameter estmates that mnmze ( ( β )) β ( ) SSR = u = + x n n S = β ( x x) = βsxx And snce S = ( ) =β Sxx, S = β Sx n n S βsxx β So: ˆ ρ = SS = β SS = β = ± Proof: Snce S = ( x x)( ) = ( x x) [ β + βx ( β + βx) ], x x x 3
4 OLS: SLR Analss (Rev d v3) c Fndng the mnmum: Frst Order Condtons (FOCs): A standard approach to fndng the mnmum of a functon s to evaluate ts (partal) dervatves and explot the fact that at the mnmum, the frst dervatves wll be zero (ths s called the frst order condton, FOC) Second Order Condtons (SOCs): And we ll also tpcall want to ensure that we have a mnmum and not, sa, a maxmum, b checkng as well the second dervatves At the mnmum, the second (partal) dervatves at the pont satsfng the FOC wll be postve We wll be skppng ths step as t can get a bt complcated d Focusng on the FOCs for our mnmzaton problem: ( ) wth respect to (wrt) β and β mnmze SSR = ( β + β x ) FOC : Dfferentatng wrt β : SSR = ˆ ˆ ( β βx) n + nβ + βnx =, and so β SSR = ˆ β ˆ = βx β The estmate of the ntercept assures that the average predcted value, ˆ β ˆ + β x, s ˆ β + ˆ β x = ˆ β x + ˆ β x = the same as the average observed value, snce ( ) FOC : Dfferentatng wrt β : ( ) and Snce SSR = ( β + βx) ˆ β ˆ β x SSR = ( β x + β x ) = ( ) β ( x x ) SSR =, we want to mnmze ( x x) ( ) β ( x x) = = β So ( x x)( ) ( x x) ( )( ) ˆ x ( ) x = β x x, and ˆ β = e The SOCs are more complcated, but t s eas to see that at the coeffcent values satsfng the two FOCs, the two second partal dervatves (wrt β and wrt β ) are both SSR SSR postve, suggestng that we have a mnmum: = n > and = x > β β 4
5 OLS: SLR Analss (Rev d v3) 6 OLS coeffcent estmates: a For the gven sample, the OLS estmates of the unknown ntercept and slope parameters are: ˆ β ( x x)( ), and ˆ β ˆ = βx = ( x x) b ˆβ and sample means Snce ˆ β ˆ = βx, the estmated ntercept s the sample mean of the s mnus ˆβ tmes the sample means of the x s c ˆβ and sample varances, covarance and correlaton Usng our sample statstcs notaton: ˆ β ( x x)( ) ( x x)( ) / ( n ) S = = = ( x x) ( x x) / ( n ) Sxx Thus, the OLS slope estmator s just the rato of the sample covarance of x s and s and the sample varance of the x s: ˆ Sample Covarance( x, ) β = Sample Varance( x) S Recall that the sample correlaton s defned b: ˆ ρ =, where S x and SS the square roots of the respectve sample varances S S Sx v Snce ˆ ρ = =, we have: ˆ S S β ˆ = = ρ SS S S S S x xx v So whle the regresson slope coeffcent s the product of the sample correlaton between the x s and s and the rato of the two estmated standard devatons: ˆ Sample StdDev( ) β = Sample Correlaton( x, ) Sample StdDev ( x ) If the two sample standard devatons are the same then the estmated slope coeffcent wll be the estmated correlaton between the x s and s d Important asde: Snce ( x x) =, Accordngl, ˆ ( x x) β = ( x x) ( x x)( ) = ( x x) ( x x) = ( x x) xx Ths wll prove useful later x x S are 5
6 OLS: SLR Analss (Rev d v3) e ˆβ s a weghted average of slopes: The estmated slope coeffcent s a weghted average of slopes of lnes jonng the varous dataponts to the sample means: ˆ ( ) β = w ( x x ) Ths result holds because ( x )( ) x ( x x) ( ) ( ) w ( n ) Sxx ( n ) Sxx ( x x) ( x x) ˆ β = = = ( ) s the slope of the lne connectng ( x, ) to ( x, ) ( x x) ( x x) ( x x) w = = ( n ) S ( x x) xx j j are non-negatve weghts, whch sum to so the slopes are weghted proportonall to ( x x), the square of the varous x-dstances from the x mean v In ths nterpretaton, dataponts are not weghted equall Those that are farther awa from x (n the x dmenson) get greater weght, and that weght ncreases wth the square of the x-dstance from x v See the posted handout for an example Predctons (and Resduals) wth OLS Estmates 7 OLS coeffcent estmates eld predcted values and resduals: a Predcted values: For gven x, the predcted value gven the estmated coeffcents s: = ˆ β + ˆ β x (as above, we tpcall use hats for predcted or estmated values) ˆ b Resduals: And for the gven predcted value, the resdual, u ˆ, s as above the uˆ = ˆ = ˆ β + ˆ β x dfference between the actual and predcted values: ( ) 8 Sample Regresson Functon (SRF): The predcted values from the estmated equaton, ŷ = ˆ β + ˆ β x, s called the Sample Regresson Functon a SRFs wll depend on the actual sample used to estmate the slope and ntercept parameters: dfferent samples wll tpcall lead to dfferent parameter estmates and accordngl, dfferent SRFs ˆ β = ˆ β x assures that the SRF passes through ( x, ) snce the value of the SRF at x b ˆ β + ˆ β x = ˆ β x + ˆ β x = s ( ) 6
7 OLS: SLR Analss (Rev d v3) c The sample correlaton between the actuals and predcted values s the same as the sample correlaton between the actuals and the x s: ˆ ρ ˆ 3 = ρ 9 SRFs and elastctes measurng economc sgnfcance a We tpcall use dervatves and elastctes to estmate the responsveness of the predcted values ( s ˆ ' ) to changes n the explanator varable x b Dervatves wll be senstve to unts of measurement but elastctes are not That s wh t s not uncommon to use elastctes to measure economc sgnfcance: Is the estmated relatonshp szable or noteworth? or s t so small that t s of lttle consequence? c Usng the SRF to estmate relatonshps: Dervatves: The estmated average margnal relatonshp between x and : d ˆ = ˆ β dx x d (Pont) Elastct: ˆ ˆ x = β evaluated at (, ˆ) = ( x, ˆ β ˆ + βx), or somewhere ˆ dx ˆ on the SRF Where ou evaluate the elastct on the SRF s often arbtrar but be sure to evaluate the elastct at some pont on the SRF You wll tpcall get dfferent elastctes dependng on where along the SRF ou estmate the elastct We often evaluate the elastct at the means: ˆ β x a Recall that the mean of the predcted values wll be and that the SRF passes through ( x, ) = ( x, ˆ β ˆ + βx) ˆ x Propertes of OLS resduals a Recall that uˆ ˆ ( ˆ ˆ β βx) = = + b The average resdual s zero: u ( ˆ ˆ β βx) n ˆ = + = c The sample correlaton between the x ' s and the ˆ ' ˆ = u s s zero, snce u ( x x ) 3 S ρ = But snce S ˆ ˆ = βsx and snce ˆ ˆ ˆ SS ˆ S = ˆ β S, ˆ ρ ˆˆ 7 xx ˆ S ˆ ˆ βsx Sx = = = = ˆ ρx SS S ˆ β S SS ˆ x x
8 OLS: SLR Analss (Rev d v3) ( )( ) Proof: ( ˆ )( x x) = ˆ ˆ ( β + βx x x (( ˆ ) β = ( x x) )( x x) = ( )( ) ˆ x x β ( x x) = gven the defnton of ˆβ d The sample correlaton between the predcted values ( ˆ s) and the resduals ( uˆ s) s zero, whch s zero (see Proof: ( uˆ uˆ)( ˆ ˆ) = uˆ ( ˆ ) = ˆ β ( ˆ )( x x) prevous proof) e Decomposton: And so OLS essentall decomposes actuals nto two uncorrelated parts, predcteds and resduals: = ˆ + uˆ and ˆ ρ ˆˆ = Ths result wll prove useful later u Examples n Excel and Stata Let s frst do ths n Excel Open the bodfatxlsx fle n Excel Generate the x- scatterplot of Brozek v wgt, and add trendlne You should see somethng lke: Case wgt Brozek wgt-wbar Brozek-Bbar product (467) (634) 564 Brozek = 67x (567) (4) (49) 566 (4) (84) (4683) (9) (64) (384) (67) (694) (349) (44) (8379) (44) (387) (67) 56 (56) For Brozek and wgt, compute sample means, varances, standard devatons, as well as the covarance and correlaton, and appl the varous formulae for the OLS slope and ntercept estmates You should get somethng lke: 8
9 OLS: SLR Analss (Rev d v3) Sample Varances Sample Cov Sample Corr Slope estmates S/Sxx 67 StDevs corr*(s/s) 67 Sum Squares Sum Intercept estmate Means ,7944 5,79 35,5755 Bbar-b*wbar (9995) Case wgt Brozek wgt-wbar Brozek-Bbar product (467) (634) (567) (4) (49) 566 (4) (84) (4683) So who knew? The Excel Trendlne s generated b OLS! Runnng regressons n Excel You can also run the OLS regresson n Excel usng Data/Data Analss/Regresson (ou ma have to load the Data Analss Tool-Pak (go to Optons/Add-Ins) SUMMARY OUTPUT Regresson Statstcs Multple R 636 R Square Adjusted R Square Standard Error 635 Observatons 5 ANOVA df SS MS F Sgnfcance F Regresson 5,669 5, E-7 Resdual 5 9, Total 5 5,79 Coeffcents Standard Error t Stat P-value Lower 95% Upper 95% Intercept (9995) 389 (48) 39776E-5 (474) (5899) wgt E Same OLS slope and ntercept! 9
10 OLS: SLR Analss (Rev d v3) Now for Stata bcuse bodfat Contans data from obs: 5 vars: 4 6 Nov 4:4 sze: 4, storage dspla value varable name tpe format label varable label Case nt %g Case Brozek double %g 457/denst - 44 wgt double %g weght (lbs) Sorted b: reg Brozek wgt Source SS df MS Number of obs = F(, 5) = 56 Model Prob > F = Resdual R-squared = Adj R-squared = 3735 Total Root MSE = Brozek Coef Std Err t P> t [95% Conf Interval] wgt _cons predct bhat scatter bhat Brozek wgt weght (lbs) Ftted values 457/denst - 44 Use the summarze, correlaton and dspla commands to generate the OLS slope and ntercept estmates:
11 OLS: SLR Analss (Rev d v3) summ Brozek wgt Varable Obs Mean Std Dev Mn Max Brozek wgt corr Brozek wgt, covar Brozek wgt Brozek 6758 wgt slope coeffcent : rato of sample covar to sample var d 3967 / ntercept estmate: d * corr Brozek wgt Brozek wgt Brozek wgt 63 slope coeffcent : sample corr * rato of sample standard devatons d 63 * / Verf that the correlaton of Brozek wth wgt s the same as the correlaton of Brozek wth bhat corr Brozek bhat wgt Brozek bhat wgt Brozek bhat 63 wgt 63 Capture the resduals and verf that the are uncorrelated wth the predcteds (bhats) and as well wth the explanator varable wgt predct resds, res corr bhat wgt resds bhat wgt resds bhat wgt resds - -
12 OLS: SLR Analss (Rev d v3) Evaluate the elastct assocated wth the estmated OLS coeffccents: d 6788*78944/ Or just run the margns command rght after the reg command reg Brozek wgt margns, eex(_all) atmeans Condtonal margnal effects Number of obs = 5 Model VCE : OLS Expresson : Lnear predcton, predct() e/ex wrt : wgt at : wgt = (mean) Delta-method e/ex Std Err t P> t [95% Conf Interval] wgt
β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β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 informatione 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 following data appear in Wooldridge Q2.3.] The table below contains the ACT score and college GPA for eight college students.
PPOL 59-3 Problem Set Exercses n Smple Regresson Due n class /8/7 In ths problem set, you are asked to compute varous statstcs by hand to gve you a better sense of the mechancs of the Pearson correlaton
More informationChapter 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 informationStatistics 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 informationIntroduction 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 informationStatistics 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 informationCorrelation 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 informationChapter 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 informationResource 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 information17 - LINEAR REGRESSION II
Topc 7 Lnear Regresson II 7- Topc 7 - LINEAR REGRESSION II Testng and Estmaton Inferences about β Recall that we estmate Yˆ ˆ β + ˆ βx. 0 μ Y X x β0 + βx usng To estmate σ σ squared error Y X x ε s ε we
More informationj) = 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 informationSTAT 3340 Assignment 1 solutions. 1. Find the equation of the line which passes through the points (1,1) and (4,5).
(out of 15 ponts) STAT 3340 Assgnment 1 solutons (10) (10) 1. Fnd the equaton of the lne whch passes through the ponts (1,1) and (4,5). β 1 = (5 1)/(4 1) = 4/3 equaton for the lne s y y 0 = β 1 (x x 0
More informationx yi In chapter 14, we want to perform inference (i.e. calculate confidence intervals and perform tests of significance) in this setting.
The Practce of Statstcs, nd ed. Chapter 14 Inference for Regresson Introducton In chapter 3 we used a least-squares regresson lne (LSRL) to represent a lnear relatonshp etween two quanttatve explanator
More informationComparison 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 informationInterpreting Slope Coefficients in Multiple Linear Regression Models: An Example
CONOMICS 5* -- Introducton to NOT CON 5* -- Introducton to NOT : Multple Lnear Regresson Models Interpretng Slope Coeffcents n Multple Lnear Regresson Models: An xample Consder the followng smple lnear
More informationInterval 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 informationSIMPLE LINEAR REGRESSION
Smple Lnear Regresson and Correlaton Introducton Prevousl, our attenton has been focused on one varable whch we desgnated b x. Frequentl, t s desrable to learn somethng about the relatonshp between two
More informationBiostatistics. 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 informationRegression Analysis. Regression Analysis
Regresson Analyss Smple Regresson Multvarate Regresson Stepwse Regresson Replcaton and Predcton Error 1 Regresson Analyss In general, we "ft" a model by mnmzng a metrc that represents the error. n mn (y
More informationLinear 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 informationDepartment 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 informationEcon107 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 informationChapter 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 informationx 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 informationBasic 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 informationProperties 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 informationEcon 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 informationLecture 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 informationChapter 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 informationY = β 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 information1. 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 informationa. (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 informationSTAT 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 informationLinear regression. Regression Models. Chapter 11 Student Lecture Notes Regression Analysis is the
Chapter 11 Student Lecture Notes 11-1 Lnear regresson Wenl lu Dept. Health statstcs School of publc health Tanjn medcal unversty 1 Regresson Models 1. Answer What Is the Relatonshp Between the Varables?.
More informationSTATISTICS 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 informationEconomics 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 informationLecture 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 informationStatistics 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 informationStatistics 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 informationLecture 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 informationChapter 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 informationThe 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 informationLecture 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 informationLecture 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 informationwhere 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 informationActivity #13: Simple Linear Regression. actgpa.sav; beer.sav;
ctvty #3: Smple Lnear Regresson Resources: actgpa.sav; beer.sav; http://mathworld.wolfram.com/leastfttng.html In the last actvty, we learned how to quantfy the strength of the lnear relatonshp between
More informationNegative 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 informationOutline. 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 informationChapter 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 informationOrdinary Least Squares (OLS): Simple Linear Regression (SLR) Assessment: Goodness of Fit & Precision
Ordnary Least Squares (OLS): Smple Lnear Regresson (SLR) Assessment: Goodness of Ft & Precson How close? Goodness of Ft and Inference Brng on the ANOVA Table! (SST, SSE and ) Goodness of Ft I: Mean Squared
More informationThe 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 informationBiostatistics 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 informationIntroduction to Dummy Variable Regressors. 1. An Example of Dummy Variable Regressors
ECONOMICS 5* -- Introducton to Dummy Varable Regressors ECON 5* -- Introducton to NOTE Introducton to Dummy Varable Regressors. An Example of Dummy Varable Regressors A model of North Amercan car prces
More informationLecture 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 informationSystems 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 informationOrdinary Least Squares (OLS): Simple Linear Regression (SLR) Assessment: Goodness of Fit & Precision
Ordnary Least quares (OL): mple Lnear Regresson (LR) Assessment: Goodness of Ft & Precson How close? Goodness of Ft v. Inference Goodness of Ft I: Mean quared Error (ME) and Root ME (RME) Brng on the ANOVA
More informationHowever, 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 informationBIO 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 informationStatistics II Final Exam 26/6/18
Statstcs II Fnal Exam 26/6/18 Academc Year 2017/18 Solutons Exam duraton: 2 h 30 mn 1. (3 ponts) A town hall s conductng a study to determne the amount of leftover food produced by the restaurants n the
More informationECONOMICS 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/ 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 informationLearning 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 information3.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 informationLecture 3: Probability Distributions
Lecture 3: Probablty Dstrbutons Random Varables Let us begn by defnng a sample space as a set of outcomes from an experment. We denote ths by S. A random varable s a functon whch maps outcomes nto the
More informationECON 351* -- Note 23: Tests for Coefficient Differences: Examples Introduction. Sample data: A random sample of 534 paid employees.
Model and Data ECON 35* -- NOTE 3 Tests for Coeffcent Dfferences: Examples. Introducton Sample data: A random sample of 534 pad employees. Varable defntons: W hourly wage rate of employee ; lnw the natural
More informationTopic 7: Analysis of Variance
Topc 7: Analyss of Varance Outlne Parttonng sums of squares Breakdown the degrees of freedom Expected mean squares (EMS) F test ANOVA table General lnear test Pearson Correlaton / R 2 Analyss of Varance
More information2016 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 informationT 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 informationsince [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 informationSTAT 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 informationChapter 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 informationMaximum Likelihood Estimation and Binary Dependent Variables
MLE and Bnary Deendent Varables Maxmum Lkelhood Estmaton and Bnary Deendent Varables. Startng wth a Smle Examle: Bernoull Trals Lets start wth a smle examle: Teams A and B lay one another 0 tmes; A wns
More informationLab 4: Two-level Random Intercept Model
BIO 656 Lab4 009 Lab 4: Two-level Random Intercept Model Data: Peak expratory flow rate (pefr) measured twce, usng two dfferent nstruments, for 17 subjects. (from Chapter 1 of Multlevel and Longtudnal
More informationModule Contact: Dr Susan Long, ECO Copyright of the University of East Anglia Version 1
UNIVERSITY OF EAST ANGLIA School of Economcs Man Seres PG Examnaton 016-17 ECONOMETRIC METHODS ECO-7000A Tme allowed: hours Answer ALL FOUR Questons. Queston 1 carres a weght of 5%; Queston carres 0%;
More informationScatter Plot x
Construct a scatter plot usng excel for the gven data. Determne whether there s a postve lnear correlaton, negatve lnear correlaton, or no lnear correlaton. Complete the table and fnd the correlaton coeffcent
More informationLECTURE 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 informationThe 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 informationISQS 6348 Final Open notes, no books. Points out of 100 in parentheses. Y 1 ε 2
ISQS 6348 Fnal Open notes, no books. Ponts out of 100 n parentheses. 1. The followng path dagram s gven: ε 1 Y 1 ε F Y 1.A. (10) Wrte down the usual model and assumptons that are mpled by ths dagram. Soluton:
More informationLecture 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 informationHere 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 informationThis column is a continuation of our previous column
Comparson of Goodness of Ft Statstcs for Lnear Regresson, Part II The authors contnue ther dscusson of the correlaton coeffcent n developng a calbraton for quanttatve analyss. Jerome Workman Jr. and Howard
More informationQuestion 1 carries a weight of 25%; question 2 carries 20%; question 3 carries 25%; and question 4 carries 30%.
UNIVERSITY OF EAST ANGLIA School of Economcs Man Seres PGT Examnaton 017-18 FINANCIAL ECONOMETRICS ECO-7009A Tme allowed: HOURS Answer ALL FOUR questons. Queston 1 carres a weght of 5%; queston carres
More informationMeasuring the Strength of Association
Stat 3000 Statstcs for Scentsts and Engneers Measurng the Strength of Assocaton Note that the slope s one measure of the lnear assocaton between two contnuous varables t tells ou how much the average of
More informationChapter 15 - Multiple Regression
Chapter - Multple Regresson Chapter - Multple Regresson Multple Regresson Model The equaton that descrbes how the dependent varable y s related to the ndependent varables x, x,... x p and an error term
More informationChapter 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 informationNANYANG 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 informationUniversity of California at Berkeley Fall Introductory Applied Econometrics Final examination
SID: EEP 118 / IAS 118 Elsabeth Sadoulet and Daley Kutzman Unversty of Calforna at Berkeley Fall 01 Introductory Appled Econometrcs Fnal examnaton Scores add up to 10 ponts Your name: SID: 1. (15 ponts)
More informationChapter 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 informationProfessor 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 informationLaboratory 3: Method of Least Squares
Laboratory 3: Method of Least Squares Introducton Consder the graph of expermental data n Fgure 1. In ths experment x s the ndependent varable and y the dependent varable. Clearly they are correlated wth
More informationKernel 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 informationLINEAR 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 informationECONOMICS 351* -- Stata 10 Tutorial 6. Stata 10 Tutorial 6
ECONOMICS 35* -- Stata Tutoral 6 Stata Tutoral 6 TOPICS: Functonal Form and Varable Re-scalng n Smple Lnear Regresson Models, and An Introducton to Multple Lnear Regresson Models DATA: auto.dta (a Stata-format
More informationLinear 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 informationAddressing Alternative. Multiple Regression Spring 2012
Addressng Alternatve Explanatons: Multple Regresson 7.87 Sprng 0 Dd Clnton hurt Gore example Dd Clnton hurt Gore n the 000 electon? Treatment s not lkng Bll Clnton How would you test ths? Bvarate regresson
More informationLinear Feature Engineering 11
Lnear Feature Engneerng 11 2 Least-Squares 2.1 Smple least-squares Consder the followng dataset. We have a bunch of nputs x and correspondng outputs y. The partcular values n ths dataset are x y 0.23 0.19
More informationFall 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 informationExercise 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