teffEst {stfit}R Documentation

STFIT Temporal Effect Estimation

Description

STFIT Temporal Effect Estimation

Usage

teffEst(
  ids,
  doy,
  rmat,
  doyeval = seq(min(doy), max(doy)),
  h.cov = 100,
  h.sigma2 = 300,
  weight.cov = NULL,
  weight.sigma2 = NULL,
  pve = 0.99,
  t.grid = NULL,
  t.grid.num = 50,
  var.est = FALSE
)

Arguments

ids

ids for 'group', for data with repeated measurement over years, year is ids; for pixels belong to certain clusters, cluster is ids.

doy

vecotr of DOY (day of the year)

rmat

residual matrix with rows corresponding to doy and columns corresponding to pixel index

doyeval

a vector of DOY on which to get the temporal imputation

h.cov

bandwidth for temporal covariance estimation; ignored if weight.cov is supplied

h.sigma2

bandwidth for temporal variance estimation

weight.cov

weight vector for temporal covariance estimation

weight.sigma2

weight vector for temporal variance estimation

pve

percentage of variance explained; used for number of eigen values selection. Default is 0.99.

t.grid

a vector of grid points on which to calculate the temporal covariance function

t.grid.num

number of grid points to use for temporal covariance estimation. Ignored if t.grid is given.

var.est

Whether to estimate the variance of the temporal effect. Default is FALSE.

Value

List of length 2 with entries:


[Package stfit version 0.99.9 Index]