|
EmpiricalDistributionSmoothingRule Method (Double, Int32)
|
Gets the default estimative of the smoothing parameter.
Namespace:
Accord.Statistics.Distributions.Univariate
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static double SmoothingRule(
double[] observations,
int[] repeats
)
Public Shared Function SmoothingRule (
observations As Double(),
repeats As Integer()
) As Double
Request Example
View SourceParameters
- observations
- Type: SystemDouble
The observations for the empirical distribution. - repeats
- Type: SystemInt32
The number of times each sample should be repeated.
Return Value
Type:
DoubleAn estimative of the smoothing parameter.
Remarks
This method is based on the practical estimation of the bandwidth as
suggested in Wikipedia: http://en.wikipedia.org/wiki/Kernel_density_estimation
See Also