Skip to contents

Adds all cluster-level significance probabilities—Poisson (`Ppois`), exponential (`Pexp`), and their product (`P0`)—to the anomaly dataframe in one step.

Usage

add_Pstats(proc, stat)

Arguments

proc

A dataframe with detected anomaly clusters.

stat

A list containing lambda statistics, such as output from update_stat() or update_logic().

Value

The input dataframe with added `Ppois`, `Pexp`, and `P0` columns.

Details

This function wraps add_Ppois(), add_Pexp(), and add_P0().