Skip to content

cquad

Conditional Maximum Likelihood for Quadratic Exponential Models for Binary Panel Data

v2.3 · Feb 28, 2023 · GPL (>= 2)

Description

Estimation, based on conditional maximum likelihood, of the quadratic exponential model proposed by Bartolucci, F. & Nigro, V. (2010, Econometrica) <DOI:10.3982/ECTA7531> and of a simplified and a modified version of this model. The quadratic exponential model is suitable for the analysis of binary longitudinal data when state dependence (further to the effect of the covariates and a time-fixed individual intercept) has to be taken into account. Therefore, this is an alternative to the dynamic logit model having the advantage of easily allowing conditional inference in order to eliminate the individual intercepts and then getting consistent estimates of the parameters of main interest (for the covariates and the lagged response). The simplified version of this model does not distinguish, as the original model does, between the last time occasion and the previous occasions. The modified version formulates in a different way the interaction terms and it may be used to test in a easy way state dependence as shown in Bartolucci, F., Nigro, V. & Pigini, C. (2018, Econometric Reviews) <DOI:10.1080/07474938.2015.1060039>. The package also includes estimation of the dynamic logit model by a pseudo conditional estimator based on the quadratic exponential model, as proposed by Bartolucci, F. & Nigro, V. (2012, Journal of Econometrics) <DOI:10.1016/j.jeconom.2012.03.004>. For large time dimensions of the panel, the computation of the proposed models involves a recursive function from Krailo M. D., & Pike M. C. (1984, Journal of the Royal Statistical Society. Series C (Applied Statistics)) and Bartolucci F., Valentini, F. & Pigini C. (2021, Computational Economics <DOI:10.1007/s10614-021-10218-2>.

Downloads

230

Last 30 days

14103rd

420

Last 90 days

420

Last year

Trend: +21.1% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Francesco Bartolucci <francesco.bartolucci@unipg.it>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Francesco",
                      family = "Bartolucci",
                      role = c("aut", "cre"),
                      email = "francesco.bartolucci@unipg.it",
                      comment = "University of Perugia"),
               person(given = "Claudia",
                      family = "Pigini",
                      role = "aut",
                      comment = "University of Ancona \"Politecnica delle Marche\""),
               person(given = "Francesco",
                      family = "Valentini",
                      role = "aut",
                      comment = "University of Ancona \"Politecnica delle Marche\""))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Francesco Bartolucci <francesco.bartolucci@unipg.it>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Francesco",
                      family = "Bartolucci",
                      role = c("aut", "cre"),
                      email = "francesco.bartolucci@unipg.it",
                      comment = "University of Perugia"),
               person(given = "Claudia",
                      family = "Pigini",
                      role = "aut",
                      comment = "University of Ancona \"Politecnica delle Marche\""),
               person(given = "Francesco",
                      family = "Valentini",
                      role = "aut",
                      comment = "University of Ancona \"Politecnica delle Marche\""))
as necessary.
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Francesco Bartolucci <francesco.bartolucci@unipg.it>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Francesco",
                      family = "Bartolucci",
                      role = c("aut", "cre"),
                      email = "francesco.bartolucci@unipg.it",
                      comment = "University of Perugia"),
               person(given = "Claudia",
                      family = "Pigini",
                      role = "aut"
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Francesco Bartolucci <francesco.bartolucci@unipg.it>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Francesco",
                      family = "Bartolucci",
                      role = c("aut", "cre"),
                      email = "francesco.bartolucci@unipg.it",
                      comment = "University of Perugia"),
               person(given = "Claudia",
                      family = "Pigini",
                      role = "aut"

Dependency Network

Dependencies Reverse dependencies MASS plm Formula cquad

Version History

new 2.3 Mar 9, 2026