Click or drag to resize
Accord.NET (logo)

EmpiricalDistribution Constructor (Double, Double)

Creates a new Empirical Distribution from the data samples.

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

Parameters

samples
Type: SystemDouble
The data samples.
weights
Type: SystemDouble
The fractional weights to use for the samples. The weights must sum up to one.
See Also