Description Usage Arguments Value Examples

View source: R/MultipleTSsimulation.R

MultipleSimulationVLtimeseries is a support function for generating a set of time series `TS[,1],...TS[,10]`

.
TS[,1],TS[,2],TS[,3] are causes `X`

time series that are generated independently.
The rest of time series are `Y`

time series that are effects of some causes TS[,1],TS[,2],TS[,3].
TS[,1] causes TS[,4],TS[,7],TS[,8], and TS[,10].
TS[,2] causes TS[,5],TS[,7],TS[,9], and TS[,10].
TS[,3] causes TS[,6],TS[,8],TS[,9], and TS[,10].

1 2 3 4 5 6 7 8 | ```
MultipleSimulationVLtimeseries(
n = 200,
lag = 5,
YstFixInx = 111,
YfnFixInx = 150,
XpointFixInx = 100,
arimaFlag = TRUE
)
``` |

`n` |
is length of time series. |

`lag` |
is a time lag between |

`YstFixInx` |
is the starting point of variable lag part. |

`YfnFixInx` |
is the end point of variable lag part. |

`XpointFixInx` |
is a point in X s.t. |

`arimaFlag` |
is ARMA model flag. If it is true, then |

This function returns a list of time series `TS`

.

1 2 | ```
# Generate simulation data
TS <- MultipleSimulationVLtimeseries()
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.