Dynamic stochastic models from empirical data