PDMIFCOUNT {PDMIF}R Documentation

PDMIFCOUNT

Description

Under a known group membership, this function estimates heterogeneous poisson panel data models with interactive effects.

Usage

PDMIFCOUNT(X, Y, Nfactors, Maxit = 100, tol = 0.001)

Arguments

X

The (NT) times p design matrix, without an intercept where N=number of individuals, T=length of time series, p=number of explanatory variables.

Y

The T times N panel of response where N=number of individuals, T=length of time series.

Nfactors

A pre-specified number of common factors.

Maxit

A maximum number of iterations in optimization. Default is 100.

tol

Tolerance level of convergence. Default is 0.001.

Value

A list with the following components:

References

Ando, T., Bai, J. and Li, K. (2021) Bayesian and maximum likelihood analysis of large-scale panel choice models with unobserved heterogeneity, Journal of Econometrics.

Examples

fit <- PDMIFCOUNT(data3X,data3Y,3,30,0.5)

[Package PDMIF version 0.1.0 Index]