Change-point analysis in stochastic processes