Result of Spatex.Regression.sur_lag_iv/4 (spreg.SURlagIV): seemingly unrelated regressions
with a spatial lag of the dependent variable in every equation, estimated by three-stage least
squares with the spatially lagged exogenous variables as instruments.
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, user endogenous and, last, the spatial lag).w_lags- the order of the spatial lags used as instruments.b_2sls,residuals_2sls- the equation-by-equation 2SLS coefficients and residuals that start the estimation.b_3sls- the 3SLS coefficients (constant, exogenous, user endogenous, then the spatial lag coefficient);rho- the spatial lag coefficient of every equation (the last of each);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.joinrho- withspat_diag: true, the{stat, df, p}Wald test that the spatial lag coefficients of all equations are jointly zero;nilotherwise.residuals,predicted- one list ofnvalues per equation (from the 3SLS coefficients and the observedW y).name_y,name_x,name_yend,name_q- names, per equation (name_xstarts with"Constant_<eq>",name_yendends with"W_<name_y>",name_qlists the user instruments, then the lags ofXand, withlag_q, of the user instruments).
Summary
Types
@type t() :: %Spatex.Regression.SURlagIV{ b_2sls: term(), b_3sls: term(), chow: term(), corr: term(), joinrho: 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(), rho: term(), sig: term(), tsls_inf: term(), varb: term(), w_lags: term(), warnings: term() }