Reference no: EM131095778
Econometrics 706 - Difference in Differences
Problem 1 - 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 (using all the data rather than 2 years) 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 2 - 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 (constructs 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?
Compute the estimated inventory at may
: Compute the estimated inventory at May 31, assuming that the gross profit is 30% of sales. Compute the inventory by the conventional retail inventory method.
|
Discuss the phase relation of the induced voltage
: The energy density (that is, the energy per unit volume) at a point in a magnetic field can be shown to be B2/2μ, where B is the flux density and μ is the permeability. Using this result and Eq. (4 .10), show that the total magnetic field energy s..
|
Find four situations in career where conducting job search
: Which one of the following is least likely to be a qualification sought by an employer? Describe an extreme job. What would be the advantages and disadvantages of an extreme job for you?
|
Analyze and appraise each of the articles identified
: Analyze and appraise each of the articles identified. Pay particular attention to evidence that supports the problem, issue, or deficit, and your proposed solution.
|
Construct the difference in differences estimator
: 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)
|
What is the d in the quadratic formula
: What is the "D" in the quadratic formula? How can the "D" in the formula let you know what type of answer you will get when you solve the equation? What are the types of possible answers?
|
Internet user is a college graduate
: (a) What is the probability that a California adult is an internet user, given that he or she is a college graduate? Round your answer to decimal places. (b) Among California adults, what is the probability that a randomly chosen internet user i..
|
What is purpose and effect of right-to-work laws in states
: What is the principal role of a union in today's business environment? What is the purpose and effect of "Right-to-Work" laws in states that have enforced them?
|
Probability that a randomly chosen adult
: (a) Find the probability that a randomly chosen adult who is obese also suffers from diabetes. (b) Find the probability that a randomly chosen adult is obese, given that he or she suffers from diabetes.
|