generate_synthetic_ts.RdGenerate synthetic time series via model-based residual bootstrap
Time series data (ts or mts object)
One of "auto", "auto.arima", "tslm", "ets", "arima", "custom"
Custom model function (required if model_type = "custom")
Formula for tslm (default: trend + season)
ARIMA order (p,d,q) for model_type = "arima"
List with order and period for seasonal ARIMA
Length of synthetic series to generate (default = length of y)
Number of synthetic series to generate
Random seed for reproducibility (optional)
Extra arguments passed to the modelling function
A list with synthetic series and model information