LinearGaussianSSM.simulate#

LinearGaussianSSM.simulate(n, *, seed=None)[source]#

Draw a length-n observation path from the model.

Parameters:
  • n (int) – Number of periods, at least 1.

  • seed (int | Generator | None) – Seed or generator.

Return type:

NDArray[double]

Returns:

The simulated observations, (n, p).

Raises:

DimensionError – If n is below 1.