IARsample | R Documentation |
Simulates an IAR Time Series Model.
IARsample(phi, st, n = 100L)
phi |
A coefficient of IAR model. A value between 0 and 1 |
st |
Array with observational times. |
n |
Length of the output time series. A strictly positive integer. |
A list with the following components:
times Array with observation times.
series Array with simulated IAR data.
Eyheramendy_2018iAR
gentime
set.seed(6714) st<-gentime(n=100) y<-IARsample(phi=0.99,st=st, n=100) y<-y$series plot(st,y,type='l')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.