calculate residuals

1 |

`data` |
data matrix with T observations of q-dimensional process. |

`q` |
dimension of the process. |

`approx` |
order of the AR-approximation that is supposed to be used. Default is |

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.