Result of Spatex.Regression.gm_lag_regimes/5 (spreg.GM_Lag_Regimes).
betas,vm,std_err,z_stat([{z, p}]) - coefficients innamesorder. In:pooledmode this is spreg's layout: the regime-specific exogenous columns of every regime in turn ("<regime>_<name>"), the global exogenous ones ("_Global_<name>"), then the same for the endogenous columns withW ylast ("_Global_W_<y>", or one"<regime>_W_<y>"per regime withregime_lag_sep). In:separatemode every regime's[constant, x..., yend..., W y]block follows the previous one.name_x,name_yend,name_q- names as spreg lists them (name_yendends with theW yname,name_qincludes the spatially lagged instruments).kr,kf,kryd,nr- regime-specific columns per regime (exogenous plus endogenous,W yincluded underregime_lag_sep), global columns, regime-specific endogenous columns, and regimes;regimes- the labels in order.rho- the spatial lag coefficient: the singleW ycoefficient, or withregime_lag_septhe last regime's (as spreg'srhoattribute);rhos- withregime_lag_sep, a map of the coefficient by regime label, otherwisenil.chow-%{joint: {wald, p}, regi: [{name, wald, p}]}: Wald tests that the coefficients are equal across regimes, jointly and per regime-specific column.u,predy- residuals and fitted values;predy_e,e_pred- reduced-form prediction(I - rho W)^-1 X betaand its residual (zeros for a regime whose|rho| >= 1).pr2,pr2_e- squared correlations ofywithpredyandpredy_e(:pooledmode;pr2_eisnilwhen|rho| >= 1);ak_test- Anselin-Kelejian test{statistic, p}(:pooledmode;nilwithspat_diag: falseorrobust: :hac);sp_multipliers,impacts,power_terms- as inSpatex.Regression.GMLag, for the non-constant exogenous coefficients (:pooledmode). In:separatemode these live in the per-regime fits.mode-:separate(oneSpatex.Regression.GMLagper regime on the regime's subgraph, inmultiby regime label) or:pooled(one 2SLS on the regime design,tslsholds theSpatex.Regression.TSLSfit).cols2regi- the flags over thexthenyendcolumns (without theW yflag);constant_regi,regime_lag_sep,regime_err_sep(as used after spreg's reconciliation of the two),robust,w_lags,lag_q,warnings.
Summary
Types
@type t() :: %Spatex.Regression.GMLagRegimes{ ak_test: term(), betas: term(), chow: term(), cols2regi: term(), constant_regi: term(), e_pred: term(), impacts: term(), kf: term(), kr: term(), kryd: term(), lag_q: term(), mode: term(), multi: term(), n: term(), name_q: term(), name_x: term(), name_y: term(), name_yend: term(), names: term(), nr: term(), power_terms: term(), pr2: term(), pr2_e: term(), predy: term(), predy_e: term(), regime_err_sep: term(), regime_lag_sep: term(), regimes: term(), rho: term(), rhos: term(), robust: term(), sp_multipliers: term(), std_err: term(), tsls: term(), u: term(), vm: term(), w_lags: term(), warnings: term(), z_stat: term() }