change.poisson: Changepoint Model with Poisson Distribution

Description Usage Arguments Value Examples

Description

The changepoint model is used to test if there is a significant change in distribution of a variable (assumed to have Poisson distribution), over the course of some threshold, typically time or sequential order.

Usage

1
change.poisson(v, pre = NA)

Arguments

v

Vector that contains response variable of interest.

pre

Numerical value that represents preselected changepoint for any model, should the user wish to test a specific point in data, NA by default.

Value

List of the following:

Examples

1
2
3
4
5
6
7
8
#Examples you wish to use, in demonstration of function
a = rpois(200,1)
b = rpois(200,2)
c = rpois(200,3)
v = c(a,b,c)

change.poisson(v)
change.poisson(v, pre=400)

hollicam/DiscreteChoiceModels documentation built on May 3, 2019, 8:59 p.m.