STFIT Temporal Effect Estimation
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
)
List of length 2 with entries:
teff_array: 3-d array with first dimention 'ids', second dimention 'doy' and third dimention pixel index.
teff_var_array: same structure as teff_array
if var.est
is TRUE,
otherwise NULL.
ids for 'group', for data with repeated measurement over years, year is ids; for pixels belong to certain clusters, cluster is ids.
vecotr of DOY (day of the year)
residual matrix with rows corresponding to doy
and columns corresponding to pixel index
a vector of DOY on which to get the temporal imputation
bandwidth for temporal covariance estimation; ignored if weight.cov
is supplied
bandwidth for temporal variance estimation
weight vector for temporal covariance estimation
weight vector for temporal variance estimation
percentage of variance explained; used for number of eigen values selection. Default is 0.99.
a vector of grid points on which to calculate the temporal covariance function
number of grid points to use for temporal covariance estimation. Ignored if t.grid
is given.
Whether to estimate the variance of the temporal effect. Default is FALSE.