Seasonal Hybrid ESD algorithm
You've identified a repeating seasonal cycle in the nitrate data, with a period of 12 months. You are now ready to apply the Seasonal-Hybrid ESD algorithm to find out if there are anomalies present in the data.
This exercise is part of the course
Introduction to Anomaly Detection in R
Exercise instructions
- Use the
AnomalyDetectionVec
function to run the Hybrid-ESD algorithm over thenitrate
concentrations. - You will need to specify the input arguments:
x
: a vector of valuesperiod
the period of any repeating pattern
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Run Seasonal-Hybrid ESD for nitrate concentrations
AnomalyDetectionVec(___, ___, direction = 'both', plot = T)