pastas.noisemodels.NoiseModel.simulate#

static NoiseModel.simulate(res, p)[source]#

Simulate noise from the residuals.

Parameters
  • res (pandas.Series) – The residual series.

  • p (array_like) – array_like object with the values as floats representing the model parameters. Here, Alpha parameter used by the noisemodel.

Returns

noise – Series of the noise.

Return type

pandas.Series