nginar.sim: Function nginar.sim

Description Usage Arguments Value Examples

Description

Simulate from an Inar model

Usage

1
nginar.sim(n, alpha, mu, n.start = 150)

Arguments

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.

Value

Resultados

Examples

1
2
3
# A new geometric INAR simulation
ts.sim <- nginar.sim(n = 100, alpha = 0.4, mu = 2)
ts.plot(ts.sim)

Patriota/tsinteger documentation built on May 8, 2019, 12:57 a.m.