Learn R Programming

mgwrsar (version 1.1)

mgwrsar-class: Class of mgwrsar Model.

Description

Class of mgwrsar Model.

Arguments

Slots

Betav

matrix, the estimated varying coefficients, dim(n,kv).

Betac

numeric, the estimated constant coefficients, length kc.

Model

character, The type of model.

fixed_vars

character, a vector with name of constant covarariate.

Y

numeric, the dependent variable.

XC

matrix, the explanatory variables with constant coefficients.

XV

matrix, the explanatory variables with varying coefficients.

X

matrix, the explanatory variables.

W

SparseMatrix, the spatial weight matrix for spatial dependence.

isgcv

logical, if gcv has been computed.

edf

numeric, the estimated degrees of freedom.

formula

formula

data

dataframe, The dataframe used for computation.

Method

character, the estimation technique for computing the models with Spatial Dependence. '2SLS' or 'B2SLS', default '2SLS'.

coords

matrix, the spatial coordinates of observations.

H

numeric, the bandwidth vector.

H2

numeric, the time bandwidth vector.

kernels

character, the type of kernel.

adaptive

logical, adaptive kernel.

Type

character, the type of General Kernel Product.

TP

numeric, index of target points.

SSRtp

numeric, the sum of square residuals for TP.

SSR

numeric, the sum of square residuals.

residuals

numeric, the vector of residuals.

fit

numeric, the vector of fitted values.

pred

numeric, the vector of predicted values.

sev

matrix, local standard error of varying coefficients.

se

numeric, standard error of constant coefficients.

tS

numeric, Trace(S).

Shat,

hat matrix

R_k,

list of hat matrix by var

h_w

numeric, the bandwidth value for computing W, default 0.

kernel_w

the type of kernel for computing W, default NULL.

RMSE

numeric, Root Mean Square Error for Target Points.

RMSEtp

numeric, Root Mean Square Error for all Points.

CV

numeric, Leave One Out CV.

AIC

numeric, Akaike Criteria.

AICc

numeric, Corrected Akaike Criteria.

AICctp

numeric, Corrected Akaike Criteria for TP

BIC

numeric, Bayesian Information Criteria.

R2

numeric, R2.

R2_adj

numeric, adjusted R2.

get_ts

logical, if trace of hat matrix Tr(S) should be stored.

NN

numeric, the maximum number of neighbors for weights computation

doMC

logical, parallel computation.

ncore

numeric, number of cores.

mycall

a call, the call of the model.

ctime

numeric, the computing times in seconds.

HRMSE

matrix, RMSE log.

HBETA

list, estimated BETA at each iteration.

loglik

numeric, value of loglik.

G

list, list of neighboring index and distances (knn object from nabor package).

V

numeric, neighbors sequence for TDS.

Vt

numeric, neighbors sequence for TDS.

Z

numeric, time for GDT kernel type

TS

numeric, Diagonal of Hat Matrix

alpha

numeric, ratio for GDT kernels

theta

numeric, ratio for GDT kernels