代做Problem Set # 3 - Introduction to Econometrics代做留学生SQL语言程序

Problem Set # 3 - Introduction to Econometrics

Due: June 21st, 5:00PM

1. Measurement Errors in the Data (Again!)

Suppose the true model is given by

yi = β0 + β1xi + ui

and we are interested in estimating β1 . Suppose our sample is i.i.d and E[ui|xi] = 0.  Unfortu- nately, we only have a noisy measure of xi.  That is, we observe

xi(*) = xi + εi

Assume E[εi] = 0 and that εi  is independent from everything.  In this context, εi  is our mea- surement error for observation i. This measurement error is not systematic, and is not related to any of the parameters we are interested in estimating.  (So, it has zero covariance with any of the variables we are interested in). As we don’t have access to the “real” value of xi, we run the following regression:

yi = β0(*) + β1(*)xi(*) + ui(*)

We now know that in this case β(ˆ)1(*) is a biased and inconsistent estimator for β1 . Specifically,

What is happening here is that, from the true model,

as long as β1 ≠ 0 it is as if we are omitting a variable, εi, that correlates with both xi(*) and yi. (Notice that Cov(xi(*),εi) = Var(εi))

Now, suppose we have a separate measurement for xi:

˜(x)i = xi + ηi

where ηi  is independent from xi , ui  and ηi.  So, we have a separate measurement of xi  that is still measured with error, but the two measurement errors η and ε is independent.

(a) Verify that ˜(x)i  is a valid instrument for xi(*) .  (Hint:   Two  conditions to show.)

(b) Conclude that β1(TSLS) is an unbiased estimator for β1  in this case.  How would you calculate β1(TSLS)?  (Hint:  After Part  (a)  you don’t need any additional math for this part.)

2. The Fulton Fish Market

In her 2006 paper, Graddy studies the Fulton fish market in Manhattan.  She collected data for prices and quantities of fish sold.  The very first thing to think about is that this is a market, so supply and demand curves are involved. We will dive deeper into this problem, focusing on the estimation of the demand curve.

First, let’s take a look at a simple supply and demand system of equations:

Where the first equation is a demand curve, the second is a supply curve, and the last equation is the market equilibrium condition.  Qd  and Qs  are the demanded and supplied quantities,p is the price, ud  and us  are error terms and (α0 ,α 1 ,β0 ,β1 ) are parameters.

(a) Show that Cov(ud , p) ≠ 0.  In other words, show that you can’t estimate the demand curve as is with ordinary least squares.

We will use the instrumental variables approach to proceed with the estimation.  In her re- search about the market, Graddy concluded that the majority of clients were restaurants, and fishermen went to the sea with their own boats.  Her proposed instrument for prices is the storminess of the weather, which acts as a shifter of the supply curve.

(b) Describe  the  conditions  under  which  this is  a valid instrument for prices,  and  discuss whether they likely hold.

With the proposed instrument, this is the regression she runs with OLS and IV:

log(q) = β0 + β1 log(p) + β2 Monday + β3Tuesday + β4 Wednesday+ +β5Thursday + β6Weather + β7Rain + ε

Where q is the quantity of fish traded, p is the price at which they’re traded.  The extra con- trols are Monday , Tuesday , Wednesday, and Thursday , dummies for each day of the week, Weather is a variable that captures weather conditions in that specific day, and Rain is the precipitation in that specific day.

The table in the next page details the results of her regressions (standard errors are reported in parentheses). The first two columns show the results for the OLS estimation, without extra controls (regression 1) and with extra controls (regression 2), and using storminess as an in- strument for price (regressions 3 and 4 exclude and include the extra controls, respectively).

(c) Assuming all the controls are exogenous, write down the first stage regression to be used in the IV estimation.

(d) Interpret the coefficient associated with log(p) in regression (4).

(e) Is there (informal) evidence that prices are endogenous? You can calculate the confidence interval of the OLS coefficient in regression (2) and compare it to the same coefficient in regres- sion (4).

3. Identifying Cigarette Demand

You are given a dataset, “cigarettes1995.csv” which has information on quantity and price for cigarettes in 1995 for 48 states in the United States. In the data, you observe:

state: Factor indicating state.

year: Factor indicating year.

cpi: Consumer price index.

population: State population.

packs: Number of packs per capita.

income: State personal income (total, nominal).

•  salestax: Sales tax for state in fiscal year.

price: Average (real) prices for fiscal year.

You are interested in identifying the demand curve for cigarettes in the U.S.

(a) Regress log(packs) on log(price). Interpret the coefficients.

(b) Do you think you identified the demand curve?  Do you expect log(price) to be exogenous? Why?

(c) To identify the demand curve, a researcher suggests using  salestax as an instrument for log(prices). Is this a valid instrument? Why/Why not?

(d) Regress log(price) on salestax. Using the fitted values of log(price), create a new variable in your dataset called fitted logprice.

(e) Regress log(packs) on fitted logprice.  Report the regressions from (a),  (d) and (e) on the same table using Stargazer.

(f) Using the  ivreg  function in R, run an IV regression of log(packs) on log(price) where salestax is used as an instrument for log(price). Report the models from (a), (e) and (f) on the same table using Stargazer.

Models (e) and (f) should have the same coefficients but different standard errors. The stan- dard errors from model (e) are invalid, because the procedure does not take into account that we are using fitted values in the regression.  The ivreg function in R corrects this problem, thus the standard errors in the model at (f) are the correct ones.

(g) Worried that income might be moving the demand curve, you decide to add it as a control variable. Regress log(packs) on log(price) using log(income) as a control variable.

(h) Regress  log(price) on salestax using log(income) as a control variable.  Save the fitted values as a new variable in your dataset, and name it fitted logprice income.

(i) Regress log(packs) on fitted log price and log(income).  Also use the ivreg  function in R to regress log(packs) on log(price) and log(income) where log(price) is instrumented using salestax and log(income). Report the 3 models from parts (h) and (i) using Stargazer.





热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图