Conversion of deterministic models into stochastic models: Approach and three worked out examples as guidance for application of data assimilation