Click or drag to resize

StatisticsMassDistribution Method

Computes a mass distribution (binned weighted counts) for use in kernel density estimation.

Namespace: Altaxo.Calc.Probability
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static void MassDistribution(
	this IReadOnlyList<double> x,
	IReadOnlyList<double> xmass,
	double xlow,
	double xhigh,
	IVector<double> y,
	int ny
)

Parameters

x  IReadOnlyListDouble
The sample values.
xmass  IReadOnlyListDouble
The mass (weight) of each sample value.
xlow  Double
Lower bound of the binning interval.
xhigh  Double
Upper bound of the binning interval.
y  IVectorDouble
The output vector that receives the binned masses.
ny  Int32
The number of bins (length of y).

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadOnlyListDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Adapted from the R project (www.r-project.org), Version 2.72, file massdist.c.
See Also