Product Features
...
Analytics
Statistical Functions

Statistical Prediction

3min
the statistical prediction processor enables users to project future values based on historical data this is achieved by applying fast fourier transform (fft) to the time series signal, allowing for accurate analysis and prediction statistical prediction overview to achieve a prediction of value in the future, fast fourier transform (fft) is done on the time series signal this fft is then used to de trend the data, generate sine cosine waveform out of the signal, and then the signal is restored to it's best capacity the frequency difference represents the sampling rate of discretization for example, if the window has 10 elements, 1 second frequency difference will generate 10 frequency samples (maximum) 2 seconds will generate 5 samples, and so on usually 1 is good, because it is a time series signal, so you're sampling at every second harmonics represent the number of waves to "add" to the fundamental wave, to reach the desired signal some signals have a huge number of harmonics, for example square waves have theoretically infinite harmonics for the number of harmonics, it is better to start with a lower number and play around with it to see what best fits your needs, rather than just entering a high number due to limitations of working with live data, it is preferable to have a window of data to "observe" and then give a "prediction" for a future time for now, the poling interval of the subscription tag is assumed to be 1 second expected output until the window is filled up, no output is expected afterwards, the prediction , with the timestamp of prediction will be the output statistical prediction parameters parameters details display prediction on current timestamp this parameter shows predictions at the current timestamp from the payload window size this parameter determines how many values should be observed before making each prediction it is assumed that the polling interval is 1 second number of predictions this parameter specifies how many seconds into the future the prediction should be made again, it is assumed that the polling interval is 1 second frequency difference this parameter represents the frequency sampling distance in seconds it is used to define the frequency resolution of the analysis and prediction number of harmonics this parameter determines the number of waves to "add" to the fundamental wave in order to reach the desired signal it is recommended to start with a lower number and adjust it based on the fit to the actual data, rather than simply entering a high number note when creating an analytics flow with statistical prediction processor, refer the use the statistical tests function docid irjfjetksrfatg5ywhxk guide for more details