Learn R Programming

Poisson Fixed Effects Robust

Evan Wright

The package contains a function which computes standard errors following Wooldridge (1999) for Poisson regression with fixed effects, and a hypothesis test of the conditional mean assumption (3.1). The standard errors are robust to within-group autocorrelation of errors.

Example usage:

data("ex.dt.good")
pois.fe.robust(outcome = "y", xvars = c("x1", "x2"), group.name = "id",
               data = ex.dt.good)

The standard errors should match those of the Stata command xtpoisson y x1 x2, fe vce(robust)

Wooldridge, Jeffrey M. (1999): "Distribution-free estimation of some nonlinear panel data models," Journal of Econometrics, 90, 77-97.

Copy Link

Version

Install

install.packages('poisFErobust')

Monthly Downloads

217

Version

2.0.0

License

MIT + file LICENSE

Maintainer

Evan Wright

Last Published

February 17th, 2020

Functions in poisFErobust (2.0.0)

poisFErobust-package

poisFErobust
pois.fe.robust

Robust standard errors of Poisson fixed effects regression
ex.dt.bad

Poisson data violating conditional mean assumption
ex.dt.good

Poisson data satisfying conditional mean assumption