Stochastic analysis of dynamical system with double-well potential