Learn R Programming

cquad (version 2.3)

Conditional Maximum Likelihood for Quadratic Exponential Models for Binary Panel Data

Description

Estimation, based on conditional maximum likelihood, of the quadratic exponential model proposed by Bartolucci, F. & Nigro, V. (2010, Econometrica) 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) . 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) . 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 .

Copy Link

Version

Install

install.packages('cquad')

Monthly Downloads

322

Version

2.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Francesco Bartolucci

Last Published

February 28th, 2023

Functions in cquad (2.3)

cquad

Interface for functions fitting different versions of cquad
cquad-package

Conditional Maximum Likelihood for Quadratic Exponential Models for Binary Panel Data
quasi_sym_pseudo

Recursive computation of pseudo conditional maximum likelihood method proposed by Bartolucci & Nigro (2012).
cquad_basic

Conditional maximum likelihood estimation of the basic quadratic exponential model
cquad_equ

Conditional maximum likelihood estimation for the modified version of the quadratic exponential model (to test for state dependence)
cquad_pseudo

Pseudo conditional maximum likelihood estimation of the dynamic logit model
quasi_sym

Recursive computation of the conditional likelihood for the Quadratic Exponential Model proposed in Bartolucci & Nigro (2010)
quasi_sym_equ

Recursive computation of the conditional likelihood for the Modified Quadratic Exponential Model proposed in Bartolucci et al. (2018)
summary.cquad

Summary for class cquad
sq

Generate binary sequences
sim_panel_logit

Simulate data from the dynamic logit model
data_sim

Simulated dataset
print.cquad

Print output for class cquad
cquad_ext

Conditional maximum likelihood estimation of the quadratic exponential model for panel data