Description Usage Arguments Value References See Also Examples
Simulate from an Inar model
1 | nginar.sim(n, alpha, mu, n.start = 150)
|
n |
A strictly positive integer. |
alpha |
a vector of INAR coefficients. |
mu |
a vector. |
n.start |
the length of 'burn-in' period. If na, the default, a reasonable valve is computed. |
A time-series object of class "ts".
Ristic, M.M., Bakouchb, H.S. and Nasti, A.S. (2009) A newgeometricfirst-orderinteger-valuedautoregressive (NGINAR(1)) process . Journal of Statistical Planning and Inference, 139, 2218–2226.
1 2 3 | # A new geometric INAR simulation
ts.sim <- nginar.sim(n = 100, alpha = 0.4, mu = 2)
ts.plot(ts.sim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.