|
EmpiricalDistribution Constructor (Double, 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.8.0
Syntax public EmpiricalDistribution(
double[] samples,
double[] weights,
double smoothing
)
Public Sub New (
samples As Double(),
weights As Double(),
smoothing As Double
)
Request Example
View SourceParameters
- samples
- Type: SystemDouble
The data samples. - weights
- Type: SystemDouble
The fractional weights to use for the samples.
The weights must sum up to one. - smoothing
- Type: SystemDouble
The kernel smoothing or bandwidth to be used in density estimation.
By default, the normal distribution approximation will be used.
See Also