The goal of package1 is to :
-
Simulate INAR(p), take arbitrary innovation distributions (parametric family), probability mass function.
-
Semi parametric estimation.
-
INAR Boostrap: derived directly.
-
Fully parametric estimation.
-
Penalized (semiparametric) estimation of INAR(p) models.
You can install the development version of package1 like so:
# install.package("package1")
This is a basic example which shows you how to solve a common problem:
library(package1)
## basic example code
dat <- c(2,3,1,1,1,1,1,1,3)
p <- 1
upper <- 3
par <- c(0.1,0.8, 0.7, 0.6, 0.4)
spinar(dat, p, upper, par)