Statistical mechanics of a nonlinear stochastic model