Modelling consumer's purchase behavior as a stochastic process