DeltaSight.Statistics 2.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package DeltaSight.Statistics --version 2.1.0                
NuGet\Install-Package DeltaSight.Statistics -Version 2.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DeltaSight.Statistics" Version="2.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DeltaSight.Statistics --version 2.1.0                
#r "nuget: DeltaSight.Statistics, 2.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DeltaSight.Statistics as a Cake Addin
#addin nuget:?package=DeltaSight.Statistics&version=2.1.0

// Install DeltaSight.Statistics as a Cake Tool
#tool nuget:?package=DeltaSight.Statistics&version=2.1.0                

DeltaSight

DeltaSight.Statistics

Provides efficient tracking of statistical descriptors of a changing or running value sample. Manipulation of the descriptors efficient because it is done in one pass as much as possible.

Features

  • SimpleStatisticsTracker: A fast one pass tracker with Add and Remove API for
    • Mean
    • Variance
    • PopulationVariance
    • StDeviation
    • PopulationStDeviation
    • Sum
    • Count
  • AdvancedStatisticsTracker: Tracks the following additional descriptors
    • Minimum
    • Maximum
    • GreatestCommonDivisor
    • Probabilities (i.e., the probability densities)
  • JSON serialization and deserialization

How to use

Please see the example project under /examples.

Benchmarks

|                        Method |       Mean |     Error |    StdDev |
|------------------------------ |-----------:|----------:|----------:|
|      SampleStatistics_Compute |  57.002 ns | 0.3728 ns | 0.3113 ns |
|               MathNet_Compute |  76.545 ns | 0.3206 ns | 0.2999 ns |
|              Baseline_Compute |  54.018 ns | 0.0681 ns | 0.0604 ns |
| SampleStatistics_AddFiveTimes |   7.800 ns | 0.0438 ns | 0.0410 ns |
|          MathNet_AddFiveTimes |  37.874 ns | 0.1875 ns | 0.1566 ns |
|         Baseline_AddFiveTimes | 292.260 ns | 1.2068 ns | 1.1288 ns |
|          SampleStatistics_Add |   7.828 ns | 0.0314 ns | 0.0293 ns |
|                   MathNet_Add |   6.741 ns | 0.0576 ns | 0.0450 ns |
|                  Baseline_Add | 102.016 ns | 0.2428 ns | 0.2152 ns |
BenchmarkDotNet=v0.13.1, OS=macOS Monterey 12.2.1 (21D62) [Darwin 21.3.0]
Apple M1, 1 CPU, 8 logical and 8 physical cores
.NET SDK=6.0.100
  [Host]     : .NET 6.0.0 (6.0.21.52210), Arm64 RyuJIT
  DefaultJob : .NET 6.0.0 (6.0.21.52210), Arm64 RyuJIT
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0-beta20220412 182 4/19/2022
3.0.0-beta20220405 158 4/5/2022
3.0.0-beta20220315 146 3/15/2022
3.0.0-beta20220309 143 3/15/2022
3.0.0-beta20220308 147 3/10/2022
2.2.0 441 3/7/2022
2.1.0 419 3/7/2022
2.0.0 397 3/2/2022
1.0.0 422 2/24/2022