https://github.com/dkackman/linqstatistics
Linq extensions to calculate basic statistics
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.3%) to scientific vocabulary
Keywords
Repository
Linq extensions to calculate basic statistics
Basic Info
- Host: GitHub
- Owner: dkackman
- License: apache-2.0
- Language: C#
- Default Branch: master
- Homepage: https://dkackman.github.io/LinqStatistics/
- Size: 30.1 MB
Statistics
- Stars: 103
- Watchers: 17
- Forks: 29
- Open Issues: 0
- Releases: 6
Topics
Metadata Files
README.md
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:
```csharp
static void Main(string[] args)
{
IEnumerable
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());
} ```
Building
This project makes heavy use of T4 templates. You will need Visual Studio and this extension if you want to build from source. VSCode doesn't seem to support T4 templates, nor does dotnet build.
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.
Owner
- Name: Don Kackman
- Login: dkackman
- Kind: user
- Location: St. Paul, MN USA
- Website: https://kackman.net
- Twitter: dkackman
- Repositories: 72
- Profile: https://github.com/dkackman
GitHub Events
Total
- Watch event: 4
Last Year
- Watch event: 4
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Don Kackman | d****n@g****m | 234 |
| Neil Boyd | N****d@g****m | 1 |
| Joan Bellés | j****s@t****m | 1 |
| Alexey Sednev | a****y@s****m | 1 |
| Ace Olszowka | a****a@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 2
- Total pull requests: 26
- Average time to close issues: 12 days
- Average time to close pull requests: about 1 month
- Total issue authors: 2
- Total pull request authors: 7
- Average comments per issue: 8.0
- Average comments per pull request: 0.96
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 15
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- asednev (1)
- dkackman (1)
Pull Request Authors
- dependabot[bot] (15)
- dkackman (7)
- neilboyd (2)
- asednev (1)
- aolszowka (1)
- teqdruid (1)
- nosekefik (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- actions/setup-dotnet v4 composite
- coverlet.collector 6.0.2 development
- MSTest.TestAdapter 3.2.2
- MSTest.TestFramework 3.2.2
- Microsoft.NET.Test.Sdk 17.9.0