| 
            
              EmpiricalDistributionSmoothingRule Method (Double, 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
Syntaxpublic static double SmoothingRule(
	double[] observations,
	double[] weights,
	int[] repeats
)
Public Shared Function SmoothingRule ( 
	observations As Double(),
	weights As Double(),
	repeats As Integer()
) As Double
 Request Example
		View SourceParameters
- observations
 - Type: SystemDouble
The observations for the empirical distribution. - weights
 - Type: SystemDouble
The fractional importance for each sample. Those values must sum up to one. - 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