For a fuller overview of this function including a description of the CPM framework and examples of how to use the various functions, please consult the package manual "Parametric and Nonparametric Sequential Change Detection in R: The cpm Package" available from www.gordonjross.co.uk
getBatchThreshold(cpmType, alpha, n, lambda=0.3)Ross, G. J., (2013) -- Sequential Change Detection in the Presence of Unknown Parameters (to appear)
detectChangePointBatch.## Returns the threshold for n=1000, alpha=0.05 and the Mann-Whitney CPM
h <- getBatchThreshold("Mann-Whitney", 0.05, 1000)Run the code above in your browser using DataLab