Apportions outlier scores to composites.

apportion_scores_mv(obj)

Arguments

obj

The output of comp_tsout_ens

Value

A list with the following components:

scores_out

The apportioned outlier scores of selected outliers as per codemv_tsout_ens.

scores_all

The apportioned outlier scores of all identified outliers.

Examples

if (FALSE) {
set.seed(1)
n <- 600
x <- sample(1:100, n, replace=TRUE)
x[25] <- 200
x[320] <- 300
x2 <- sample(1:100, n, replace=TRUE)
x3 <- sample(1:100, n, replace=TRUE)
x4 <- sample(1:100, n, replace=TRUE)
X <- cbind.data.frame(x, x2, x3, x4)
out <- mv_tsout_ens(X, compr=2, fast=FALSE)
apportioned <- apportion_scores_mv(out)
}