Question 1a 1b 1c 1d 1e 2a 2b 2c 2d 2e 2f 3a 3b 3c 3d 3e 3f M ult: choice Points

Similar documents
1: a b c d e 2: a b c d e 3: a b c d e 4: a b c d e 5: a b c d e. 6: a b c d e 7: a b c d e 8: a b c d e 9: a b c d e 10: a b c d e

1: a b c d e 2: a b c d e 3: a b c d e 4: a b c d e 5: a b c d e. 6: a b c d e 7: a b c d e 8: a b c d e 9: a b c d e 10: a b c d e

Question 1a 1b 1c 1d 1e 1f 2a 2b 2c 2d 2e 2f 3a 3b 3c 3d 3e M ult:choice Points

Multiple Choice Questions (circle one part) 1: a b c d e 2: a b c d e 3: a b c d e 4: a b c d e 5: a b c d e

ECON3150/4150 Spring 2016

ECON3150/4150 Spring 2015

STATISTICS 110/201 PRACTICE FINAL EXAM

ECON Introductory Econometrics. Lecture 7: OLS with Multiple Regressors Hypotheses tests

General Linear Model (Chapter 4)

Section I. Define or explain the following terms (3 points each) 1. centered vs. uncentered 2 R - 2. Frisch theorem -

Econometrics Midterm Examination Answers

Introductory Econometrics. Lecture 13: Hypothesis testing in the multiple regression model, Part 1

Econometrics Homework 1

Problem Set #3-Key. wage Coef. Std. Err. t P> t [95% Conf. Interval]

Section Least Squares Regression

Final Exam. Question 1 (20 points) 2 (25 points) 3 (30 points) 4 (25 points) 5 (10 points) 6 (40 points) Total (150 points) Bonus question (10)

Lecture 4: Multivariate Regression, Part 2

ECON Introductory Econometrics. Lecture 5: OLS with One Regressor: Hypothesis Tests

Answer all questions from part I. Answer two question from part II.a, and one question from part II.b.

ECON Introductory Econometrics. Lecture 6: OLS with Multiple Regressors

ECO220Y Simple Regression: Testing the Slope

Lab 6 - Simple Regression

Problem Set #5-Key Sonoma State University Dr. Cuellar Economics 317- Introduction to Econometrics

Applied Statistics and Econometrics

Essential of Simple regression

ECON2228 Notes 2. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 47

Statistical Modelling in Stata 5: Linear Models

Lecture 5. In the last lecture, we covered. This lecture introduces you to

At this point, if you ve done everything correctly, you should have data that looks something like:

Midterm 2 - Solutions

ECON Introductory Econometrics. Lecture 4: Linear Regression with One Regressor

Name: Biostatistics 1 st year Comprehensive Examination: Applied in-class exam. June 8 th, 2016: 9am to 1pm

2.1. Consider the following production function, known in the literature as the transcendental production function (TPF).

Multivariate Regression: Part I

Problem Set 1 ANSWERS

Lecture 4: Multivariate Regression, Part 2

5. Let W follow a normal distribution with mean of μ and the variance of 1. Then, the pdf of W is

Simple Linear Regression

1 A Review of Correlation and Regression

ECON3150/4150 Spring 2016

Economics 326 Methods of Empirical Research in Economics. Lecture 14: Hypothesis testing in the multiple regression model, Part 2

Sociology Exam 2 Answer Key March 30, 2012

Midterm 2 - Solutions

sociology 362 regression

Ecn Analysis of Economic Data University of California - Davis February 23, 2010 Instructor: John Parman. Midterm 2. Name: ID Number: Section:

Linear Modelling in Stata Session 6: Further Topics in Linear Modelling

sociology sociology Scatterplots Quantitative Research Methods: Introduction to correlation and regression Age vs Income

Эконометрика, , 4 модуль Семинар Для Группы Э_Б2015_Э_3 Семинарист О.А.Демидова

Interpreting coefficients for transformed variables

Nonlinear Regression Functions

Interaction effects between continuous variables (Optional)

Question 1 carries a weight of 25%; question 2 carries 25%; question 3 carries 20%; and question 4 carries 30%.

sociology 362 regression

Empirical Application of Simple Regression (Chapter 2)

SOCY5601 Handout 8, Fall DETECTING CURVILINEARITY (continued) CONDITIONAL EFFECTS PLOTS

Week 3: Simple Linear Regression

Measurement Error. Often a data set will contain imperfect measures of the data we would ideally like.

Econometrics I KS. Module 2: Multivariate Linear Regression. Alexander Ahammer. This version: April 16, 2018

Correlation and Simple Linear Regression

Lecture 5: Hypothesis testing with the classical linear model

Lecture 7: OLS with qualitative information

Ch 13 & 14 - Regression Analysis

Lecture#12. Instrumental variables regression Causal parameters III

Practice exam questions

THE MULTIVARIATE LINEAR REGRESSION MODEL

Regression #8: Loose Ends

The Regression Tool. Yona Rubinstein. July Yona Rubinstein (LSE) The Regression Tool 07/16 1 / 35

1 Warm-Up: 2 Adjusted R 2. Introductory Applied Econometrics EEP/IAS 118 Spring Sylvan Herskowitz Section #

STAT 350 Final (new Material) Review Problems Key Spring 2016

Statistical Inference with Regression Analysis

Instrumental Variables, Simultaneous and Systems of Equations

Please discuss each of the 3 problems on a separate sheet of paper, not just on a separate page!

Lab 07 Introduction to Econometrics

LI EAR REGRESSIO A D CORRELATIO

ECONOMICS AND ECONOMIC METHODS PRELIM EXAM Statistics and Econometrics August 2013

Econometrics I KS. Module 1: Bivariate Linear Regression. Alexander Ahammer. This version: March 12, 2018

14.32 Final : Spring 2001

Correlation and regression. Correlation and regression analysis. Measures of association. Why bother? Positive linear relationship

Handout 11: Measurement Error

Lab 10 - Binary Variables

8. Nonstandard standard error issues 8.1. The bias of robust standard errors

Functional Form. So far considered models written in linear form. Y = b 0 + b 1 X + u (1) Implies a straight line relationship between y and X

Lecture 24: Partial correlation, multiple regression, and correlation

Applied Statistics and Econometrics

ECON Introductory Econometrics. Lecture 17: Experiments

Multiple Regression Analysis: Estimation. Simple linear regression model: an intercept and one explanatory variable (regressor)

Auto correlation 2. Note: In general we can have AR(p) errors which implies p lagged terms in the error structure, i.e.,

Applied Regression Modeling: A Business Approach Chapter 3: Multiple Linear Regression Sections

Acknowledgements. Outline. Marie Diener-West. ICTR Leadership / Team INTRODUCTION TO CLINICAL RESEARCH. Introduction to Linear Regression

Marginal Effects for Continuous Variables Richard Williams, University of Notre Dame, Last revised January 20, 2018

Basic Business Statistics, 10/e

Introduction to Regression

1 Independent Practice: Hypothesis tests for one parameter:

Binary Dependent Variables

Econ 3790: Statistics Business and Economics. Instructor: Yogesh Uppal

2. (3.5) (iii) Simply drop one of the independent variables, say leisure: GP A = β 0 + β 1 study + β 2 sleep + β 3 work + u.

Econometrics. 8) Instrumental variables

Ch 2: Simple Linear Regression

Lecture 8: Functional Form

STAT Chapter 11: Regression

Transcription:

Economics 102: Analysis of Economic Data Cameron Spring 2016 May 12 Department of Economics, U.C.-Davis Second Midterm Exam (Version A) Compulsory. Closed book. Total of 30 points and worth 22.5% of course grade. Read question carefully so you answer the question. You are to use only simple calculations (+, -, /, *, square root) and show all workings. Do not use calculators with graphical or statistical analysis capabilities. For computations nal answers should be to at least four signicant digits. You may remove the formula sheet and the Stata output sheet(s) at end of exam. Question scores Question 1a 1b 1c 1d 1e 2a 2b 2c 2d 2e 2f 3a 3b 3c 3d 3e 3f M ult: choice Points 4 1 1 1 1 1 1 2 2 3 1 1 2 1 1 1 1 5 1.(a) List the four population assumptions for the linear regression model. (1 point per correct assumption). (b) Failure of which of assumptions 1-4 will warrant using Stata command regress y x, vce(robust) rather than the simpler command regress y x? (c) Under assumptions 1-4 the OLS estimator for 2 is best linear unbiased. In what sense is the term \best" being used here. A simple answer will do (there is no need for any algebra). (d) You regress the z-scores for variable y on the z-scores for variable x and obtain a slope estimate of 0:6. Provide a simple interpretation of this slope coecient estimate. (e) Provide the general denition of a type 1 error. 1

QUESTION 2 USES STATA OUTPUT GIVEN AT THE END OF THIS EXAM. For some questions the answer is given directly in the output. For other questions you will need to use the output plus additional computation. The data are for 200 regional markets sales = sales in units newspaper = newspaper advertising in thousands of dollars Note: pay attention to the units of measurement. 2.(a) How do sales change when newspaper advertising expenditure increases by one thousand dollars? (Note: pay attention to the units of measurement). (b) Give a 95 percent condence interval for the population slope coecient. (c) Give a 90 percent condence interval for the population slope coecient. (d) The claim is made that sales are not associated with newspaper advertising. Test this claim at signicance level 0.05. State clearly the null and alternative hypotheses and your conclusion. (e) The claim is made that sales change by at least 30 units when advertising expenditure increases by one thousand dollars? (Note: pay attention to the units of measurement). Test this claim at signicance level 0.05. State clearly the null and alternative hypotheses and your conclusion. (f) Suppose $100,000 is spent on newspaper advertising. What level of sales do we expect? 2

3. You are given the following, where by i denote tted values after OLS regression. (a) Calculate the sample variance of y. i=1 (x i x) 2 = 10 i=1 (x i x)(y i y) = 20 i=1 (y i y) 2 = 90 i=1 (y i by i ) 2 = 50 x = 1 y = 20 (b) Calculate the OLS intercept and slope coecients. (c) Calculate the standard error of the regression. (d) Calculate the R-squared of the regression. (e) Calculate the correlation coecient between x and y. (f) This part is unrelated to the preceding. Suppose 1,000 times we do the following. quietly set obs 100 generate x = rnormal(5,1) generate u = rnormal(0,4) generate y = 1 + 3*x + u regress y x What value do you expect for the average of the 1,000 slope estimates obtained? Explain your answer. 3

Multiple Choice Questions (1 point each) 1. If the sample covariance is positive then a. the sample correlation coecient is necessarily positive b. the sample correlation coecient is most likely positive but could be negative c. the sample correlation coecient could easily be positive or negative. 2. The standard error of the regression is a measure of a. the standard deviation of the slope coecient b. the standard deviation of the intercept coecient c. the standard deviation of the dependent variable d. the standard deviation of the error e. none of the above. 3. Regression of y on x yields slope coecient 0:50 and correlation coecient 0:40. It follows that regression of x on y using the same data yields a. slope coecient 2:0 b. correlation coecient 0:40 c. both a. and b. d. neither a. nor b. 4. In order for (b 2 2 )=se(b 2 ) to be exactly T (n 2) distributed it is necessary that a. assumptions 1-4 hold b. assumptions 1-4 hold and the error term is normally distributed c. assumptions 1-4 hold and the error term is T (n 2) distributed. 5. Compare predicting the conditional mean of y given x = x to predicting the actual value of y given x. In both cases we use prediction by = b 1 + b 2 x. Then a 95% condence interval for the conditional mean of y given x = x is a. narrower than a 95% condence interval for the actual value of y given x = x b. wider than a 95% condence interval for the actual value of y given x = x c. possibly wider or narrower, depending on the value of x. 4

Cameron: Department of Economics, U.C.-Davis SOME USEFUL FORMULAS Univariate Data P x = 1 n n i=1 x P i and s 2 x = 1 n n 1 i=1 (x i x) 2 x t =2;n 1 (s x = p n) and t = x 0 s= p n ttail(df; t) = Pr[T > t] where T t(df) t =2 such that Pr[jT j > t =2 ] = is calculated using invttail(df; =2): Bivariate Data i=1 r xy = (x i x)(y i y) p i=1 (x i x) 2 i=1 (y i y) = s xy [Here s xx = s 2 2 x and s yy = s 2 s x s y]: y i=1 by = b 1 + b 2 x i b 2 = (x i x)(y i y) i=1 (x b i x) 2 1 = y b 2 x TSS = i=1 (y i y i ) 2 ResidualSS = i=1 (y i by i ) 2 Explained SS = TSS - Residual SS R 2 = 1 ResidualSS/TSS b 2 t =2;n 2 s b2 t = b 2 20 s b2 s 2 b 2 = yjx = x 2 b 1 + b 2 x t =2;n E[yjx = x ] 2 b 1 + b 2 x t =2;n Multivariate Data by = b 1 + b 2 x 2i + + b k x ki s 2 e P i=1 (x s 2 i x) 2 e = 1 n n 2 i=1 (y i by i ) 2 2 s e 2 s e q 1 + (x x) 2 n q 1 + P (x x) 2 n i (x i x) 2 Pi (x i x) 2 + 1 R 2 = 1 ResidualSS/TSS R 2 = R 2 k 1 n k (1 R2 ) b j t =2;n k s bj and t = b j j0 R 2 =(k 1) F = F (k 1; n k) (1 R 2 )=(n k) F = (ResSS r ResSS u )=(k g) F (k g; n k) ResSS u =(n k) Ftail(df1; df2; f) = Pr[F > f] where F is F (df1; df2) distributed. F such that Pr[F > f ] = is calculated using invftail(df1; df2; ): s bj 5

Sales 0 10000 20000 30000 0 50 100 150 New spaper. sum sales newspaper Variable Obs Mean Std. Dev. Min Max sales 200 14022.5 5217.457 1600 27000 newspaper 200 30.554 21.77862.3 114. regress sales newspaper Source SS df MS Number of obs = 200 F(1, 198) = 10.89 Model 282344204 1 282344204 Prob > F = 0.0011 Residual 5.1348e+09 198 25933356.3 R squared = 0.0521 Adj R squared = 0.0473 Total 5.4171e+09 199 27221853 Root MSE = 5092.5 sales Coef. Std. Err. t P> t [95% Conf. Interval] newspaper 54.6931 16.57572 3.30 0.001 22.00548 87.38071 _cons 12351.41 621.4202 19.88 0.000 11125.96 13576.86. display _n "t_198,.005 = " invttail(198,.005) _n " t_198,.01 = " invttail(198,.01) /// > _n "t_198,.025 = " invttail(198,.025) _n " t_198,.05 = " invttail(198,.05) /// > _n " t_198,.10 = " invttail(198,.10) _n t_198,.005 = 2.6008873 t_198,.01 = 2.3453283 t_198,.025 = 1.9720175 t_198,.05 = 1.6525858 t_198,.10 = 1.2858418 6