Ask Microeconomics Expert

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 http://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?

Microeconomics, Economics

  • Category:- Microeconomics
  • Reference No.:- M91838506

Have any Question?


Related Questions in Microeconomics

Question show the market for cigarettes in equilibrium

Question: Show the market for cigarettes in equilibrium, assuming that there are no laws banning smoking in public. Label the equilibrium private market price and quantity as Pm and Qm. Add whatever is needed to the mode ...

Question recycling is a relatively inexpensive solution to

Question: Recycling is a relatively inexpensive solution to much of the environmental contamination from plastics, glass, and other waste materials. Is it a sound policy to make it mandatory for everybody to recycle? The ...

Question consider two ways of protecting elephants from

Question: Consider two ways of protecting elephants from poachers in African countries. In one approach, the government sets up enormous national parks that have sufficient habitat for elephants to thrive and forbids all ...

Question suppose you want to put a dollar value on the

Question: Suppose you want to put a dollar value on the external costs of carbon emissions from a power plant. What information or data would you obtain to measure the external [not social] cost? The response must be typ ...

Question in the tradeoff between economic output and

Question: In the tradeoff between economic output and environmental protection, what do the combinations on the protection possibility curve represent? The response must be typed, single spaced, must be in times new roma ...

Question consider the case of global environmental problems

Question: Consider the case of global environmental problems that spill across international borders as a prisoner's dilemma of the sort studied in Monopolistic Competition and Oligopoly. Say that there are two countries ...

Question consider two approaches to reducing emissions of

Question: Consider two approaches to reducing emissions of CO2 into the environment from manufacturing industries in the United States. In the first approach, the U.S. government makes it a policy to use only predetermin ...

Question the state of colorado requires oil and gas

Question: The state of Colorado requires oil and gas companies who use fracking techniques to return the land to its original condition after the oil and gas extractions. Table 12.9 shows the total cost and total benefit ...

Question suppose a city releases 16 million gallons of raw

Question: Suppose a city releases 16 million gallons of raw sewage into a nearby lake. Table shows the total costs of cleaning up the sewage to different levels, together with the total benefits of doing so. (Benefits in ...

Question four firms called elm maple oak and cherry produce

Question: Four firms called Elm, Maple, Oak, and Cherry, produce wooden chairs. However, they also produce a great deal of garbage (a mixture of glue, varnish, sandpaper, and wood scraps). The first row of Table 12.6 sho ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As