gen_model: Generate Time Series based on Model (Internal)

Description Usage Arguments Value Examples

Description

Create a time series based on a supplied time series model.

Usage

1
gen_model(N, theta, desc, objdesc)

Arguments

N

An interger containing the amount of observations for the time series.

theta

A vec containing the parameters to use to generate the model

desc

A vector<string> containing the different model types (AR1, WN, etc..)

objdesc

A field<vec> contains the different model objects e.g. AR1 = c(1,1)

Value

A vec that contains combined time series.

Examples

1
2
3
# AR
set.seed(1336)
gen_model(1000, c(.9,1), "AR1", list(c(1,1)))


Search within the gmwm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.