# \[Solved\] Statistical analysis

**URL:** <https://forums.losant.com/t/solved-statistical-analysis/1505>\
**Category:** Help\
**Tags:** alerts\
**Created:** [February 4, 2019, 2:56pm UTC](https://forums.losant.com/t/solved-statistical-analysis/1505 "2019-02-04T14:56:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [February 4, 2019, 2:56pm UTC](https://forums.losant.com/t/solved-statistical-analysis/1505/1 "2019-02-04T14:56:51Z")

</div>

What would be my best path for some alerts based on statistics such as 3sigma, or a live statistical view?

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [February 4, 2019, 3:38pm UTC](https://forums.losant.com/t/solved-statistical-analysis/1505/2 "2019-02-04T15:38:22Z")

</div>

I was thinking a live “bellcurve” shown together with the most recent value, or something like that.  
Vega Lite?

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [February 4, 2019, 4:02pm UTC](https://forums.losant.com/t/solved-statistical-analysis/1505/3 "2019-02-04T16:02:16Z")

</div>

Hi Lars,

I would recommend using a [Data: Gauge Query](https://docs.losant.com/workflows/data/gauge-query/#configuration) node and setting the aggregation to “Standard Deviation”, and then creating an alert based on this value.

Standard Deviation is a new aggregation in the platform, and may help with this, you can also put these values in Losant dashboard blocks.

 ![52%20AM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/1X/365e02c55adf4f9a2cfc627d1f03c23f9033ca8a.png)

Otherwise, Vega Lite would be the best option for creating a bell curve with the data.

Hopefully this helps,  
Julia
