Estimating State-Space and Polynomial Models