Dynamic stochastic models for experimentation and matching