Get startedGet started for free

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

View Course

Exercise instructions

  • Use the AnomalyDetectionVec function to run the Hybrid-ESD algorithm over the nitrate concentrations.
  • You will need to specify the input arguments:
  • x: a vector of values
  • period 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)
Edit and Run Code