Click or drag to resize
Accord.NET (logo)

EmpiricalDistribution Constructor (Double, Int32)

Creates a new Empirical Distribution from the data samples.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public EmpiricalDistribution(
	double[] samples,
	int[] weights
)
Request Example View Source

Parameters

samples
Type: SystemDouble
The data samples.
weights
Type: SystemInt32
The number of repetition counts for each sample.
See Also