Spatial econometric regression models for analyzing geographically-related data interactions.
Overall
score
87%
Seemingly unrelated regressions with spatial error and lag structures for simultaneous equation systems with cross-equation correlation.
class SUR:
def __init__(self, bigy, bigX, df_name=None, sur_constant=True, name_bigy=None,
name_bigX=None, name_ds=None, vm=False, latex=False):
"""
Seemingly unrelated regressions.
Parameters:
- bigy (array): Stacked dependent variables for all equations
- bigX (array): Stacked independent variables for all equations
- df_name (list): Names for each equation
- sur_constant (bool): Include constant terms
"""class SURerrorGM:
def __init__(self, bigy, bigX, w, df_name=None, sur_constant=True):
"""SUR with spatial error structure using GMM estimation."""
class SURerrorML:
def __init__(self, bigy, bigX, w, df_name=None, sur_constant=True):
"""SUR with spatial error structure using ML estimation."""
class SURlagIV:
def __init__(self, bigy, bigX, w, df_name=None, sur_constant=True):
"""SUR with spatial lag structure using IV estimation."""Install with Tessl CLI
npx tessl i tessl/pypi-spregdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10