Result of Spatex.GWR.mgwr/4, with the attribute names of mgwr.gwr.MGWRResults (mgwr 2.2.1)
in snake_case.
Matrices (params, bse, tvalues, cct) are lists of n rows with k entries, the
intercept first when the model has one; bws_history has one row of k bandwidths per
backfitting iteration. Non-finite numbers are the atoms :nan, :infinity and
:neg_infinity.
Fields
n,k,kernel,fixed,spherical,constant- the model that was fitted.bws- one bandwidth per column (neighbor counts when adaptive, distances whenfixed).bw_init,bws_history,scores,iterations,converged- the backfitting trace: the starting bandwidth, the bandwidths and convergence score of every iteration, and whether the score fell belowtol_multibeforemax_iter_multi.sel_hist- the evaluations{bw, score}of every bandwidth search of the backfitting (one list per searched covariate and iteration, in order; mgwr'sSel_BW.sel_histof a multi-bandwidth selector, whichSpatex.GWR.bandwidth_intervals/2reads).params,predy(sum_j x_ij * params_ij),resid,resid_ss,r2.- Inference (
nilwhen fitted withinference: false):bse,tvalues,cct,enp_j(effective number of parameters per covariate),tr_s(their sum),sigma2(resid_ss / (n - tr_s)),llf,aic,aicc,bic,adj_r2,adj_alpha_j(krows of the 0.1, 0.05 and 0.001 levels divided byenp_j) andcritical_tval(one t critical value per covariate for the corrected 0.05 level,n - 1degrees of freedom). influ,std_res,cooks_d,cv- alwaysnil: mgwr cannot compute them for MGWR.warnings- messages such as a backfitting that did not converge.
Summary
Types
@type bw() :: pos_integer() | float() | :infinity
@type t() :: %Spatex.GWR.MGWRResult{ adj_alpha_j: [[value()]] | nil, adj_r2: value() | nil, aic: value() | nil, aicc: value() | nil, bic: value() | nil, bse: [[value()]] | nil, bw_init: bw(), bws: [bw()], bws_history: [[bw()]], cct: [[value()]] | nil, constant: boolean(), converged: boolean(), cooks_d: nil, critical_tval: [value()] | nil, cv: nil, enp_j: [value()] | nil, fixed: boolean(), influ: nil, iterations: pos_integer(), k: pos_integer(), kernel: :bisquare | :gaussian | :exponential, llf: value() | nil, n: pos_integer(), params: [[value()]], predy: [value()], r2: value(), resid: [value()], resid_ss: value(), scores: [value()], sel_hist: [[{bw(), value()}]], sigma2: value() | nil, spherical: boolean(), std_res: nil, tr_s: value() | nil, tvalues: [[value()]] | nil, warnings: [String.t()] }
@type value() :: float() | :nan | :infinity | :neg_infinity