simple stats
This app accepts numbers only separated by delimiters semicolon or ";", e.g. 1;2;2;3;3;3;4;4;4;4;5;5 that you can copy and paste to the left textarea below.
Left textarea are for input numbers and right textarea are for output statistics. Click Calc to obtain the statistics.
notes
- Simple stats is the name that supported also in a discussion 1.
- It can calculate following statistic 2.
Statistic Description minSmallest value maxLargest value rangeDifference between maxandminsumTotal sum using Kahan summation (via sumPrecise) for precisionnCount of numbers avgMean (average) medianMiddle value when numbers are sorted modeMost frequent value(s), or “none” if all values are unique varVariance (mean squared deviation) stdStandard deviation skewSkewness (asymmetry of distribution) kurtExcess kurtosis (peakedness compared to normal distribution) - Other delimiters than semicolon, such as end-of-line (newline), space, or comma, are not supported in current version.
- The shortcode
{{< fakebutton "Button" >}}is used to show Button 3. - The
Math.sumPrecise()static method has not been functioned in Chrome as this note is finalized 4. - This note is also shared as a Medium story 5.
refs
GPT-4o, “Simple Stats App Ideas”, ChatGPT, 22 May 2025, url https://chatgpt.com/share/682ef3e3-aac8-800a-a95d-81d9baa1ae72 [20250522]. ↩︎
GPT-4o, “Descriptive Statistics Function”, 23 May 2025, url https://chatgpt.com/share/68307fb0-758c-800a-936c-5e70254c1879 [20250523]. ↩︎
GPT-40, “Hugo Fake Button Shortcode”, ChatGPT, 24 May 2025, url https://chatgpt.com/share/6830dbc6-db30-800a-9431-05fde9b210b6 [20250524]. ↩︎
-, “Math.sumPrecise()”, MDN Web Docs, 7 Mar 2025, url https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sumPrecise [20250524]. ↩︎
Sparisoma Viridi, “simple stats: An VanillaJS app in a Hugo post”, Medium, 24 May 2025, url https://medium.com/p/99f5bc04d2cf [20250524]. ↩︎