beta = (X'P_Z X)^-1 X'P_Z y. Identification needs at least as
many instruments as regressors (the order condition, arithmetic
and checked here) and rank(Z'X) = dim(beta) (the rank condition,
which for floating-point data is a matter of degree rather than a
decidable property – the degree is what first_stage_F reports).
Value
list: beta, se, t, residuals, fitted, first_stage_F, overidentified, n_overid_restrictions, sargan, sargan_p, vcov_type, n, k, m, method.
Details
Residuals are y - X beta with the ORIGINAL X, not the
first-stage fitted values. Using the fitted values there is a
common and silent error that produces a smaller number which is
not a standard error of anything.
