dlm-js
    Preparing search index...

    Interface DlmForecastResult

    Result from dlmForecast: h-step-ahead predictions with uncertainty.

    All arrays have length h (the forecast horizon).

    interface DlmForecastResult {
        C: FloatArray[][];
        h: number;
        m: number;
        x: FloatArray[];
        xstd: FloatArray[];
        yhat: FloatArray;
        ystd: FloatArray;
    }

    Properties

    C: FloatArray[][]

    Predicted state covariances (state_dim × state_dim × h). C[i][j][k] = covariance between states i and j at forecast step k+1.

    h: number

    Forecast horizon

    m: number

    State dimension

    Predicted state means (state_dim × h). x[i][k] = i-th state component at forecast step k+1.

    xstd: FloatArray[]

    Predicted state standard deviations (h × state_dim). xstd[k][i] = sqrt(C[i][i][k])

    Predicted observation means (h×1). yhat[k] = F · x_pred[k]

    Predicted observation standard deviations (h×1). ystd[k] = sqrt(F · C_pred[k] · F' + s²)