MLC.CDL2.ID.SL.ST: MLC.CDL2.ID.SL.ST

Description Usage Arguments Value

View source: R/coefclust.R

Description

Find the spatio-temporal cluster estimate in the simple linear regression for given potential centroids.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
MLC.CDL2.ID.SL.ST(
  yList,
  xList,
  cdataL,
  sum_x1L,
  sum_x2L,
  cs.xxL.L,
  ID,
  overlap,
  Time,
  N,
  p
)

Arguments

yList

The input data (as a list of vectors).

xList

The input data (as a list of vectors).

cdataL

Pre-defined cdata list which is from List.C.Data(DMatrix,MR).

sum_x1L

List of pre-computed ∑ x_i.

sum_x2L

List of pre-computed ∑ x_i^2.

cs.xxL.L

List of pre-computed cs.xx list which is from cum.sum.scalar1(xc).

ID

Indices for potential centroids.

overlap

Boolean which is TRUE for overlapping clusters / FALSE for non-overlapping clusters

Time

Number of time periods.

N

Number of centroids (subregions).

p

Number of dimensions of original XList.

Value

Most likely cluster (defined by center and radius) and SSE (error sum of squares).


mkamenet3/coefclust documentation built on June 28, 2020, 10:41 a.m.