A man may be a pessimistic determinist before lunch and an optimistic believer in the will's freedom after it.
The first and most optimistic response was complete rational expectations econometrics. A rational expectations equilibrium is a likelihood function. Maximize it.