From a594a064f0e6cc83b4dd81658fe85cb33b4ea786 Mon Sep 17 00:00:00 2001 From: enzo2 <542271+enzo2@users.noreply.github.com> Date: Sat, 7 Oct 2023 07:51:55 -0400 Subject: [PATCH] Update statistics integration with mean_circular (#28682) Co-authored-by: Thomas Dietrich --- source/_integrations/statistics.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_integrations/statistics.markdown b/source/_integrations/statistics.markdown index a2e548eaa5a..635e6010fd0 100644 --- a/source/_integrations/statistics.markdown +++ b/source/_integrations/statistics.markdown @@ -52,6 +52,7 @@ The following are supported for `sensor` source sensors `state_characteristic`: | `distance_99_percent_of_values` | A statistical indicator derived from the standard deviation of an assumed normal distribution. 99% of all stored values fall into a range of returned size. | `distance_absolute` | The difference or "spread" between the extreme values of measurements. Equals `value_max` minus `value_min`. | `mean` | The average value computed for all measurements. Be aware that this does not take into account uneven time intervals between measurements. +| `mean_circular` | The [circular mean](https://en.wikipedia.org/wiki/Circular_mean) for angular measurements (_e.g._ wind direction). Assumes that measurements are expressed in degrees (_e.g._, 180° or -90°), and outputs the mean in positive degrees (0-360°). | `median` | The [median](https://en.wikipedia.org/wiki/Mode_(statistics)#Comparison_of_mean,_median_and_mode) value computed for all measurements. | `noisiness` | A simplified version of a signal-to-noise ratio. A high value indicates a quickly changing source sensor value, a small value will be seen for a steady source sensor. The absolute change between subsequent source sensor measurement values is summed up and divided by the number of intervals. | `percentile` | [Percentiles](https://en.wikipedia.org/wiki/Percentile) divide the range of a distribution of all considered source sensor measurements into 100 continuous intervals of equal probability. The characteristic calculates the value for which a given percentage of source sensor measurements are smaller in value. The 20th percentile is the value below which 20 percent of the measurements may be found. The additional configuration parameters `percentile` is needed, see below.