Compute the Poisson score for each priority subset, for each duration.
poisson_score(counts, baselines, priority_indices)
A matrix of observed counts. Rows represent timepoints, ordered from most recent to most distant. Columns represent e.g. locations or data streams.
A matrix of expected counts with the same dimensions as
counts
.
A matrix of the same size as the input. On each row (duration), column numbers are given in order of priority.
A matrix of the same dimension as the input matrices.