Useful conversion functions map from one class of statistical model to another.
They directly implement basic probability rules in the programming language.
They also increase the generality of models and estimators.
users.monash.edu.au/~lloyd/Seminars/2005II/Conversion/index.shtmlConversion function  Parameter(s)  Result 

model2timeSeries 
a model of 
the trivial timeseries model 
model2functionModel 
a model of 
the trivial functionmodel from an inputspace, 'is',

condition (Bayes's thm) 
a functionmodel from 'is' 
joint model of (is,os) 
functionModel2model 
a functionmodel from 
a model of (is,os) where 'is' is 
functionModel2timeSeries 
a functionmodel from [ds] 
a timeseries model 
timeSeries2model 
a timeseries model (& a model of lengths (Int)) 
a model 
timeSeries2functionModel 
a timeseries model 
a functionmodel from [ds] 