ExceedanceModel: {
    truncationOff: ((model: UncertaintyModel, value: number) => number);
    truncationOffSequence: ((model: UncertaintyModel, sequence: number[]) => number[]);
    truncationUpperOnly: ((model: UncertaintyModel, value: number) => number);
    truncationUpperOnlySequence: ((model: UncertaintyModel, sequence: number[]) => number[]);
} = ...

Export functions

Type declaration

  • truncationOff: ((model: UncertaintyModel, value: number) => number)
      • (model, value): number
      • No truncation; model ignores truncation level n.

        Compute the probability of exceeding a value.

        Parameters

        • model: UncertaintyModel

          to compute exceedance

        • value: number

          for which to compute the exceedance probability

        Returns number

  • truncationOffSequence: ((model: UncertaintyModel, sequence: number[]) => number[])
      • (model, sequence): number[]
      • No truncation; model ignores truncation level n.

        Compute the probability of exceeding a value.

        Parameters

        • model: UncertaintyModel

          to compute exceedance

        • sequence: number[]

          for which to compute the exceedance probability

        Returns number[]

  • truncationUpperOnly: ((model: UncertaintyModel, value: number) => number)
      • (model, value): number
      • Upper truncation only at μ + σ * n.

        Compute the probability of exceeding a value.

        Parameters

        • model: UncertaintyModel

          to compute exceedance

        • value: number

          for which to compute the exceedance probability

        Returns number

  • truncationUpperOnlySequence: ((model: UncertaintyModel, sequence: number[]) => number[])
      • (model, sequence): number[]
      • Upper truncation only at μ + σ * n.

        Compute the probability of exceeding a value.

        Parameters

        • model: UncertaintyModel

          to compute exceedance

        • sequence: number[]

          for which to compute the exceedance probability

        Returns number[]