fts.rma {freqdom.fda} | R Documentation |
Simulate functional moving average processes
Description
Generate a functional moving average process.
Usage
fts.rma(
n = 100,
d = 11,
Psi = NULL,
op.norms = NULL,
noise = "mnorm",
sigma = diag(d:1)/d,
df = 4
)
Arguments
n |
number of observations to generate. |
d |
dimension of the underlying multivariate VAR model. |
Psi |
an array of |
op.norms |
a vector with non-negative scalar entries to which the |
noise |
|
sigma |
covariance or scale matrix of the coefficients corresponding to functional innovations. The default value
is |
df |
degrees of freqdom if |
Details
The purpose is to simulate a functional autoregressive process of the form
Here we assume that the observations lie in a finite dimensional subspace of the function space spanned by
Fourier basis functions . That is
,
and
. Then it follows that
Hence the dynamic of the functional time series is described by a VAR() process.
In this mathematical model the law of is determined by
noise
. The matrices Psi[,,k]
correspond to . If
op.norms
is provided, then the coefficient matrices will be rescaled, such that
the Hilbert-Schmidt norms of correspond to the vector.
Value
An object of class fd
.
See Also
The multivariate equivalent in the freqdom
package: rma
Examples
# Generate a FMA process without burnin (starting from 0)
fts = fts.rma(n = 5, d = 5)
plot(fts)
# Generate observations with very strong dependance
fts = fts.rma(n = 100, d = 5, op.norms = 0.999)
plot(fts)
# Generate observations with very strong dependance and noise
# from the multivariate t distribution
fts = fts.rma(n = 100, d = 5, op.norms = 0.999, noise = "mt")
plot(fts)