Result of Spatex.Regression.gm_error_regimes/5 (spreg.GM_Error_Regimes and, with :yend,
spreg.GM_Endog_Error_Regimes; the _Het_ and _Hom_ classes with estimator: :het /
:hom).
betas,vm,std_err,z_stat([{z, p}]) - in:pooledmode spreg's layout: the regime-specific exogenous columns of every regime in turn ("<regime>_<name>"), the global ones ("_Global_<name>"), the same for the endogenous columns, thenlambdalast.vm,std_errandz_stathave no entry forlambda(KP98 reports none). In:separatemode every regime's[constant, x..., yend..., lambda]block follows the previous one andvmis block diagonal. With:het/:homthe covariance,std_errandz_statalso have thelambdaentry (:separate: one per block), andkrcountslambdain:separatemode, as spreg does.names- the coefficient names inbetasorder (lambdaincluded);name_x,name_yend,name_q- names as spreg lists them (name_xends with"lambda"for a model without:yend, as spreg's does).kr,kf,kryd,nr- regime-specific columns per regime (exogenous plus endogenous), global columns (lambdacounted, as spreg does), regime-specific endogenous columns and regimes;regimes- the labels in order.lam- the spatial error coefficient (:pooled);lams-:separate, a map by regime label.sig2,pr2- error variance (u'u / nof the filtered fit;nilfor:het, which reports none) and squared correlation ofywithpredy(:pooled; spreg reports none for the regimes of:separate, which live in the per-regime fits).estimator,iteration,iter_stop,step1c(:het),max_iter,epsilon,a1(:hom) andlambdas(every lambda the moment optimizer returned, in call order; a map by regime in:separatemode) -nilfor:kp98(:pooled; in:separatemode the iterations live in the per-regime fits).u,predy(Z betas),e_filtered(u - lambda W u).chow-%{joint: {wald, p}, regi: [{name, wald, p}]}: Wald tests that the coefficients (lambdaexcluded, except in the:separateHet / Hom fits, where spreg tests it too) are equal across regimes, jointly and per regime-specific column.mode-:separate(oneSpatex.Regression.GMErrorper regime on the regime's subgraph, inmultiby label) or:pooled(one KP98 fit on the regime design).cols2regi- the flags over thexthenyendcolumns;constant_regi,regime_err_sep,warnings.
Summary
Types
@type t() :: %Spatex.Regression.GMErrorRegimes{ a1: term(), betas: term(), chow: term(), cols2regi: term(), constant_regi: term(), e_filtered: term(), epsilon: term(), estimator: term(), iter_stop: term(), iteration: term(), kf: term(), kr: term(), kryd: term(), lam: term(), lambdas: term(), lams: term(), max_iter: term(), mode: term(), multi: term(), n: term(), name_q: term(), name_x: term(), name_y: term(), name_yend: term(), names: term(), nr: term(), pr2: term(), predy: term(), regime_err_sep: term(), regimes: term(), sig2: term(), std_err: term(), step1c: term(), u: term(), vm: term(), warnings: term(), z_stat: term() }