Epistemic Processes : A Basis for Statistics and Quantum Theory