Classification of Trends Via the Linear State Space Model