Download presentation
Presentation is loading. Please wait.
Published byMerry Higgins Modified over 9 years ago
1
[Part 3: Common Effects ] 1/57 Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business
2
[Part 3: Common Effects ] 2/57 Benefits of Panel Data Time and individual variation in behavior unobservable in cross sections or aggregate time series Observable and unobservable individual heterogeneity Rich hierarchical structures More complicated models Features that cannot be modeled with only cross section or aggregate time series data alone Dynamics in economic behavior
3
[Part 3: Common Effects ] 3/57 Short Term Agenda for Simple Effects Models Models with individual effects Interpretation of models Computation (practice) and estimation (theory) Extensions Nonstandard panels: Rotating, Pseudo-, Nested Generalizing the regression model Alternative estimators Methods Least squares: OLS, GLS, FGLS MLE and Maximum Simulated Likelihood
4
[Part 3: Common Effects ] 4/57 Fixed and Random Effects Unobserved individual effects in regression: E[y it | x it, c i ] Notation: Linear specification: Fixed Effects: E[c i | X i ] = g(X i ). Cov[x it,c i ] ≠0 effects are correlated with included variables. Random Effects: E[c i | X i ] = μ; effects are uncorrelated with included variables. If X i contains a constant term, μ=0 WLOG. Common: Cov[x it,c i ] =0, but E[c i | X i ] = μ is needed for the full model
5
[Part 3: Common Effects ] 5/57 Convenient Notation Fixed Effects – the ‘dummy variable model’ Random Effects – the ‘error components model’ Individual specific constant terms. Compound (“composed”) disturbance
6
[Part 3: Common Effects ] 6/57 Balanced and Unbalanced Panels Distinction: Balanced vs. Unbalanced Panels A notation to help with mechanics z i,t, i = 1,…,N; t = 1,…,T i The role of the assumption Mathematical and notational convenience: Balanced, n=NT Unbalanced: Is the fixed T i assumption ever necessary? Almost never. (Baltagi chapter 9 is about algebra, not different models!) Is unbalancedness due to nonrandom attrition from an otherwise balanced panel? This will require special considerations.
7
[Part 3: Common Effects ] 7/57 An Unbalanced Panel: RWM’s GSOEP Data on Health Care N = 7,293 Households Some households exited then returned
8
[Part 3: Common Effects ] 8/57 Exogeneity Contemporaneous exogeneity E[ε it |x it,c i ]=0 Not sufficient for regression Doesn’t imply how to estimate β Strict exogeneity – the most common assumption E[ε it |x i1, x i2,…,x iT,c i ]=0 Can use first difference or fixed effects Cannot hold if x it contains lagged values of y it Sequential exogeneity? E[ε it |x i1, x i2,…,x it,c i ] = 0 These assumptions are not testable. They are part of the model.
9
[Part 3: Common Effects ] 9/57 Assumptions for Asymptotics Convergence of moments involving cross section X i. N increasing, T or T i assumed fixed. “Fixed T asymptotics” (see text, p. 175) Time series characteristics are not relevant (may be nonstationary) If T is also growing, need to treat as multivariate time series. Ranks of matrices. X must have full column rank. (X i may not, if T i < K.) Strict exogeneity and dynamics. If x it contains y i,t-1 then x it cannot be strictly exogenous. X it will be correlated with the unobservables in period t-1. (To be revisited later.) Empirical characteristics of microeconomic data
10
[Part 3: Common Effects ] 10/57 Estimating β β is the partial effect of interest Can it be estimated (consistently) in the presence of (unmeasured) c i ? Does pooled least squares “work?” Strategies for “controlling for c i ” using the sample data Using a proxy variable.
11
[Part 3: Common Effects ] 11/57 The Pooled Regression Presence of omitted effects Potential bias/inconsistency of OLS – depends on ‘fixed’ or ‘random’
12
[Part 3: Common Effects ] 12/57
13
[Part 3: Common Effects ] 13/57 Most Helpful Customer Reviews 31 of 39 people found the following review helpful Too theoretical and poorly writtenToo theoretical and poorly written By Doktor Faustus on May 7, 2013Doktor Faustus Format: Hardcover Econometric Analysis" by William Greene is one of the more widely use graduate-level textbooks in econometrics. I used it in my first year PhD econometrics course. This is unfortunate for several reasons. The book states that its first objective is to introduce students to applied econometrics, especially the basic techniques of linear regression. When reading the book, however, what the reader notices first is that the applications are essentially just footnotes; the meat of each chapter is dense econometric theory. An applied textbook would focus on working with data, but Greene's book has exercises that focus on proving obscure statistical properties (i.e. prove that the asymptotic variance of various estimators goes to zero). Useful for theorists, but not for applied work, which is what the book advertises itself as. Another problem with the book is its impenetrable text. Reading this book is drudgery even when not trying to make sense of the absurdly huge matrix equations. Greene uses academic, elevated language that does not belong in a technical textbook. Where the student needs clear explanation, he instead reads sentences like the following found in a chapter introduction: "We first consider the consequences for the least squares estimator of the more general form of the regression model. This will include assessing the effect of ignoring the complication of the generalized model and of devising an appropriate estimation strategy, still based on least squares". After reading that second sentence several times I still don't understand what Greene is trying to convey. Finally the book is much too large and expensive for a class textbook. The book is 1200 pages long and includes numerous asides in every chapter. If the objective of the book is to teach econometrics to graduate students (as it says in the book), then it would be better off focusing on important topics and applications, not on topics that are never used by the vast majority of economists. I do not recommend this book for anyone; there are better econometrics textbooks available for undergraduates, graduate students, and professionals.
14
[Part 3: Common Effects ] 14/57 October 13, 2014 By Daniel Pulido This review is from: Econometric Analysis (7th Edition) (Hardcover) The delivery was fine. But the book itself is the worst Econometric Analysis book I have ever come across. No examples. Only a continuous list of theorems. I would not recommend anyone this book.
15
[Part 3: Common Effects ] 15/57 A Popular Misconception If only one variable in X is correlated with , the other coefficients are consistently estimated. False. The problem is “smeared” over the other coefficients.
16
[Part 3: Common Effects ] 16/57 OLS with Individual Effects
17
[Part 3: Common Effects ] 17/57 Mundlak’s Estimator Mundlak, Y., “On the Pooling of Time Series and Cross Section Data, Econometrica, 46, 1978, pp. 69-85.
18
[Part 3: Common Effects ] 18/57 Chamberlain’s (1982) Approach Use a linear projection, not necessarily the conditional mean. This “regression” can be computed T times, using one year at a time. How would we reconcile the multiple estimators of each parameter?.
19
[Part 3: Common Effects ] 19/57 Chamberlain’s (1982) Approach
20
[Part 3: Common Effects ] 20/57 Proxy Variables Proxies for unobserved effects: e.g., Test score for unobserved ability Interest is in δ(x it,c i )= E[y it |x it,c i ]/ x it Since c i is unobserved, we seek APE = E c [δ(x it,c i )] Proxy has two characteristics Ignorable in the model: E[y it |x it,z i,c i ] = E[y it |x it,c i ] ‘Explains’ c i in that E[c i |z i,x it ] = E[c i |z i ]. In the presence of z i, x it does not further ‘explain c i.’ Then, E c [δ(x it,c i )] = E z { E[y it |x it,z i ]/ x it } Proof: See Wooldridge, pp. 23-24. Loose ends: Where do you get the proxy? What is E[y it |x it,z i ]? Use the linear projection and hope for the best.
21
[Part 3: Common Effects ] 21/57 Estimating the Sampling Variance of b s 2 (X X) -1 ? Correlation across observations Heteroscedasticity A “robust” covariance matrix Robust estimation (in general) The White estimator A Robust estimator for OLS.
22
[Part 3: Common Effects ] 22/57 A ‘Cluster’ Estimator
23
[Part 3: Common Effects ] 23/57 Cluster Estimator (cont.)
24
[Part 3: Common Effects ] 24/57 Cornwell and Rupert Data Cornwell and Rupert Returns to Schooling Data, 595 Individuals, 7 Years Variables in the file are EXP = work experience WKS = weeks worked OCC = occupation, 1 if blue collar, IND = 1 if manufacturing industry SOUTH = 1 if resides in south SMSA= 1 if resides in a city (SMSA) MS = 1 if married FEM = 1 if female UNION = 1 if wage set by union contract ED = years of education LWAGE = log of wage = dependent variable in regressions These data were analyzed in Cornwell, C. and Rupert, P., "Efficient Estimation with Panel Data: An Empirical Comparison of Instrumental Variable Estimators," Journal of Applied Econometrics, 3, 1988, pp. 149-155. See Baltagi, page 122 for further analysis. The data were downloaded from the website for Baltagi's text.
25
[Part 3: Common Effects ] 25/57 Application: Cornell and Rupert
26
[Part 3: Common Effects ] 26/57 Bootstrapping Some assumptions that underlie it - the sampling mechanism Method: 1. Estimate using full sample: --> b 2. Repeat R times: Draw n observations from the n, with replacement Estimate with b(r). 3. Estimate variance with V = (1/R) r [b(r) - b][b(r) - b]’
27
[Part 3: Common Effects ] 27/57 Bootstrap Application matr;bboot=init(7,21,0.)$ Store results here name;x=one,occ,…,exp$ Define X regr;lhs=lwage;rhs=x$ Compute b calc;i=0$ Counter Proc Define procedure regr;lhs=lwage;rhs=x;quietly$ … Regression matr;{i=i+1};bboot(*,i)=b$... Store b(r) Endproc Ends procedure exec;n=20;bootstrap=b$ 20 bootstrap reps matr;list;bboot' $ Display results
28
[Part 3: Common Effects ] 28/57 Results of Bootstrap Procedure
29
[Part 3: Common Effects ] 29/57 Bootstrap Replications Full sample result Bootstrapped sample results
30
[Part 3: Common Effects ] 30/57 Bootstrap variance for a panel data estimator Panel Bootstrap = Block Bootstrap Data set is N groups of size T i Bootstrap sample is N groups of size T i drawn with replacement.
31
[Part 3: Common Effects ] 31/57
32
[Part 3: Common Effects ] 32/57 Bootstrapping Naïve bootstrap: Why is it naïve? Cases when it fails Time series “Clustered data” Order statistics Parameters on the edge of the parameter space Alternatives Block bootstrap “Wild” bootstrap (injects extra randomness)
33
[Part 3: Common Effects ] 33/57 Using First Differences Eliminating the heterogeneity
34
[Part 3: Common Effects ] 34/57 OLS with First Differences With strict exogeneity of (X i,c i ), OLS regression of Δy it on Δx it is unbiased and consistent but inefficient. GLS is unpleasantly complicated. In order to compute a first step estimator of σ ε 2 we would use fixed effects. We should just stop there. Or, use OLS in first differences and use Newey-West with one lag.
35
[Part 3: Common Effects ] 35/57 Two Periods With two periods and strict exogeneity, This is a classical regression model. If there are no regressors,
36
[Part 3: Common Effects ] 36/57 Difference-in-Differences Model With two periods and strict exogeneity of D and T, This is a linear regression model. If there are no regressors,
37
[Part 3: Common Effects ] 37/57 Difference in Differences
38
[Part 3: Common Effects ] 38/57 http://dera.ioe.ac.uk/14610/1/oft1416.pdf
39
[Part 3: Common Effects ] 39/57 Outcome is the fees charged. Activity is collusion on fees.
40
[Part 3: Common Effects ] 40/57 Treatment Schools: Treatment is an intervention by the Office of Fair Trading Control Schools were not involved in the conspiracy Treatment is not voluntary
41
[Part 3: Common Effects ] 41/57
42
[Part 3: Common Effects ] 42/57
43
[Part 3: Common Effects ] 43/57 Treatment (Intervention) Effect = 1 + 2 if SS school
44
[Part 3: Common Effects ] 44/57 In order to test robustness two versions of the fixed effects model were run. The first is Ordinary Least Squares, and the second is heteroscedasticity and auto-correlation robust (HAC) standard errors in order to check for heteroscedasticity and autocorrelation.
45
[Part 3: Common Effects ] 45/57
46
[Part 3: Common Effects ] 46/57
47
[Part 3: Common Effects ] 47/57
48
[Part 3: Common Effects ] 48/57 D-in-D Model: Natural Experiment With two periods and strict exogeneity, This is a classical regression model. If there are no regressors,
49
[Part 3: Common Effects ] 49/57 D-i-D Card and Krueger: “Minimum Wages and Employment: A Case Study of the Fast Food Industry in New Jersey and Pennsylvania,” AER, 84(4), 1994, 772-793. Pennsylvania vs. New Jersey 1991, NJ raises minimum wage Compare change in employment PA after the change to change in employment in NJ after the change. Differences cancel out other things specific to the state that would explain change in employment.
50
[Part 3: Common Effects ] 50/57 A Tale of Two Cities A sharp change in policy can constitute a natural experiment The Mariel boatlift from Cuba to Miami (May- September, 1980) increased the Miami labor force by 7%. Did it reduce wages or employment of non- immigrants? Compare Miami to Los Angeles, a comparable (assumed) city. Card, David, “The Impact of the Mariel Boatlift on the Miami Labor Market,” Industrial and Labor Relations Review, 43, 1990, pp. 245-257.
51
[Part 3: Common Effects ] 51/57 Difference in Differences
52
[Part 3: Common Effects ] 52/57 Applying the Model c = M for Miami, L for Los Angeles Immigration occurs in Miami, not Los Angeles T = 1979, 1981 (pre- and post-) Sample moment equations: E[Y i |c,t,T] E[Y i |M,79] = β 79 + γ M E[Y i |M,81] = β 81 + γ M + δ E[Y i |L,79] = β 79 + γ L E[Y i |M,79] = β 81 + γ L It is assumed that unemployment growth in the two cities would be the same if there were no immigration.
53
[Part 3: Common Effects ] 53/57 Implications for Differences Neither city exposed to migration E[Y i,0 |M,81] - E[Y i,0 |M,79] = [β 81 + γ M ] – [β 79 + γ M ] ( Miami) E[Y i,0 |L,81] - E[Y i,0 |L,79] = [β 81 + γ L ] – [β 79 + γ L ] (LA) Both cities exposed to migration E[Y i,1 |M,81] - E[Y i,1 |M,79] = [β 81 + γ M ] – [β 79 + γ M ] + δ (Miami) E[Y i,1 |L,81] - E[Y i,1 |L,79] = [β 81 + γ L ] – [β 79 + γ L ] + δ (LA) One city (Miami) exposed to migration: The difference in differences is. Miami change - Los Angeles change {E[Y i,1 |M,81] - E[Y i,1 |M,79]} – {E[Y i,0 |L,81] - E[Y i,0 |L,79]} = δ (Miami)
54
[Part 3: Common Effects ] 54/57 The Tale 1979 1980 1981 1982 1983 1984 1985 In 79, Miami unemployment is 2.0% lower In 80, Miami unemployment is 7.1% lower From 79 to 80, Miami gets 5.1% better In 81, Miami unemployment is 3.0% lower In 82, Miami unemployment is 3.3% higher From 81 to 82, Miami gets 6.3% worse
55
[Part 3: Common Effects ] 55/57 Application of a Two Period Model “Hemoglobin and Quality of Life in Cancer Patients with Anemia,” Finkelstein (MIT), Berndt (MIT), Greene (NYU), Cremieux (Univ. of Quebec) 1998 With Ortho Biotech – seeking to change labeling of already approved drug ‘erythropoetin.’ r-HuEPO
56
[Part 3: Common Effects ] 56/57
57
[Part 3: Common Effects ] 57/57 QOL Study Quality of life study i = 1,… 1200+ clinically anemic cancer patients undergoing chemotherapy, treated with transfusions and/or r-HuEPO t = 0 at baseline, 1 at exit. (interperiod survey by some patients was not used) y it = self administered quality of life survey, scale = 0,…,100 x it = hemoglobin level, other covariates Treatment effects model (hemoglobin level) Background – r-HuEPO treatment to affect Hg level Important statistical issues Unobservable individual effects The placebo effect Attrition – sample selection FDA mistrust of “community based” – not clinical trial based statistical evidence Objective – when to administer treatment for maximum marginal benefit
58
[Part 3: Common Effects ] 58/57 Regression-Treatment Effects Model
59
[Part 3: Common Effects ] 59/57 Effects and Covariates Individual effects that would impact a self reported QOL: Depression, comorbidity factors (smoking), recent financial setback, recent loss of spouse, etc. Covariates Change in tumor status Measured progressivity of disease Change in number of transfusions Presence of pain and nausea Change in number of chemotherapy cycles Change in radiotherapy types Elapsed days since chemotherapy treatment Amount of time between baseline and exit
60
[Part 3: Common Effects ] 60/57 First Differences Model
61
[Part 3: Common Effects ] 61/57 Finding Optimal treatment. Conventional wisdom and assumption of policy. Study finding Note the implication of the study for the location of the optimal point for the treatment. Largest marginal benefit moves from the left tail to the center.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.