Compute Monte Carlo thresholds for the Chan method
MC_Chan(dim, patience, p0, w, lambda, MC_reps)
Data dimension
Nominal patience of the procedure
Assumed fraction of nonzero coordinates of change.
Window size
Tuning parameter for Chan (2017) method
number of Monte Carlo repetitions to use
A numeric vector of computed thresholds.