simu1.data.generating: STARX: spatiotemporal autoregressive model with exogenous...

Description Usage Arguments Value

View source: R/simu1.data.generating.R

Description

This function generates simulation example for STVCM.

Usage

1

Arguments

nS

Number of points randomly generated from spatial domain.

nT

Number of times that spatial points are observed across the time.

sigma

Noise level.

Value

A list of five containing the data to fit model.

Y

response variable.

Z

exogenous variables with constant linear coefficients

X

exogenous variables with varying linear coefficients.

location

A nS * nT by three matrix with locations of data points.


funstatpackages/STARX documentation built on Jan. 30, 2021, 11:47 p.m.