[C#] | public ArrayMath lowess2(double[] b [, double smoothness [, int iteration ]]); |
[VB] | Public Function lowess2(b As Double() [, smoothness As Double [, iteration As Integer ]]) As ArrayMath |
ChartDirector 7.1 (.NET Edition)
ArrayMath.
Usage
[C#] | public ArrayMath lowess2(double[] b [, double smoothness [, int iteration ]]); |
[VB] | Public Function lowess2(b As Double() [, smoothness As Double [, iteration As Integer ]]) As ArrayMath |
Description
Arguments
Argument | Default | Description |
---|---|---|
b | (Mandatory) | An array of numbers providing the x coordinates of the data points in the ArrayMath object. |
smoothness | 0.25 | The smoothness factor. It must be between 0 - 1. It is the portion of points used in finding the n nearest points. In other words, n = smoothness * no_of_points. A larger value will result in a smoother the curve. A smaller value will result in the curve tracking the data points better. For LOWESS to have any smoothing effect at all, n must be at least 3. You may need to use a large smoothness factor if you only have a few data points. |
iteration | 0 | The number of additional iteration used in the LOWESS algorithm. Unless your data is extremely noisy, in most case no additional iteration is necessary. |
Return Value