Result of Spatex.Regression.sur/3 (spreg.SUR): seemingly unrelated regressions by
feasible GLS.
Per-equation fields are lists with one entry per equation, in order.
b_ols,b_sur- OLS and SUR coefficients (the constant first, named"Constant_<eq>"as in spreg);name_x/name_yname them.varb- covariance of all SUR coefficients stacked;sur_inf- per equation, one{std_err, z, p}per coefficient.sig,sig_ols,corr- the error covariance used by the last estimation step, the one of the OLS residuals, and the correlation matrix ofsig.llik,ldet_s0,ldet_s1,iterations- log-likelihood, log-determinants of the diagonal OLS covariance and of the lastsig, and the FGLS rounds.lr_test,lm_test-{stat, df, p}likelihood-ratio and Breusch-Pagan LM tests of a diagonal error covariance (nilwithnonspat_diag: false).chow- with the same number of regressors in every equation, one{stat, df, p}Wald test per coefficient of its equality across equations;nilotherwise.lm_error,lm_lag-{stat, df, p}spatial LM tests withspat_diag: true.residuals,predicted- one list ofnvalues per equation.
Summary
Types
@type t() :: %Spatex.Regression.SUR{ b_ols: term(), b_sur: term(), chow: term(), corr: term(), iterations: term(), ldet_s0: term(), ldet_s1: term(), llik: term(), lm_error: term(), lm_lag: term(), lm_test: term(), lr_test: term(), n: term(), n_eq: term(), name_x: term(), name_y: term(), predicted: term(), residuals: term(), sig: term(), sig_ols: term(), sur_inf: term(), varb: term(), warnings: term() }