Class UpdateByEmStd

java.lang.Object
io.deephaven.web.client.api.updateby.UpdateByEmStd

@JsType(namespace="dh.updateby") public class UpdateByEmStd extends Object
Computes the exponential moving standard deviation of each input column, within each group:
 variance = a * (variancePrev + (1 - a) * (value - emaPrev)^2)
 emStd = sqrt(variance)
 
where emaPrev is the previous row's exponential moving average, as UpdateByEma computes it. The output for the first value in each group is NaN, or null for BigDecimal and BigInteger input. The variance starts at zero from that row. windowScale sets a.
  • Field Details

    • type

      @TsLiteral public final @TsLiteral String type
      See Also:
    • emOptions

      public @JsNullable UpdateByEmOptions emOptions
      How to handle null and NaN values, and other options. If null, the server's defaults apply.
    • windowScale

      public UpdateByWindowScale windowScale
      The decay rate. In rows, a = e^(-1 / ticks). In time, a = e^(-dt / duration), where dt is the time since the previous row. A larger value decays more slowly.
  • Constructor Details

    • UpdateByEmStd

      public UpdateByEmStd()