GWLelast.est: GWLelast.est

Description Usage Arguments Value

Description

Fitting geographically weighted logistic elastic net regression

Usage

1
2
3
GWLelast.est(x, y, coords, D = NULL, alpha = 1, lambda = NULL,
  nlambda = NULL, gweight = c("gwr.Gauss", "gwr.bisquare"),
  longlat = TRUE, bw = bw)

Arguments

x

Covariates.

y

Outcome binary variable.

coords

2 columns matrix including "longitude" and "latitude".

D

Distance matrix.

alpha

The elasticnet mixing parameter [0,1] in glmnet package.

lambda

Optional user-supplied lambda sequence in glmnet package.

nlambda

The number of lambda values in glmnet package.

gweight

geographical kernel function in spgwr package.

longlat

Indicate if the coords parameter are sperically calculated.

bw

bandwidth of geographical kernel function.

Value

model: Fitted model at location i.

error: Cross validation error.


GWLelast documentation built on May 2, 2019, 8:28 a.m.