Result of Spatex.Regression.three_sls/5 (spreg.ThreeSLS): three-stage least squares for a
system of equations with endogenous regressors.
Per-equation fields are lists with one entry per equation, in order.
n,n_eq,k- observations, equations and, per equation, the number of coefficients (constant, exogenous and endogenous).b_2sls,residuals_2sls- the equation-by-equation 2SLS coefficients and residuals that start the estimation.b_3sls- the 3SLS coefficients (constant, exogenous, then endogenous);varb- covariance of all coefficients stacked;tsls_inf- per equation, one{std_err, z, p}per coefficient.sig,corr- the cross-equation error covariance (E'E / nof the 2SLS residuals) and its correlation matrix.chow- with the same number of coefficients in every equation, one{stat, df, p}Wald test per coefficient of its equality across equations;nilotherwise.residuals,predicted- one list ofnvalues per equation (from the 3SLS coefficients and the observed endogenous variables).name_y,name_x,name_yend,name_q- names, per equation (name_xstarts with"Constant_<eq>").
Summary
Types
@type t() :: %Spatex.Regression.ThreeSLS{ b_2sls: term(), b_3sls: term(), chow: term(), corr: term(), k: term(), n: term(), n_eq: term(), name_q: term(), name_x: term(), name_y: term(), name_yend: term(), predicted: term(), residuals: term(), residuals_2sls: term(), sig: term(), tsls_inf: term(), varb: term(), warnings: term() }