sim_NVAR {NVAR} | R Documentation |
Time series simulation with an NVAR model
Description
Time series simulation with an NVAR model
Usage
sim_NVAR(
model,
init = NULL,
length = 1000,
noise = 0,
upper_lim = Inf,
lower_lim = -Inf
)
Arguments
model |
An |
init |
A |
length |
How many time steps should be simulated? |
noise |
A number indicating the standard deviation of the Gaussian noise
added to each time step. |
upper_lim , lower_lim |
The upper and lower limit for the simulation. Once the simulated value is out of the limits, it will be taken back to avoid instability of the simulation. Both should either be a single number or a numeric vector with the same length as the number of variables in the model. |
Value
A tibble
with the simulated time series.