CSSM Procedure

Scoring with State Space Models

Evaluating a previously fitted model at some new predictor setting is often called scoring. For example, a bank might score a new loan application by applying a rule that is based on a previously fitted logistic regression model. Similarly, you might want to use state space models for scoring. However, because of the sequential nature of the observation process, it is important to realize that the scoring process for state space models is inherently different from the scoring process for models that are based on independent observations, such as simple linear regression or logistic regression. Think of a sequential data process as a streaming movie, which you can pause and resume playing. Watching the movie for some time and learning about the main characters and their relationships to each other is akin to fitting a model to the initial portion of a sequential data stream. After you have learned something about the movie, you can make educated guesses about the subsequent plotline. You can also imagine different ways the movie could play out, while still being consistent with the story thus far. For sequential data, this process of forecasting and what-if analysis, based on the fitted model and ever-increasing history, is called scoring. To explain the scoring features of the CSSM procedure, it is useful to define the following notation, which is based on the section State Space Model and Notation:

  • left-parenthesis StartSet bold upper Y Subscript t Baseline comma bold upper X Subscript t Baseline comma bold upper W Subscript t Baseline EndSet comma t equals 1 comma 2 comma ellipsis right-parenthesis denote sequential observations on the response variables bold upper Y and, optionally, the predictor variables bold upper X and bold upper W.

  • For time points t 1 less-than-or-equal-to t 2, let bold upper D Subscript t 1 colon t 2 denote the data between t 1 and t 2; that is, bold upper D Subscript t 1 colon t 2 Baseline equals left-parenthesis StartSet bold upper Y Subscript t Baseline comma bold upper X Subscript t Baseline comma bold upper W Subscript t Baseline EndSet comma t 1 less-than-or-equal-to t less-than-or-equal-to t 2 right-parenthesis. With this notation, it is easy to describe a streaming data process in which data arrive sequentially in data packets, possibly of varying lengths. For example, the data packets bold upper D Subscript 1 colon 100 Baseline comma bold upper D Subscript 101 colon 110 Baseline comma bold upper D Subscript 111 colon 112 Baseline comma ellipsis denote the data that are associated with the first 100 time indices, the data between time indices 101 and 110, the data between time indices 111 and 112, and so on. When there can be multiple measurements that use the same time index, such as in the case of panel data, the ending time index of one data packet can be the same as the starting time index of the next data packet.

  • alpha alpha Subscript t denotes the state vector at time index t, theta theta denotes the parameter vector, delta delta denotes the diffuse vector in the initial condition, and beta beta and gamma gamma denote the regression vectors that are associated with the observation equation and state equation, respectively.

Armed with this notation, you can understand the main activities of scoring with a state space model, which are explained in the following sections.

Last updated: July 09, 2026