Learn R Programming

blockcpd (version 1.0.0)

compute_rand: Rand Index Function for change point detection

Description

Computes the rand Index (non-adjusted) for the change point sets. A specific equation for change point detection is used to make the computation faster. Proof of correctness of the equation is given in the dissertation.

Usage

compute_rand(cp1, cp2, m)

Arguments

cp1

Change point set for model 1 or true change point set.

cp2

Change point set for model 2 or true change point set.

m

The size of the vector array.