cpt: Uses t test to find first significant change point

Description Usage Arguments Details Value

View source: R/logits.R

Description

Uses t test to find first significant change point

Usage

1
cpt(Data, R, Crit)

Arguments

Data

A vector of trial by trial measures or successive intervals

R

A vector of putative change points

Crit

Decision criterion, the value the logit must exceed for the function to return a significant change point

Details

This test is appropriate if one is looking for a change in the expectation of a renewal event-generating process, where the interevent intervals are normally (rather than exponentially) distributed. Not normally called directly, but via the cp_wrapper function instead.

Value

CP The first significant change point


ontogenerator/cpdetectoR documentation built on May 14, 2019, 1:59 a.m.