I have an assignment in which I need to detect anomalies in a dataset. I'm using the 'anomalize' package in R and was wondering how to interpret the following output values of the 'anomalize' function:
Remainder_L1 Remainder_L2
I've checked the documentation but I'm unable to find the calculation method for these values. Can someone explain this calculation?
The anomolize documentation gives a great example of how to apply
anomolize()
to a time seriesThis generates the
Remainder_L1
andRemainder_L2
values for CRAN tidyverse downloads (that data comes with the anomolize package, so no need to import data, just run the code below to see how it generates the columnsWhat do these values mean? From the anomolize source code we see:
In the example above, it's saying in the first row,
anomolize()
would treat the value (1053) as an anomoly if it was less than -1725, or greater than 1725.