\(Cov(\epsilon_{is}, {X}_{jt}) = 0\) and \(Cov(\epsilon_{it}, {X}_{it}) = 0\) , where \(j\neq i\) and \(s\neq t\) ;
Residuals (\(\epsilon\)) do not correlate with all explanatory variable (\(X\)) in all time periods (\(t\)) and for all individuals (\(i\)).
No autocorrelation/serial correlation: \(Cov(\epsilon_{it}, {X}_{i,t-1}) = 0\);
No cross-sectional dependence: \(Cov(\epsilon_{it}, {X}_{j,t}) = 0\) (when individual observations react similarly to the common shocks or correlate in space);
Not less important:
Linearity
Homoscedasticity of error terms: \(Var(\delta_{i}|{X}_{it}) = \sigma^2_{\delta}\)
Compares FE model to OLS. OLS is always consistent, when Gauss-Markov assumptions are satisfied.
H0: One model is inconsistent.
H1: Both models are equally consistent.
pFtest(rice_fe, rice_pooled)
F test for individual effects
data: output ~ land + labor + seed + urea + pest + pest_revdum
F = 1.4988, df1 = 170, df2 = 849, p-value = 0.0001704
alternative hypothesis: significant effects
Step 2.3 Lagrange Multiplier Tests
Compares FE model to OLS. OLS is always consistent, when Gauss-Markov assumptions are satisfied.
H0: One model is inconsistent.
H1: Both models are equally consistent.
plmtest(rice_pooled, effect ="individual", type ="honda")
Lagrange Multiplier Test - (Honda) for balanced panels
data: output ~ land + labor + seed + urea + pest + pest_revdum
normal = 3.7129, p-value = 0.0001025
alternative hypothesis: significant effects
plmtest(rice_pooled, effect ="individual", type ="bp")
Lagrange Multiplier Test - (Breusch-Pagan) for balanced panels
data: output ~ land + labor + seed + urea + pest + pest_revdum
chisq = 13.785, df = 1, p-value = 0.0002049
alternative hypothesis: significant effects
Step 3.1 Random Effect
rice_re <-plm(output ~ land + labor + seed + urea + pest + pest_revdum, rice_dta_p, model ="random", effect ="individual")list(pooled = rice_pooled, FE = rice_fe, RE = rice_re) %>%tidy_summary_list()
Compares RE to FE model. FE is assumed to be consistent
H0: One model is inconsistent.
H1: Both models are equally consistent.
phtest(rice_fe, rice_re)
Hausman Test
data: output ~ land + labor + seed + urea + pest + pest_revdum
chisq = 7.285, df = 6, p-value = 0.2953
alternative hypothesis: one model is inconsistent
Fixed Effect model is recommended
Step 4.1 Serial correlation and cross-sectional dependence
Wooldridge’s test for unobserved individual effects
H0: no unobserved effects
H1: some effects also dues to serial correlation
pwtest(rice_pooled)
Wooldridge's test for unobserved individual effects
data: formula
z = 2.1603, p-value = 0.03075
alternative hypothesis: unobserved effect
Step 4.2 lm tests for random effects and/or serial correlation
H0: serial correlation is zero
H1: some serial correlation
pbsytest(rice_pooled, test ="ar")
Bera, Sosa-Escudero and Yoon locally robust test - balanced panel
data: formula
chisq = 20.988, df = 1, p-value = 4.622e-06
alternative hypothesis: AR(1) errors sub random effects
pbsytest(rice_pooled, test ="re")
Bera, Sosa-Escudero and Yoon locally robust test (one-sided) - balanced
panel
data: formula
z = 0.38656, p-value = 0.3495
alternative hypothesis: random effects sub AR(1) errors
Step 4.3 Breusch-Godfrey and Durbin-Watson tests
H0: serial correlation is zero
H0: some serial correlation
pbgtest(rice_fe)
Breusch-Godfrey/Wooldridge test for serial correlation in panel models
data: output ~ land + labor + seed + urea + pest + pest_revdum
chisq = 312.08, df = 6, p-value < 2.2e-16
alternative hypothesis: serial correlation in idiosyncratic errors
pbgtest(rice_fe, order =2)
Breusch-Godfrey/Wooldridge test for serial correlation in panel models
data: output ~ land + labor + seed + urea + pest + pest_revdum
chisq = 57.029, df = 2, p-value = 4.133e-13
alternative hypothesis: serial correlation in idiosyncratic errors
pdwtest(rice_fe)
Durbin-Watson test for serial correlation in panel models
data: output ~ land + labor + seed + urea + pest + pest_revdum
DW = 2.0627, p-value = 0.8511
alternative hypothesis: serial correlation in idiosyncratic errors
\(\ln x_n \ln x_m\) are the interaction terms between all combination of two regressors.
Everything else is the same as in Cobb-Douglas.
Take away
Take away
Data types: cross-sectional and panel balanced and unbalanced
Why panel data:
FE vs RE;
Correlated and uncorrelated individual effects
Limitations of the panel regression methods
Within, first difference, Random effect
Practical application;
Fitting panel regression
Cobb-Douglas and Translog production function
Model selection routine
Statistical testing
Standard Errors correction
Results presentation
Linear hypothesis testing
Linear combination of parameters
Delta method
References
Angrist, Joshua D., and Jörn-Steffen Pischke. 2009. Mostly Harmless Econometrics. Princeton University Press. https://doi.org/10.1515/9781400829828.
Battese, George E. 1997. “A Note on the Estimation of Cobb-Douglas Production Functions When Some Explanatory Variables Have Zero Values.”Journal of Agricultural Economics 48 (1-3): 250–52. https://doi.org/10.1111/j.1477-9552.1997.tb01149.x.
Blanc, Elodie, and Wolfram Schlenker. 2017. “The Use of Panel Models in Assessments of Climate Impacts on Agriculture.”Review of Environmental Economics and Policy 11 (2): 258–79. https://doi.org/10.1093/reep/rex016.
Bozzola, Martina, Emanuele Massetti, Robert Mendelsohn, and Fabian Capitanio. 2017. “A Ricardian Analysis of the Impact of Climate Change on Italian Agriculture.”European Review of Agricultural Economics 45 (1): 57–79. https://doi.org/10.1093/erae/jbx023.
Card, David. 1996. “The Effect of Unions on the Structure of Wages: A Longitudinal Analysis.”Econometrica 64 (4): 957. https://doi.org/10.2307/2171852.
Chatzopoulos, Thomas, and Christian Lippert. 2015. “Endogenous Farm-Type Selection, Endogenous Irrigation, and Spatial Effects in Ricardian Models of Climate Change.”European Review of Agricultural Economics 43 (2): 217–35. https://doi.org/10.1093/erae/jbv014.
Croissant, Yves, and Giovanni Millo. 2018. Panel Data Econometrics with r. John Wiley & Sons.
Freeman, Richard B. 1984. “Longitudinal Analyses of the Effects of Trade Unions.”Journal of Labor Economics 2 (1): 1–26. https://doi.org/10.1086/298021.
Kinal, T., and K. Lahiri. 1993. “On the Estimation of Simultaneous-Equations Error-Components Models with an Application to a Model of Developing Country Foreign Trade.”Journal of Applied Econometrics 8 (1): 81–92. https://doi.org/10.1002/jae.3950080107.
Kurukulasuriya, Pradeep, Namrata Kala, and Robert Mendelsohn. 2011. “Adaptation and Climate Change Impacts: A Structural Ricardian Model of Irrigation and Farm Income in Africa.”Climate Change Economics 2 (02): 149–74.
Kurukulasuriya, Pradeep, Robert Mendelsohn, Pradeep Kurukulasuriya, and Robert Mendelsohn. 2008. “Crop Switching as a Strategy for Adapting to Climate Change.”https://doi.org/10.22004/AG.ECON.56970.
Mendelsohn, Robert, William D Nordhaus, and Daigee Shaw. 1994. “The Impact of Global Warming on Agriculture: A Ricardian Analysis.”The American Economic Review, 753–71.
Mundlak, Yair. 1961. “Empirical Production Function Free of Management Bias.”Journal of Farm Economics 43 (1): 44. https://doi.org/10.2307/1235460.
Seo, S. Niggol, and Robert Mendelsohn. 2008a. “Measuring Impacts and Adaptations to Climate Change: A Structural Ricardian Model of African Livestock Management.”Agricultural Economics 38 (2): 151–65. https://doi.org/10.1111/j.1574-0862.2008.00289.x.
Seo, S. Niggol, Robert Mendelsohn, S. Niggol Seo, and Robert Mendelsohn. 2008. “Animal Husbandry in Africa: Climate Change Impacts and Adaptations.”https://doi.org/10.22004/AG.ECON.56968.