Description Usage Arguments Details Value Examples

Generate synthetic observations

1 | ```
sim(a, n = 100)
``` |

`a` |
ARMA model |

`n` |
Number of synthetic observations required |

The ARMA model is a list with the following components.

`phi` | Vector of AR coefficients (index number equals coefficient subscript) |

`theta` | Vector of MA coefficients (index number equals coefficient subscript) |

`sigma2` | White noise variance |

Returns a vector of `n`

synthetic observations.

1 2 3 |

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.