TYoshimura.DoubleDouble.Statistic 1.1.0

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

// Install TYoshimura.DoubleDouble.Statistic as a Cake Tool
#tool nuget:?package=TYoshimura.DoubleDouble.Statistic&version=1.1.0

DoubleDoubleStatistic

Double-Double Statistic Implements

Requirement

.NET 8.0
DoubleDouble
DoubleDoubleComplex

Install

Download DLL
Download Nuget

Implemented Distributions

category distribution PDF CDF quantile statistic note
continuous alpha
arcsine
argus
benktander Quantile take longer to calculate.
beta
beta prime
birnbaum saunders
bradford
burr
cauchy
chi
chi square
cosine
dagum
davis CDF and Quantile take longer to calculate.
delta N/A
exponential
gamma
gumbel
gompertz
fisher z
fisk
folded normal
frechet
half normal Quantile take longer to calculate.
holtsmark
hyperbolic secant
inverse gamma
inverse gauss Quantile take longer to calculate.
inverse chi
inverse chi sq
irwin hall n ≤ 128
johnson sb
johnson su
kumaraswamy
laplace
landau
levy
log logistic
log normal
logistic
lomax
map-airy
maxwell
nakagami
normal
noncentral chi sq Accuracy decreases when non-centricity is large.
noncentral f Accuracy decreases when non-centricity is large.
noncentral t Accuracy decreases when non-centricity is large.
pareto
power
rayleigh
reciprocal
rice CDF and Quantile take longer to calculate.
sas point5
skew normal Quantile take longer to calculate.
snedecor f
student t
triangular
uniform
u quadratic
voigt CDF and Quantile take longer to calculate.
weibull
wigner semicircle

Usage

NormalDistribution dist = new(mu: 1, sigma: 3);

// PDF
for (ddouble x = -4; x <= 4; x += 0.125) {
    ddouble pdf = dist.PDF(x);

    Console.WriteLine($"pdf({x})={pdf}");
}

// CDF
for (ddouble x = -4; x <= 4; x += 0.125) {
    ddouble ccdf = dist.CDF(x, Interval.Upper);

    Console.WriteLine($"ccdf({x})={ccdf}");
}

// Quantile
for (int i = 0; i <= 10; i++) {
    ddouble p = (ddouble)i / 10;
    ddouble x = dist.Quantile(p, Interval.Upper);

    Console.WriteLine($"cquantile({p})={x}");
}

// Statistic
Console.WriteLine($"Support={dist.Support}");
Console.WriteLine($"Mu={dist.Mu}");
Console.WriteLine($"Sigma={dist.Sigma}");
Console.WriteLine($"Mean={dist.Mean}");
Console.WriteLine($"Median={dist.Median}");
Console.WriteLine($"Mode={dist.Mode}");
Console.WriteLine($"Variance={dist.Variance}");
Console.WriteLine($"Skewness={dist.Skewness}");
Console.WriteLine($"Kurtosis={dist.Kurtosis}");
Console.WriteLine($"Entropy={dist.Entropy}");

Typical parameter symbols

category symbol note
support parameter k
a, b uniform
a, b, c triangular
shape parameter alpha
alpha, beta beta, beta prime
gamma, delta johnson sb, su
eta gompertz
nu chi, chisq, student t
n irwin hall
n, m fisher z, snedecor f
c stable distributions
location parameter mu
scale parameter sigma error-related distributions
theta time-related distributions
s, r otherwise

To Be Updated

Not Implemented Distributions

(N/A)

Not Implemented Functions

  • Random Generation
  • Fitting
  • Discrete Distributions
  • Statistic Test

Licence

MIT

Author

T.Yoshimura

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.

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
1.1.0 17 5/3/2024
1.0.9 2 5/3/2024
1.0.8 2 5/3/2024
1.0.7 18 5/1/2024
1.0.6 43 4/30/2024
1.0.5 72 4/29/2024
1.0.4 70 4/27/2024
1.0.3 76 4/26/2024
1.0.2 80 4/25/2024
1.0.1 79 4/24/2024
1.0.0 75 4/24/2024

feat: noncentral mode