Difference in differences estimator in two different ways

Assignment Help Microeconomics
Reference no: EM131095830

Econometrics 718 - Problem Set 2

Problem 1 - Consider a model in which

Yit = β0 + β1Xit + µi + ξit

Assume further that you have a variable Xit which varies within i (across t).

You can pick any data set and regression model you like, but I would like you to run the fixed effect model a number of different ways

a) Use xtreg, fe command in stata (using straight standard errors, and also clustering by person)

b) Do the fixed effects regression, i.e. regress (Yit-Y¯i) on (Xit-X¯i). You can construct the Y¯i variable by using the egen command with by. Get the standard errors two ways-the standard way and clustering by person.

c) Also run the regression with individual dummy variables for each person (construct the standard errors the standard way and also clustering by person). The xi command may be useful here.

How do all of these results compare? What happends if you only use two periods?

Problem 2 - Now take the data set jtrain1 (also from from https://www.stata.com/texts/eacsap/). This has data on firms and the amount of job training they get.

a) Only use the data from 1987 and 1988. Construct the difference in differences estimator in two different ways:

i) Construct the 4 means (control, treatment × before, after)

ii) Run the regression

hrsempit = β0 + β1grantit + β21(year = 1988) + β3Ei + uit

where Ei is a dummy variable for being a treatment (i.e. someone who would receive the grant in 1988).

iii) Run the fixed effect regression:

hrsempit = θi + β1grantit + β21(year = 1988) + uit

Do you get exactly the same answer, why or why not?

B) Now include a firm specific time trend in the model in two different ways:

i) use the xi command (something like xi: reg y x i.fcode*year)

ii) For each firm, run a regression of x and y on an intercept and a time trend, take the residuals and run them on each other (not sure the cleanest way to do this, but you could again use egen with by)

Problem 3 - Now use the data set regm.raw.gz that you can get from the computer software part of my website.

You can read it into stata using the comand: infile coll merit male black asian year state chst using regm.raw

Now run the difference in difference model 4 different ways

a) Standard regression using all data (construct standard errors 3 ways, robust, cluster by state year, cluster by state)

b) Standard regression using all data but weighted so that all states get the same weight

c) Now take the mean of all variable by state × year and run the diff in diff regression (robust se, and clustering by states)

d) Do the same as in c, but weight by state so it looks like the population

How does this all compare?

Reference no: EM131095830

Questions Cloud

A struggle between two perspectives about deafness : this movie, in addition to other things, portray a struggle between two perspectives about deafness. what are these views? do you think each view is fairly represented in the movie? what do you think of the conclusion?
Identify some benefits and costs associated with doing so : Discussion this week comes in two part s - Part one , for your consumption of technological resources at work (if not a work use the university) try and find out how they are charged - what do you see as the practical benefits and problems with th..
Public speaking class - composing an introduction : Once you have completed the readings, practice writing an introduction that includes all required elements. I will provide you with a topic, purpose statement, thesis statement, and main points. You will write the introduction.
Event that the eleventh draw is a heart : From an ordinary deck of 52 cards, cards are drawn one by one, at random and without replacement. What is the probability that the third heart is drawn on the eleventh draw? Hint: Let F denote the event that in the rst ten draws there are exactly ..
Difference in differences estimator in two different ways : Econometrics 718 - Problem Set 2. Only use the data from 1987 and 1988. Construct the difference in differences estimator in two different ways: Construct the 4 means (control, treatment × before, after) And Run the regression
Write an expression which represents : The length of a rectangle is six less than twice x; the width is two more than the product of four and x. 1. Write an expression which represents the length of the rectangle in terms of x. 2. Write an expression which represents the width of the rect..
How is the matter being addressed by whom : Summarize the offense (for example: who is involved; what is the infraction; who is/are the victim(s), is it a criminal offense; a civil offense; how is the matter being addressed, by whom? what are the sanctions involved, if any? if the matter ha..
Reasonable model for a particular : Mention 10 examples of things in your life that can be modeled mathematically and explain why each is reasonable model for a particular situation. Please do not use gas prices or $ paid per hour at a job. Ok to use word problems. Be specific and p..
Report or proposal on a technical or business topic : As noted above, the final product will consist of an 8- to 10-page report or proposal on a technical or business topic from the approved list in Doc Sharing or your own topic with approval from your instructor. The final document includes the fol..

Reviews

Write a Review

Microeconomics Questions & Answers

  The free rider problem

Question: Explain why the free rider problem makes it difficult for perfectly competitive markets to provide the Pareto efficient level of a public good.

  Failure of the super committee is good thing for economy

Some commentators have argued that the failure of the “Super committee” is good thing for the economy?  Do you agree?

  Case study analysis about optimum resource allocation

Case study analysis about optimum resource allocation: -  Why might you suspect (even without evidence) that the economy might not be able to produce all the schools and clinics the Ministers want? What constraints are there on an economy's productio..

  Fixed cost and vairiable cost

Questions:  :   Which of the following are likely to be fixed costs and which variable costs for a chocolate factory over the course of a month?  Explain your choice.

  Problem - total cost, average cost, marginal cost

Problem - Total Cost, Average Cost, Marginal Cost: -  Complete the following table of costs for a firm.  (Note: enter the figures in the  MC   column  between  outputs of  0 and 1, 1 and 2, 2 and 3, etc.)

  Oligopoly and demand curve problem

Problem based on Oligopoly and demand curve,  Draw and explain the demand curve facing each firm, and given this demand curve, does this mean that firms in the jeans industry do or do not compete against one another?

  Impact of external costs on resource allocation

Explain the impact of external costs and external benefits on resource allocation;  Why are public goods not produced in sufficient quantities by private markets?  Which of the following are examples of public goods (or services)? Delete the incorrec..

  Shifts in demand and movements along the demand curve

Describe the differences between shifts in demand and movements along the demand curve. What are the main factors which can shift the demand curve? Explain why they cause the demand curve to shift. Use examples and draw graphs to support your discuss..

  Article review question

Article Review Question: Read the following excerpts from the article "Fruit, veg costs surge' by Todd, Dagwell, published in the Herald on January 25th 2011 and answer questions below:

  Long-term growth, international trade & globalization

Long-term Growth, International Trade & Globalization:- This question deals with concepts such as long-term growth, international trade and globalization. Questions related to trade deficit, trade surplus, gains from trade, an international trade sce..

  European monetary union (emu) in crisis

"Does the economic bailout of Spain and Greece spell the beginning of the end for the European Monetary Union (EMU)?"

  Development game “settlers of catan”

Read the rules of the game, the overview and the almanac for the Development Game "Settlers of Catan"

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd