DNAcopy (version 1.46.0)

getbdry: Sequential stopping boundary

Description

Function to compute the sequential boundary for early stopping.

Usage

getbdry(eta, nperm, max.ones, tol= 1e-2)

Arguments

eta
Type I error rate of the boundary.
nperm
Number of permutations for the reference distribution.
max.ones
maximum number of ones given by "floor(nperm*alpha)+1".
tol
tolerance level for the iterations.

Value

A vector integer values of length max.ones*(max.ones+1)/2 corresponding to the boundary for the number of ones from 1 to max.ones. The default boundary for nperm=10000, eta=0.05, alpha=0.01 is stored in the data object "default.DNAcopy.bdry". Use this function to get the boundary for your favorite values for the parameters "nperm, eta, alpha" and use it for the argument "sbdry" in the function "segment."