| ex.dt.bad {poisFErobust} | R Documentation |
Poisson data violating conditional mean assumption
Description
A data.table containing id by day observations of Poisson
random variables which violate the conditional mean assumption of
Wooldridge (1999).
Usage
data("ex.dt.bad")
Format
A data.table with 450 observations on the following 7 variables.
ida factor with levels
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950daya numeric vector
fea numeric vector
x1a numeric vector
x2a numeric vector
ya numeric vector
x1.leada numeric vector
Details
The data were simulated like
y <- rpois(1, exp(fe + x1 + x2 + 2.5*x1.lead))
where fe, x1, and x2 are standard normal random variables.
fe varies only across id.
x1.lead is a one period lead of x1 which causes the violation
of the conditional mean assumption.
References
Wooldridge, Jeffrey M. (1999): "Distribution-free estimation of some nonlinear panel data models," Journal of Econometrics, 90, 77-97.
Examples
data("ex.dt.bad")
str(ex.dt.bad)