 The two programs differ more in the details than in capabilities.SAS has routines for automated State Space estimation.RATS can be programmed to estimate State Space models, or regression models with time-varying coefficients.