On parameter estimation of state space models and its applications