Time Series Analysis for Nonlinear Dynamical Systems with Applications to Modeling of Infectious Diseases.