Spatex.Regression.PanelRE (Spatex v0.2.1)

Copy Markdown View Source

Result of Spatex.Regression.ml_lag_re/4 (spreg.ML_LagRE): a spatial lag panel with random effects, y = rho W y + X b + mu_i + e.

  • betas, vm, std_err, z_stat - "CONSTANT", the slopes, rho and phi (the variance ratio sigma_e^2 / (sigma_e^2 + t sigma_mu^2) of the quasi-demeaning v - (1 - phi) mean_t(v)); vm1 adds sigma^2.
  • logll, aic, schwarz, sig2 - as spreg (rho and phi count in k).
  • u, predy, predy_e, e_pred - on the quasi-demeaned data, stacked by period.
  • sp_multipliers, impacts - as in Spatex.Regression.ml_lag/4; iterations - rounds of the alternating phi / rho search.

Summary

Types

t()

@type t() :: %Spatex.Regression.PanelRE{
  aic: term(),
  betas: term(),
  converged: term(),
  e_pred: term(),
  impacts: term(),
  iterations: term(),
  logll: term(),
  n: term(),
  name_x: term(),
  name_y: term(),
  phi: term(),
  predy: term(),
  predy_e: term(),
  rho: term(),
  schwarz: term(),
  sig2: term(),
  sp_multipliers: term(),
  std_err: term(),
  t: term(),
  time_effects: term(),
  u: term(),
  vm: term(),
  vm1: term(),
  warnings: term(),
  z_stat: term()
}