Statistical methods for general state-space models