LinqStatistics 3.0.1

dotnet add package LinqStatistics --version 3.0.1                
NuGet\Install-Package LinqStatistics -Version 3.0.1                
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="LinqStatistics" Version="3.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LinqStatistics --version 3.0.1                
#r "nuget: LinqStatistics, 3.0.1"                
#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 LinqStatistics as a Cake Addin
#addin nuget:?package=LinqStatistics&version=3.0.1

// Install LinqStatistics as a Cake Tool
#tool nuget:?package=LinqStatistics&version=3.0.1                

LinqStatistics

.NET Core NuGet

Linq extensions to calculate basic statistics.

Extension methods to compute basic statistics modeled after Enumerable.Average. Stats include:

  • Covariance
  • Median
  • Mode
  • Pearson's Correlation Coefficient
  • Range
  • Standard Deviation (sample and population)
  • Variance (sample and population)
  • Root Mean Square
  • Least Squares Linear Regression
  • CountEach
  • Histogram

Basic usage looks like:

static void Main(string[] args)
{
    IEnumerable<int> data = new int[] { 1, 2, 5, 6, 6, 8, 9, 9, 9 };

    Console.WriteLine("Count = {0}", data.Count());
    Console.WriteLine("Average = {0}", data.Average());
    Console.WriteLine("Median = {0}", data.Median());
    Console.WriteLine("Mode = {0}", data.Mode());
    Console.WriteLine("Sample Variance = {0}", data.Variance());
    Console.WriteLine("Sample Standard Deviation = {0}", data.StandardDeviation());
    Console.WriteLine("Population Variance = {0}", data.VarianceP());
    Console.WriteLine("Population Standard Deviation = {0}", data.StandardDeviationP());
    Console.WriteLine("Range = {0}", data.Range());
}

Older Versions

The latest version of this library target .NET 8 LTS. If you need to target older versions of .NET, you can find the appropriate version of this library on NuGet. Version 2.3.0 targets .Net Standard 1.1 and .Net Framework 4.x.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.
  • net8.0

    • No dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on LinqStatistics:

Package Downloads
netcore-sci

Package Description

imbNLP.PartOfSpeech

Extension of imbNLP libraries, introducing support for MULTEXT-East morphosyntactic dictionary and pipeline framework for parallel web content decomposition and POS tagging

SqlLinq

A dynamic Sql query library that supports plain text queries in Linq-to-Objects scenarios. Sql syntax is the the majority of ANSI Sql 89 SELECT syntax.

imbNLP.CoreAndData.NuGet1

Natural Language Processing libraries of Veles project, Core and Data namespaces dealing with lexic resources, pipeline decomposition and other NLP stuff

imbWEM.Core

Web Exploration Model: crawlers, crawler reports, web analytic console, web loader, web crawler experiment setup...

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.1 9,437 3/27/2024
2.3.0 490,294 1/17/2020
1.1.0 19,239 8/31/2014

Update to .net core 8