Use the standard linear Gaussian state-space model convention: the initial state is independent of both mutually independent iid noise sequences. This independence from the initial state is needed for the usual forecast recursion. Let and write and . Taking conditional expectations in the state equation gives
To justify the covariance, the forecast error is . Its two terms have zero cross-covariance because is independent of the previous state and observations. Their covariances therefore add. In this Gaussian model the conditional error covariance depends on the parameters and time but not on the realized data, so it also equals the unconditional forecast-error covariance used in the notation of the question.
For completeness, derive the filtering step rather than leave the algorithm unspecified. Set and . Conditionally on the previous data, the observation has mean and covariance
Define the innovation process and gain by
The state forecast error and innovation are jointly normal, with cross-covariance . The residual is uncorrelated with by the definition of , hence independent of it by joint normality. Its mean is zero and its covariance is . This proves the conditional multivariate normal distribution update
Initialize . For , predict using the first boxed pair, store that forecast, form , and update using the second boxed pair. The updated state then starts the next iteration. This is the Kalman filter, and supplies the entire forecast sequence in one forward pass.
The requested unconditional innovation moments are
In fact , with deterministic for fixed parameters. Thus the innovation is independent of the past observations, and hence the innovations are mutually independent. Equivalently, orthogonality to the past together with joint normality gives this independence.
The chain rule for densities now yields the Gaussian innovation likelihood, treating the specified initial mean and covariance as known:
Both and are functions of the trial parameters, so the filtering recursion must be run again for each candidate . The ordinary density formula assumes positive definite; for example positive definite ensures this. Singular observation laws instead require densities on their Gaussian support.
Evaluate the log-likelihood numerically by the forward recursion, and maximize it over admissible , enforcing the covariance constraints. A Cholesky decomposition gives and the quadratic term , avoiding an explicit matrix inverse. Covariance parameterizations or constrained optimization keep positive semidefinite and the innovation covariance nonsingular. An attained maximizer is a maximum-likelihood estimator; in general this is a numerical optimization problem and neither uniqueness nor global convergence of a local optimizer is automatic.