plm (version 2.6-3)

aneweytest: Angrist and Newey's version of Chamberlain test for fixed effects

Description

Angrist and Newey's version of the Chamberlain test

Usage

aneweytest(formula, data, subset, na.action, index = NULL, ...)

Value

An object of class "htest".

Arguments

formula

a symbolic description for the model to be estimated,

data

a data.frame,

subset

see lm(),

na.action

see lm(),

index

the indexes,

...

further arguments.

Author

Yves Croissant

Details

Angrist and Newey's test is based on the results of the artifactual regression of the within residuals on the covariates for all the periods.

References

ANGR:NEWE:91plm

See Also

piest() for Chamberlain's test

Examples

Run this code

data("RiceFarms", package = "plm")
aneweytest(log(goutput) ~ log(seed) + log(totlabor) + log(size), RiceFarms, index = "id")

Run the code above in your browser using DataLab