Learn R Programming

tensorTS (version 1.0.1)

taxi.sim.FM: Simulate taxi data by factor models

Description

Simulate tensor time series by factor models, using estimated coefficients by taxi data.

Simulate tensor time series by tensor factor models, using estimated autoregressive coefficients and loading matrices from taxi data.

Usage

taxi.sim.FM(t, print.tar.coef=FALSE, print.loading=FALSE, seed=216)

taxi.sim.FM(t=252, print.tar.coef=FALSE, print.loading=FALSE, seed=216)

Value

A tensor-valued time series of dimension (4,4,3).

A tensor-valued time series of dimension (12,12,24,t).

Arguments

t

length of output series.

print.tar.coef

print autoregressive coefficients, default FALSE.

print.loading

print loading matrices, default FALSE.

seed

random seed.

See Also

taxi.sim.AR

taxi.sim.FM

Examples

Run this code
xx = taxi.sim.FM(t=252)
xx = taxi.sim.FM(t=252)

Run the code above in your browser using DataLab