Trying to figure out how this is typically calculated to see if it works for my use case but haven’t found how it works. Perplexity gave me this
Weighted Average Calculation
The weighting process takes into account both the change in value and the time elapsed:
- Each data point within the time window contributes to the average based on its time proximity.
- More recent data points have a higher weight in the calculation compared to older ones.
- This approach helps to smooth out discrete values or filter short-duration noise in the sensor readings[1].
But not sure how the weight is calculated.