IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v079i08.html
   My bibliography  Save this article

DPB: Dynamic Panel Binary Data Models in gretl

Author

Listed:
  • Lucchetti, Riccardo
  • Pigini, Claudia

Abstract

This paper presents the gretl function package DPB for estimating dynamic binary models with panel data. The package contains routines for the estimation of the randomeffects dynamic probit model proposed by Heckman (1981b) and its generalisation by Hyslop (1999) and Keane and Sauer (2009) to accommodate AR(1) disturbances. The fixed-effects estimator by Bartolucci and Nigro (2010) is also implemented. DPB is available on the gretl function packages archive.

Suggested Citation

  • Lucchetti, Riccardo & Pigini, Claudia, 2017. "DPB: Dynamic Panel Binary Data Models in gretl," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 79(i08).
  • Handle: RePEc:jss:jstsof:v:079:i08
    DOI: http://hdl.handle.net/10.18637/jss.v079.i08
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v079i08/v79i08.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v079i08/DPB.zip
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v079i08/v79i08.inp
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v079i08/union_full.gdtb
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v079.i08?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Geweke, John, 1989. "Bayesian Inference in Econometric Models Using Monte Carlo Integration," Econometrica, Econometric Society, vol. 57(6), pages 1317-1339, November.
    2. F. Bartolucci & R. Bellio & A. Salvan & N. Sartori, 2016. "Modified Profile Likelihood for Fixed-Effects Panel Data Models," Econometric Reviews, Taylor & Francis Journals, vol. 35(7), pages 1271-1289, August.
    3. Lorenzo Cappellari & Stephen P. Jenkins, 2004. "Modelling low income transitions," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 19(5), pages 593-610.
    4. Keane, Michael P, 1994. "A Computationally Practical Simulation Estimator for Panel Data," Econometrica, Econometric Society, vol. 62(1), pages 95-116, January.
    5. Francesco Bartolucci & Valentina Nigro, 2010. "A Dynamic Model for Binary Panel Data With Unobserved Heterogeneity Admitting a √n-Consistent Conditional Estimator," Econometrica, Econometric Society, vol. 78(2), pages 719-733, March.
    6. Florian Heiss, 2011. "Dynamics of self-rated health and selective mortality," Empirical Economics, Springer, vol. 40(1), pages 119-140, February.
    7. Jeffrey M. Wooldridge, 2005. "Simple solutions to the initial conditions problem in dynamic, nonlinear panel data models with unobserved heterogeneity," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 20(1), pages 39-54, January.
    8. Martin Biewen, 2009. "Measuring state dependence in individual poverty histories when there is feedback to employment status and household composition," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 24(7), pages 1095-1116, November.
    9. Giulia BETTIN & Riccardo LUCCHETTI, 2012. "Intertemporal remittance behaviour by immigrants in Germany," Working Papers 385, Universita' Politecnica delle Marche (I), Dipartimento di Scienze Economiche e Sociali.
    10. Christoph Wunder & Regina T. Riphahn, 2014. "The dynamics of welfare entry and exit amongst natives and immigrants," Oxford Economic Papers, Oxford University Press, vol. 66(2), pages 580-604.
    11. Rob Alessie & Stefan Hochguertel & Arthur van Soest, 2004. "Ownership of Stocks and Mutual Funds: A Panel Data Analysis," The Review of Economics and Statistics, MIT Press, vol. 86(3), pages 783-796, August.
    12. Mark B. Stewart, 2007. "The interrelated dynamics of unemployment and low-wage employment," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 22(3), pages 511-531.
    13. Giarda, Elena, 2013. "Persistency of financial distress amongst Italian households: Evidence from dynamic models for binary panel data," Journal of Banking & Finance, Elsevier, vol. 37(9), pages 3425-3434.
    14. Carro, Jesus M., 2007. "Estimating dynamic panel data discrete choice models with fixed effects," Journal of Econometrics, Elsevier, vol. 140(2), pages 503-528, October.
    15. Jeffrey M Wooldridge, 2010. "Econometric Analysis of Cross Section and Panel Data," MIT Press Books, The MIT Press, edition 2, volume 1, number 0262232588, April.
    16. Dean R. Hyslop, 1999. "State Dependence, Serial Correlation and Heterogeneity in Intertemporal Labor Force Participation of Married Women," Econometrica, Econometric Society, vol. 67(6), pages 1255-1294, November.
    17. Giulia Bettin & Riccardo Lucchetti, 2016. "Steady streams and sudden bursts: persistence patterns in remittance decisions," Journal of Population Economics, Springer;European Society for Population Economics, vol. 29(1), pages 263-292, January.
    18. Andrew M. Jones & Nigel Rice & Paul Contoyannis, 2012. "The Dynamics of Health," Chapters, in: Andrew M. Jones (ed.), The Elgar Companion to Health Economics, Second Edition, chapter 2, Edward Elgar Publishing.
    19. Jesus M. Carro & Alejandra Traferri, 2014. "State Dependence And Heterogeneity In Health Using A Bias‐Corrected Fixed‐Effects Estimator," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 29(2), pages 181-207, March.
    20. Pigini, Claudia & Presbitero, Andrea F. & Zazzaro, Alberto, 2016. "State dependence in access to credit," Journal of Financial Stability, Elsevier, vol. 27(C), pages 17-34.
    21. Pedro Albarran & Raquel Carrasco & Jesus M. Carro, 2019. "Estimation of Dynamic Nonlinear Random Effects Models with Unbalanced Panels," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 81(6), pages 1424-1441, December.
    22. Timothy J. Halliday, 2008. "Heterogeneity, state dependence and health," Econometrics Journal, Royal Economic Society, vol. 11(3), pages 499-516, November.
    23. Paul Contoyannis & Andrew M. Jones & Nigel Rice, 2004. "Simulation-based inference in dynamic panel probit models: An application to health," Empirical Economics, Springer, vol. 29(1), pages 49-77, January.
    24. Sophia Rabe-Hesketh & Anders Skrondal & Andrew Pickles, 2002. "Reliable estimation of generalized linear mixed models using adaptive quadrature," Stata Journal, StataCorp LP, vol. 2(1), pages 1-21, February.
    25. Vassilis A. Hajivassiliou & Daniel L. McFadden, 1998. "The Method of Simulated Scores for the Estimation of LDV Models," Econometrica, Econometric Society, vol. 66(4), pages 863-896, July.
    26. Alpaslan Akay, 2012. "Finite‐sample comparison of alternative methods for estimating dynamic panel data models," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 27(7), pages 1189-1204, November.
    27. repec:bla:econom:v:47:y:1980:i:187:p:247-83 is not listed on IDEAS
    28. Butler, J S & Moffitt, Robert, 1982. "A Computationally Efficient Quadrature Procedure for the One-Factor Multinomial Probit Model," Econometrica, Econometric Society, vol. 50(3), pages 761-764, May.
    29. Mark Stewart, 2006. "Maximum simulated likelihood estimation of random-effects dynamic probit models with autocorrelated errors," Stata Journal, StataCorp LP, vol. 6(2), pages 256-272, June.
    30. Bartolucci, Francesco & Pigini, Claudia, 2017. "cquad: An R and Stata Package for Conditional Maximum Likelihood Estimation of Dynamic Binary Panel Data Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 78(i07).
    31. Alfonso Miranda, 2007. "Dynamic probit models for panel data: A comparison of three methods of estimation," United Kingdom Stata Users' Group Meetings 2007 11, Stata Users Group.
    32. Michael P. Keane & Robert M. Sauer, 2009. "Classification Error in Dynamic Discrete Choice Models: Implications for Female Labor Supply Behavior," Econometrica, Econometric Society, vol. 77(3), pages 975-991, May.
    33. Brown, Sarah & Ghosh, Pulak & Taylor, Karl, 2014. "The existence and persistence of household financial hardship: A Bayesian multivariate dynamic logit framework," Journal of Banking & Finance, Elsevier, vol. 46(C), pages 285-298.
    34. Gary Chamberlain, 1980. "Analysis of Covariance with Qualitative Data," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 47(1), pages 225-238.
    35. Mundlak, Yair, 1978. "On the Pooling of Time Series and Cross Section Data," Econometrica, Econometric Society, vol. 46(1), pages 69-85, January.
    36. Jinyong Hahn & Whitney Newey, 2004. "Jackknife and Analytical Bias Reduction for Nonlinear Panel Models," Econometrica, Econometric Society, vol. 72(4), pages 1295-1319, July.
    37. Sarah Brown & Pulak Ghosh & Karl Taylor, 2012. "The Existence and Persistence of Household Financial Hardship," Working Papers 2012022, The University of Sheffield, Department of Economics.
    38. Wiji Arulampalam & Mark B. Stewart, 2009. "Simplified Implementation of the Heckman Estimator of the Dynamic Probit Model and a Comparison with Alternative Estimators," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 71(5), pages 659-681, October.
    39. Bartolucci, Francesco & Nigro, Valentina, 2012. "Pseudo conditional maximum likelihood estimation of the dynamic logit model for binary panel data," Journal of Econometrics, Elsevier, vol. 170(1), pages 102-116.
    40. Bartolucci, Francesco & Nigro, Valentina & Pigini, Claudia, 2013. "Testing for state dependence in binary panel data with individual covariates," MPRA Paper 48233, University Library of Munich, Germany.
    41. Hahn, Jinyong & Kuersteiner, Guido, 2011. "Bias Reduction For Dynamic Nonlinear Panel Models With Fixed Effects," Econometric Theory, Cambridge University Press, vol. 27(6), pages 1152-1191, December.
    42. Bo E. Honoré & Ekaterini Kyriazidou, 2000. "Panel Data Discrete Choice Models with Lagged Dependent Variables," Econometrica, Econometric Society, vol. 68(4), pages 839-874, July.
    43. Arulampalam, Wiji, 2002. "State Dependence in Unemployment Incidence: Evidence for British Men Revisited," IZA Discussion Papers 630, Institute of Labor Economics (IZA).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Elena Giarda & Gloria Moroni, 2018. "The Degree of Poverty Persistence and the Role of Regional Disparities in Italy in Comparison with France, Spain and the UK," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 136(1), pages 163-202, February.
    2. Riccardo (Jack) Lucchetti & Luca Pedini, 2020. "ParMA: Parallelised Bayesian Model Averaging for Generalised Linear Models," Working Papers 2020:28, Department of Economics, University of Venice "Ca' Foscari".
    3. Miriam Beblo & Sven Schreiber, 2022. "Leisure and housing consumption after retirement: new evidence on the life-cycle hypothesis," Review of Economics of the Household, Springer, vol. 20(1), pages 305-330, March.
    4. Giulia Bettin & Riccardo Lucchetti, 2016. "Steady streams and sudden bursts: persistence patterns in remittance decisions," Journal of Population Economics, Springer;European Society for Population Economics, vol. 29(1), pages 263-292, January.
    5. Riccardo Lucchetti & Claudia Pigini, 2018. "Dynamic panel probit: finite-sample performance of alternative random-effects estimators," Working Papers 426, Universita' Politecnica delle Marche (I), Dipartimento di Scienze Economiche e Sociali.
    6. Nursel Aydiner-Avsar & M. Burak Onemli, 2023. "Working Poverty in Türkiye: A Dynamic Panel Analysis," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 168(1), pages 139-164, August.
    7. Bartolucci, Francesco & Pigini, Claudia, 2017. "cquad: An R and Stata Package for Conditional Maximum Likelihood Estimation of Dynamic Binary Panel Data Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 78(i07).
    8. Cucinelli, Doriana & Battista, Maria Luisa Di & Marchese, Malvina & Nieri, Laura, 2018. "Credit risk in European banks: The bright side of the internal ratings based approach," Journal of Banking & Finance, Elsevier, vol. 93(C), pages 213-229.
    9. Riccardo (Jack) Lucchetti & Claudia Pigini, 2020. "Choice of solutions to the initial-conditions problem in dynamic panel probit models," Working Papers 2020:27, Department of Economics, University of Venice "Ca' Foscari".

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Francesco Bartolucci & Claudia Pigini, 2017. "Granger causality in dynamic binary short panel data models," Working Papers 421, Universita' Politecnica delle Marche (I), Dipartimento di Scienze Economiche e Sociali.
    2. Francesco Bartolucci & Valentina Nigro & Claudia Pigini, 2018. "Testing for state dependence in binary panel data with individual covariates by a modified quadratic exponential model," Econometric Reviews, Taylor & Francis Journals, vol. 37(1), pages 61-88, January.
    3. Pigini, Claudia & Presbitero, Andrea F. & Zazzaro, Alberto, 2016. "State dependence in access to credit," Journal of Financial Stability, Elsevier, vol. 27(C), pages 17-34.
    4. Manudeep Bhuller & Christian N. Brinch & Sebastian Königs, 2017. "Time Aggregation and State Dependence in Welfare Receipt," Economic Journal, Royal Economic Society, vol. 127(604), pages 1833-1873, September.
    5. Francesco Bartolucci & Claudia Pigini & Francesco Valentini, 2023. "Conditional inference and bias reduction for partial effects estimation of fixed-effects logit models," Empirical Economics, Springer, vol. 64(5), pages 2257-2290, May.
    6. Pigini, Claudia & Bartolucci, Francesco, 2022. "Conditional inference for binary panel data models with predetermined covariates," Econometrics and Statistics, Elsevier, vol. 23(C), pages 83-104.
    7. Giulia Bettin & Riccardo Lucchetti, 2016. "Steady streams and sudden bursts: persistence patterns in remittance decisions," Journal of Population Economics, Springer;European Society for Population Economics, vol. 29(1), pages 263-292, January.
    8. Francesco Bartolucci & Francesco Valentini & Claudia Pigini, 2023. "Recursive Computation of the Conditional Probability Function of the Quadratic Exponential Model for Binary Panel Data," Computational Economics, Springer;Society for Computational Economics, vol. 61(2), pages 529-557, February.
    9. Shiu, Ji-Liang & Hu, Yingyao, 2013. "Identification and estimation of nonlinear dynamic panel data models with unobserved covariates," Journal of Econometrics, Elsevier, vol. 175(2), pages 116-131.
    10. Lionel WILNER, 2019. "The Dynamics of Individual Happiness," Working Papers 2019-18, Center for Research in Economics and Statistics.
    11. repec:hal:spmain:info:hdl:2441/f6h8764enu2lskk9p2m9mgp8l is not listed on IDEAS
    12. Geert Dhaene & Koen Jochmans, 2015. "Split-panel Jackknife Estimation of Fixed-effect Models," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 82(3), pages 991-1030.
    13. Bartolucci, Francesco & Pigini, Claudia, 2017. "cquad: An R and Stata Package for Conditional Maximum Likelihood Estimation of Dynamic Binary Panel Data Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 78(i07).
    14. Elena Giarda & Gloria Moroni, 2018. "The Degree of Poverty Persistence and the Role of Regional Disparities in Italy in Comparison with France, Spain and the UK," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 136(1), pages 163-202, February.
    15. repec:spo:wpmain:info:hdl:2441/f6h8764enu2lskk9p2m9mgp8l is not listed on IDEAS
    16. repec:spo:wpecon:info:hdl:2441/f6h8764enu2lskk9p2m9mgp8l is not listed on IDEAS
    17. Nursel Aydiner-Avsar & M. Burak Onemli, 2023. "Working Poverty in Türkiye: A Dynamic Panel Analysis," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 168(1), pages 139-164, August.
    18. repec:hal:wpspec:info:hdl:2441/f6h8764enu2lskk9p2m9mgp8l is not listed on IDEAS
    19. Kerem Tuzcuoglu, 2019. "Composite Likelihood Estimation of an Autoregressive Panel Probit Model with Random Effects," Staff Working Papers 19-16, Bank of Canada.
    20. Prieto Suarez, Joaquin, 2021. "Poverty traps and affluence shields: modelling the persistence of income position in Chile," LSE Research Online Documents on Economics 110719, London School of Economics and Political Science, LSE Library.
    21. Carlos Gradín & Olga Cantó, 2009. "Why are child poverty rates so persistently high in Spain?," Working Papers 123, ECINEQ, Society for the Study of Economic Inequality.
    22. Picchio, Matteo & van Ours, Jan C., 2013. "Retaining through training even for older workers," Economics of Education Review, Elsevier, vol. 32(C), pages 29-48.
    23. Francesco Bartolucci & Claudia Pigini, 2018. "Partial effects estimation for fixed-effects logit panel data models," Working Papers 431, Universita' Politecnica delle Marche (I), Dipartimento di Scienze Economiche e Sociali.
    24. Sebastian Königs, 2013. "The Dynamics of Social Assistance Benefit Receipt in Germany: State Dependence Before and After the Hartz Reforms," OECD Social, Employment and Migration Working Papers 136, OECD Publishing.

    More about this item

    JEL classification:

    • C23 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Models with Panel Data; Spatio-temporal Models
    • C25 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Discrete Regression and Qualitative Choice Models; Discrete Regressors; Proportions; Probabilities
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:079:i08. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.