/package1

What the Package Does (Title Case)

Primary LanguageR

package1

The goal of package1 is to :

  1. Simulate INAR(p), take arbitrary innovation distributions (parametric family), probability mass function.

  2. Semi parametric estimation.

  3. INAR Boostrap: derived directly.

  4. Fully parametric estimation.

  5. Penalized (semiparametric) estimation of INAR(p) models.

Installation

You can install the development version of package1 like so:

# install.package("package1")

Example

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)