LinqStatistics 3.0.1
dotnet add package LinqStatistics --version 3.0.1
NuGet\Install-Package LinqStatistics -Version 3.0.1
<PackageReference Include="LinqStatistics" Version="3.0.1" />
<PackageVersion Include="LinqStatistics" Version="3.0.1" />
<PackageReference Include="LinqStatistics" />
paket add LinqStatistics --version 3.0.1
#r "nuget: LinqStatistics, 3.0.1"
#:package LinqStatistics@3.0.1
#addin nuget:?package=LinqStatistics&version=3.0.1
#tool nuget:?package=LinqStatistics&version=3.0.1
LinqStatistics
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 | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. | 
- 
                                                    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.
Update to .net core 8