gACF
returns the second stage parameters estimates of ACF models. It is part of the prodestACF()
routine.
gACF(theta, mZ, mW, mX, mlX, vphi, vlag.phi)
Vector of parameters to be estimated.
Matrix of instruments.
Weighting matrix.
Matrix of regressors.
matrix of lagged regressors.
Vector of fitted polynomial.
Lagged vector of fitted polynomial.
gACF()
estimates the second stage of ACF routine. It accepts 7 inputs, generates and optimizes over the group of moment functions E(xi_itZ^k_it).