Model uncertainty, state uncertainty, and state-space models