Learn R Programming

mSTEM (version 1.0-1)

Fdr: Evaluate performance of estimated change points

Description

Evaluate performance of estimated change points

Usage

Fdr(uh, b, th)

Arguments

uh

a vector of estimated change points locations

b

a scalar of location tolerance, specified by user

th

a vector of true change points locations

Value

a list of vector of FDR and Power

FDR

a scalar of fdr (false discovery rate)

Power

a scalar of power (true positive rate)

See Also

which.cp

Examples

Run this code
# NOT RUN {
Fdr(uh=c(7,15,32,47),b=4,th=c(10,20,30,40,50))
# }

Run the code above in your browser using DataLab