Description Usage Arguments Value Examples
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.
1 | change.poisson(v, pre = NA)
|
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. |
List of the following:
Table containing location(s) of changepoint(s) – either preselected or determined rigorously – ranked by significance and associated significance value(s)
Numerical value representing the MBIC threshold by which to base significance of a changepoint, i.e. penalty values LARGER than MBIC threshold indicate significance.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.