Skip to main content
. 2022 Jul 7;12(14):1744. doi: 10.3390/ani12141744

Table 4.

Features calculated for each time window (3, 5 and 11 s) based on x-, y- and z-axis accelerometer and gyroscope data. Equations adapted from [3,8,9,17,22,23].

Feature The Number of Features Equations/Description #
Minimum value 6 Minimum value of all window values
Maximum value 6 Maximum value of all window values
Median 6 Median value of all window values
Upper quartile 6 Upper quartile value of all window values
Lower quartile 6 Lower quartile value of all window values
Kurtosis 6 Kurtosis calculated from window values
Skewness 6 Skewness calculated from window values
Range 6 MaxMin
Mean 6 1ni=1nXi
Variance 6 1n1i=1nXiX¯2
Standard deviation 6 1n1i=1nXiX¯2
Root mean square (RMS) 6 1ni=1nXi2
Signal magnitude area (SMA) 2 1ni=1nXi+Yi+Zi
Energy 2 1ni=1nXi2+Yi2+Zi22
Entropy 2 1ni=1n1+Xi+Yi+Zi2ln1+Xi+Yi+Zi2
Dominant frequency 6 After applying Fourier transformation, this is the frequency at which the signal has its highest power
Spectral energy 6 1Nk=1NFk2 ;N=nf2
Spectral entropy 6 1×k=1N(FkZ1Nlog2FkZ1N) ;Z1=1Nk=1NFk
Vectorial dynamic body acceleration (VeDBA) 15 ax2+ay2+az2
Features of VeDBA Minimum value, maximum value, median, upper quartile, lower quartile, kurtosis, skewness, range, mean, variance, standard deviation, RMS, dominant frequency, spectral energy, spectral entropy

# Where n is the total number of all window values; where N is nf2, f is data collection frequency of the device (20 Hz).