The maximum entropy principle and the stochastic aspects of deterministic chaos