Object Oriented (Dynamic) Programming: Closing the “Structural” Estimation Coding Gap
Tóm tắt
This paper discusses how to design, solve and estimate dynamic programming models using the open source package niqlow. Reasons are given for why such a package has not appeared earlier and why the object-oriented approach followed by niqlow seems essential. An example is followed that starts with basic coding then expands the model and applies different solution methods to finally estimate parameters from data. The niqlow approach is used to organize the empirical DP literature differently from traditional surveys which may make it more accessible to new researchers. Features for efficiency and customization are also discussed.
Tài liệu tham khảo
Aguirregabiria, Victor, & Magesan, A. (2013). Euler equations for the estimation of dynamic discrete choice structural models. Advances in Econometrics, 31, 3–44.
Aguirregabiria, Victor, & Mira, Pedro. (2002). Swapping the nested fixed point algorithm: A class of estimators for discrete markov decision models. Econometrica, 70(4), 1519–43.
Aguirregabiria, Victor, & Mira, Pedro. (2010). Dynamic discrete choice structural models: A survey. Journal of Econometrics, 156(1), 38–67.
Arcidiacono, Peter, & Miller, Robert A. (2011). Conditional choice probability estimation of dynamic discrete choice models with unobserved heterogeneity. Econometrica, 79(6), 1823–1867.
Barber, Michael and Christopher Ferrall 2021. College choice, credit constraints and educational attainment, in progress, current version available from https://ferrall.github.io/OODP/
Eckstein, Zvi, & Wolpin, Kenneth. (1989). The specification and estimation of dynamic stochastic discrete choice models: A survey. Journal of Human Resources, 24(4), 562–598.
Ferrall, Christopher 2003. Estimation and Inference in Social Experiments, manuscript, Queen’s University working paper .
Ferrall, Christopher. (2005). solving finite mixture models: Efficient computation in economics under serial and parallel execution. Computational Economics, 25, 343–379.
Ferrall, Christopher 2021. Was Harold Zurcher Myopic After All? Replicating Rust’s Engine Replacement Estimates, Queen’s University working paper 1467, https://www.econ.queensu.ca/research/working-papers/1467.
Hotz, V. Joseph., & Miller, Robert A. (1993). Conditional choice probabilities and the estimation of dynamic models. The Review of Economic Studies, 60(3), 497–529.
Imai, Susumu, Jain, Neelan, & Ching, Andrew. (2009). Bayesian estimation of dynamic discrete choice models. Econometrica, 77(6), 1865–1899.
Kasahara, Hiroyuki, & Shimotsu, Katsumi. (2012). Sequential Estimation of Structural Models With a Fixed Point Constraint. Econometrica, 80(5), 2303–2319.
Keane, Michael P., & Wolpin, Kenneth I. (1994). The solution and estimation of discrete choice dynamic programming models by simulation and interpolation: Monte carlo evidence. The Review of Economics and Statistics, 76(4), 648–672.
Keane, Michael P., Petra E. Todd, and Kenneth I. Wolpin 2010. The structural estimation of behavioral models: Discrete choice dynamic programming methods and applications. In: Orley Ashenfelter and David Card (Eds.), Handbook of labor economics, Volume 4a. pp. 331–461.
Kirby, R. A. (2017). Toolkit for value function iteration. Computational Economics, 49, 1–15.
Kirby, R. A 2021. Quantitative macro: Lessons learnt from fourteen replications, manuscript, University of Wellington.
MaCurdy, Thomas. (1981). An empirical model of labor supply in a life-cycle setting. Journal of Political Economy, 89(6), 1059–1085.
Rust, John. (1987). Optimal replacement of GMC bus engines: An empirical model of Harold Zurcher. Econometrica, 55(5), 999–1033.
Rust, John 2000. Nested fixed point algorithm documentation manual, version 6, https://editorialexpress.com/jrust/nfxp.pdf.
Wolpin, Kenneth. (1984). An estimable dynamic stochastic model of fertility and child mortality. Journal of Political Economy, 92(5), 852–874.