NEWS | R Documentation |
If running with robust or clustered standard errors,
getfe
now adds a column 'se' which is a copy of the
'clusteredse' or 'robustse'. This to ensure compatibility with package
broom.
Added a routine sargan()
to compute Sargan's S.
demeanlist()
will now do the transformation in place if
given an unnamed input. This saves memory in various other places.
Multiway clustered standard errors now incorporate the negative
Eigenvalue adjustment of Cameron, Gelbach, Miller. I.e. they are
forced to zero. Can be switched off by felm(...,psdef=FALSE)
.
Fixed a bug in btrap
which could yield wrong bootstrapped standard
errors in getfe
.
A function nlexpect()
has been added to integrate
functions of estimated coefficients over the residual distribution.
waldtest()
now supports non-linear restrictions with the Delta-method.
A bug in bias correction with clustered errors has been fixed.
A bug in the handling of expressions f:g with two factors has been fixed.
A function estfun.felm
has been introduced to improve
interoperability with the package multiwayvcov. Also a function
weights.felm
has been introduced.
A bug in residuals.felm
has been fixed.
felm
now supports bootstrapping an arbitrary expression
involving estimated coefficients. This can also be done by repeated
calls to felm
, but the builtin functionality avoids repeated
calls to model.frame
and model.matrix
which can be quite
time-consuming for large datasets.
felm
now has some support for "pdata.frame"
s from package plm.
In particular, it is now possible to use things like felm(y ~ x+
lag(wage), data=pdata)
where pdata
is a "pdata.frame"
.
A bug preventing the use of k-class estimators has been fixed.
A bug leading to wrong robust standard errors when using weights has been fixed.
A bug which caused felm
to crash R when all
cases of the data had NAs has been fixed. An error is raised instead.
felm
now supports weights.
The conjugate gradient solver and trace estimation routine
used by fevcov
have been made public as
cgsolve
and mctrace
.
Better support for matrices as covariates, both on the left and right hand side of the equation, and in the instrumental variable specification.
Support for multiple left hand sides, with formulas like
y|z|w ~ X |f1 + f2
. The content of 'felm' objects have changed
slightly to accomodate this, and generic functions like vcov() and
coef() have gained an extra argument 'lhs' to specify which left hand
side to retrieve information about.
Two new functions, waldtest() and condfstat() have been included to test linear restrictions on parameters, and to compute conditional F statistics to test for weak instruments in the IV estimations. Observations with missing values are now correctly removed in IV-estimations.
The old syntax, with 'G()' to specify factors to project out, has been deprecated. It still works, but will yield a warning. Similarly with the arguments 'iv' and 'clustervar' to felm().
felm
now takes a new argument in the ...
part,
kclass
to estimate k-class estimators with instrumental variables.
Two new functions were added, fevcov() and bccorr(), to compute limited mobility bias corrections for covariances (and correlations) between high dimensional factors. See citation('lfe') for reference to article describing it.
Support for multiway clustering added. Multiway clusters are specified
in the 4th part of the formula, like y ~ x | f1+f2 | 0 | c1+c2
Added support for projecting out interactions between continuous
covariates and factors with specifications like y ~ x | f1 + x2:f1
.
Version presented in R-journal article. (See citation('lfe') for reference)