eventDetection
should be used for this step. The event classification step is to classify the events into groups with similar global characteristics. Each event is summarised using a feature vector, and then the events are clustered according to the Euclidean distances among the feature vectors. The main function eventCluster
should be used for the classification step. Examples of event detection and classification can be found in the package for both artificial data and real world turbulence data.
eventDetection
: to detect events from time series as described in Kang et al. (2014b).
eventCluster
: to classify the detect events from time series as described in Kang et al. (2014b).
The package also contains functions for visualising the events:
plotevents
: to plot the detected and classified events.
aniplotevents
: to generate a gif to visualise the event detection process.
Other sub-functions are:
cbfs
: to generate an artificial event with white noise.
cbfs_red
: to generate an artificial event with red noise.
detrendc
: to conditionally detrend a time series.
eventExtraction
: to extract events from the noise test results of a time series.
measures
: to calculate statistical characteristics of an event.
noiseTests
: to perform noise tests for a time series.
ts2mat
: to reshape a vector into a matrix.
ur.za.fast
: unit root test for events considering a structrual break.
The real world turbulence dataset used in this package is available by loading:
CASES99
: one day of 1-s averages of the thermocouple temperature data from CASES-99 dataset (Poulos et al. (2002)).
Yanfei Kang, Danijel Belusic, Kate Smith-Miles (2014a). Detecting and Classifying Events in Noisy Time Series. J. Atmos. Sci., 71, 1090-1104. http://dx.doi.org/10.1175/JAS-D-13-0182.1.
Yanfei Kang, Danijel Belusic, Kate Smith-Miles (2014b). Classes of structures in the stable at- mospheric boundary layer. Submitted to Quarterly Journal of the Royal Meteorological Society.
Xiaozhe Wang, Kate Smith-Miles and Rob Hyndman (2005). Characteristic-Based Clustering for Time Series Data. Data Mining and Knowledge Discovery. 13(3), 335-364. http://dx.doi.org//10.1007/s10618-005-0039-x.
Gregory S. Poulos, William Blumen, David C. Fritts, Julie K. Lundquist, Jielun Sun, Sean P. Burns, Carmen Nappo, Robert Banta, Rob Newsom, Joan Cuxart, Enric Terradellas, Ben Balsley, and Michael Jensen. CASES-99: A comprehensive investigation of the stable nocturnal boundary layer (2002). Bulletin of the American Meteorological Society, 83(4):555-581.