mgwr.gwr.GWRResultsLite

class mgwr.gwr.GWRResultsLite(model, resid, influ, params)[source]

Lightweight GWR that computes the minimum diagnostics needed for bandwidth selection

Parameters
modelGWR object

pointer to GWR object with estimation parameters

residarray

n*1, residuals of the repsonse

influarray

n*1, leading diagonal of S matrix

Attributes
tr_Sfloat

trace of S (hat) matrix

llfscalar

log-likelihood of the full model; see pysal.contrib.glm.family for damily-sepcific log-likelihoods

muarray

n*, flat one dimensional array of predicted mean response value from estimator

resid_ssscalar

residual sum of sqaures

Methods

llf

mu

predy

resid_ss

tr_S

__init__(self, model, resid, influ, params)[source]

Initialize self. See help(type(self)) for accurate signature.