Helper class which can be used to compute the linear regression of a sequence of numbers.
Namespace:
RightEdge.IndicatorsAssembly: Indicators (in Indicators.dll)
Version: 2008.1.0.0 (2008.1.0.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class LinearRegressionQueue |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class LinearRegressionQueue |
| Visual C++ |
|---|
[SerializableAttribute] public ref class LinearRegressionQueue |
Remarks
The Slope and Intercept properties can be used to plot a linear regression.
This class also calculates the standard deviation, and several other useful values.